Skip to content

Host memory stats are not updated #6621

@Rubueno

Description

@Rubueno
ISSUE TYPE
  • Improvement Request
COMPONENT NAME
LibvirtComputingResource
CLOUDSTACK VERSION
>= 4.15

I think this issue present in any version, although I've not looked further than 4.15.

CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

Host memory stats are not updated frequently, leading to (possible) overcommit issues when live migrating VMs to a host. A manual restart of cloudstack-agent does update the stats, although this is not a good solution.

STEPS TO REPRODUCE
- Use any KVM hypervisor
- In my case in agent.properties: host.reserved.mem.mb=65536
- Migrate VMs to it until you reach capacity
- It is possible to exceed the host reserved memory
EXPECTED RESULTS
There should always be RAM available of at least what is specified in agent.properties: host.reserved.mem.mb
ACTUAL RESULTS
CloudStack will commit 100% of the host's available RAM to instances

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions