Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-25993

Optional argument key of virt-admin daemon-timeout does not work as expected

    • libvirt-10.3.0-1.el9
    • None
    • None
    • rhel-sst-virtualization
    • ssg_virtualization
    • 15
    • 2
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • 10.3.0
    • None

      Version-Release number of selected component (if applicable):
      libvirt-10.0.0-3.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. check the detailed information of daemon-timeout

      # virt-admin -c virtqemud:///system daemon-timeout --help
      ....
        OPTIONS
          [--timeout] <number>  number of seconds the daemon will run without any active connection
      

      2. Try to set the daemon timeout using virt-admin

      # virt-admin -c virtqemud:///system daemon-timeout 2
      error: unexpected data '2'
      

      3. Try to use deamon-timeout with --server

      # virt-admin -c virtqemud:///system daemon-timeout --timeout 2
      
      # echo $?
      0
      

      Expected result:
      daemon-timeout can work without argument key

              pkrempa@redhat.com Peter Krempa
              rhn-support-lizhu Lili Zhu
              Peter Krempa Peter Krempa
              Lili Zhu Lili Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: