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

Unable to get number of block I/O throttle parameters using virsh blkdeviotune

    • libvirt-10.0.0-3.el9
    • Yes
    • Important
    • Regression
    • rhel-sst-virtualization
    • ssg_virtualization
    • 26
    • None
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • All
    • None

      Version-Release number of selected component (if applicable):
      libvirt libvirt-10.0.0-1.el9.x86_64
      qemu-kvm qemu-kvm-8.2.0-3.el9.x86_64
      kernel kernel-5.14.0-410.el9.x86_64
       
      How reproducible:
      100%
       
      Steps to Reproduce:
      1. prepare a guest 
      (.libvirt-ci-venv-ci-runtest-IUivsI) [root@xx libvirt-ci-latest-venv]# virsh dumpxml avocado-vt-vm1 --xpath //disk
      <disk type="file" device="disk">
        <driver name="qemu" type="qcow2"/>
        <source file="/var/lib/avocado/data/avocado-vt/images/jeos-27-x86_64.qcow2"/>
        <target dev="vda" bus="virtio"/>
        <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
      </disk>
       
       
      2. start this guest
      (.libvirt-ci-venv-ci-runtest-IUivsI) [root@xx libvirt-ci-latest-venv]# virsh start avocado-vt-vm1
      Domain 'avocado-vt-vm1' started
       
      (.libvirt-ci-venv-ci-runtest-IUivsI) [root@xx libvirt-ci-latest-venv]# virsh list
       Id   Name             State
      --------------------------------
       1    avocado-vt-vm1   running
       
       
      3. Configure guest disk iotune values :
       
      (.libvirt-ci-venv-ci-runtest-IUivsI) [root@xx libvirt-ci-latest-venv]# !90
      virsh blkdeviotune avocado-vt-vm1 --device vda --total-iops-sec 6000 --total-iops-sec-max 11000 --total-bytes-sec 5000 --total-bytes-sec-max 10000 --group-name libvirt_iotune_group1
       
      (.libvirt-ci-venv-ci-runtest-IUivsI) [root@xx libvirt-ci-latest-venv]# virsh dumpxml avocado-vt-vm1 --xpath //disk
      <disk type="file" device="disk">
        <driver name="qemu" type="qcow2"/>
        <source file="/var/lib/avocado/data/avocado-vt/images/jeos-27-x86_64.qcow2" index="1"/>
        <backingStore/>
        <target dev="vda" bus="virtio"/>
        <iotune>
          <total_bytes_sec>5000</total_bytes_sec>
          <total_iops_sec>6000</total_iops_sec>
          <total_bytes_sec_max>10000</total_bytes_sec_max>
          <total_iops_sec_max>11000</total_iops_sec_max>
          <group_name>libvirt_iotune_group1</group_name>
        </iotune>
        <alias name="virtio-disk0"/>
        <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
      </disk>
       
      4. Get guest disk iotune values: 
      (.libvirt-ci-venv-ci-runtest-IUivsI) [root@dell-per730-67 libvirt-ci-latest-venv]# virsh blkdeviotune avocado-vt-vm1 --device vda
      error: Unable to get number of block I/O throttle parameters
      error: An error occurred, but the cause is unknown
       
       
       
       
      Expected result:
      iotune values can be queried from virsh blkdeviotune
       
      Actual result:
       
      Unable to get number of block I/O throttle parameters
       

              mprivozn@redhat.com Michal Privoznik
              rhn-support-chwen Chunfu Wen
              Michal Privoznik Michal Privoznik
              Fangge Jin Fangge Jin
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: