← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1840139] [NEW] Libvirt: Wrong usage for mem_stats_period_seconds

 

Public bug reported:

>From the code, function _guest_add_memory_balloon in [1], if mem_stats_period_seconds set to 0 or negative value, the memory balloon device will disabled.
Is mem_stats_period_seconds can control the virtual memory balloon device added? Isn't it only control memory usage statistics?

But when I test with mem_stats_period_seconds=0, the virtual memory
balloon device will be added.

[1]
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py

** Affects: nova
     Importance: Undecided
     Assignee: Dongcan Ye (hellochosen)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Dongcan Ye (hellochosen)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1840139

Title:
  Libvirt: Wrong usage for mem_stats_period_seconds

Status in OpenStack Compute (nova):
  New

Bug description:
  From the code, function _guest_add_memory_balloon in [1], if mem_stats_period_seconds set to 0 or negative value, the memory balloon device will disabled.
  Is mem_stats_period_seconds can control the virtual memory balloon device added? Isn't it only control memory usage statistics?

  But when I test with mem_stats_period_seconds=0, the virtual memory
  balloon device will be added.

  [1]
  https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1840139/+subscriptions


Follow ups