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

[machines] The "Current allocation" could not be changed when the VM is running

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Undefined Undefined
    • None
    • rhel-8.9.0
    • cockpit-appstream
    • None
    • Moderate
    • rhel-sst-cockpit
    • ssg_front_door
    • None
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      If creating VM with "GiB", then setting "Current allocation" memory for a running VM will not take effect.

      Version-Release number of selected components (if applicable):
      cockpit-297-1.el8.ppc64le
      cockpit-machines-297-1.el8.noarch
      libvirt-dbus-1.3.0-2.module+el8.9.0+18724+20190c23.ppc64le

      How reproducible:
      100%

      Steps to Reproduce:
      1 Create a running VM with 2 GiB and Fedora 38, then enter the VM detail page
      2 Click "edit" of "Memory", then change the "Current allocation" to 2038 MiB, then click "Save" on the dialog
      3 Re-click "edit" to check the "Current allocation"
      4 Check in the backend by "virsh dumpxml ${vm}"

      Actual results:
      1 After step 3, the "Current allocation" is still 2048
      2 After step 4, the "memory" in the VM XML is also 2097152

      Expected results:
      1 After step 3, the "Current allocation" should be 2038
      2 After step 4, the "memory" in the VM XML should be 2086912

      Additional info:

              skobyda Simon Kobyda (Inactive)
              rhn-support-yunyang Yunming Yang
              Simon Kobyda Simon Kobyda (Inactive)
              Yunming Yang Yunming Yang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: