Skip to content

System VMs not starting with CentOS 7 hosts #7794

Closed

Description

@harikrishna-patnala
ISSUE TYPE
  • Bug Report
  • Improvement Request
  • Enhancement Request
  • Feature Idea
  • Documentation Report
  • Other
COMPONENT NAME
System VMs, KVM
CLOUDSTACK VERSION
4.18, main
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

Tried creating a new environment with CentOS 7 and Systems VMs failed to start with the below error

2023-07-31 11:15:56,455 INFO [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-55:ctx-2c1e5436 job-2/job-582 ctx-5d943e87) (logid:8d9e353e) Unable to start VM on Host {"id":1,"name":"pr7769-t7215-kvm-centos7-kvm1","type":"Routing","uuid":"d12436b0-8fb1-46ad-85c0-582f786fe180"} due to unsupported configuration: deflate-on-oom is not supported by this QEMU binary

-> rpm -qa |grep qemu
qemu-img-1.5.3-175.el7_9.6.x86_64
qemu-kvm-1.5.3-175.el7_9.6.x86_64
qemu-kvm-common-1.5.3-175.el7_9.6.x86_64
libvirt-daemon-driver-qemu-4.5.0-36.el7_9.5.x86_64

This PR #7663 adds new hot memory ballooning capabilities, may be we need version checks there.

STEPS TO REPRODUCE

EXPECTED RESULTS
System VMs should come up and running
ACTUAL RESULTS
System VMs start attempt failed

Activity

  1. added this to the 4.18.1.0 milestone on Aug 1, 2023
  2. self-assigned this
    on Aug 1, 2023
  3. kiranchavala commented on Aug 1, 2023

    @kiranchavala
    Member

    Observing the same issue, Able to reproduce the issue

    @DaanHoogland @rajujith

  4. DaanHoogland commented on Aug 1, 2023

    @DaanHoogland
    Contributor

    @kiranchavala @harikrishna-patnala , I am investigating the issue. We don't set deflate-on-oom explicitely on the xml defenition. We do set a memballoon attribute autodeflate, so I am trying to see if I can manipulate that in our favour. Will update here.

  5. weizhouapache commented on Aug 2, 2023

    @weizhouapache
    Member

    @kiranchavala @harikrishna-patnala , I am investigating the issue. We don't set deflate-on-oom explicitely on the xml defenition. We do set a memballoon attribute autodeflate, so I am trying to see if I can manipulate that in our favour. Will update here.

    @DaanHoogland
    any update ?

  6. DaanHoogland commented on Aug 2, 2023

    @DaanHoogland
    Contributor

    I have tried removing the autodeflate option but that did not work on centos7. I am investigating further but have little options left, other than reverting #7663. Trying that one now.

  7. weizhouapache commented on Aug 2, 2023

    @weizhouapache
    Member

    I have tried removing the autodeflate option but that did not work on centos7. I am investigating further but have little options left, other than reverting #7663. Trying that one now.

    Thanks @DaanHoogland
    if you need any sugg, please let me know

  8. yadvr commented on Aug 3, 2023

    @yadvr
    Member

    One way to address https://github.com/apache/cloudstack/pull/7663/files is to revert most of the changes, except the one-line that sets the maxRam using vmTO https://github.com/apache/cloudstack/pull/7663/files#r1282627949 anybody who doesn't want to use the vm balloon feature can disable it (alternatively, we can change behaviour to have VM balloon feature disabled by default - not sure who's using dynamic scaling or if it even works by default).
    cc @weizhouapache @DaanHoogland @harikrishna-patnala

  9. DaanHoogland commented on Aug 3, 2023

    @DaanHoogland
    Contributor

    thanks @rohityadavcloud , am trying this now and will check both the "regression" and the original issue.

  10. yadvr commented on Aug 7, 2023

    @yadvr
    Member

    Fixed in #7810 cc @harikrishna-patnala @DaanHoogland pl check and re-open if that's not the case

  11. moved this to Daan's Community/Lead List in ACS Backlogon Aug 7, 2023
  12. DaanHoogland commented on Aug 7, 2023

    @DaanHoogland
    Contributor

    Fixed in #7810 cc @harikrishna-patnala @DaanHoogland pl check and re-open if that's not the case

    has been tested in #7810 and is ok, no worries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions