Public bug reported:
Recently,the compute node resources are updated by the periodical task
‘update_available_resource’ in
https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L7067,
but there are two places that will update the resource, in
https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L517,
the task will update the ‘memory_mb_used’,‘vcpus_used’ ,‘local_gb_used’ to the
actual used memory,vcpu and local disk. So if users refesh the used resources
rapidly and will find the memory will change periodically.
So I think it shouldn't update the ‘memory_mb_used’,‘vcpus_used’
,‘local_gb_used’ here.
** Affects: nova
Importance: Undecided
Assignee: Tao Li (eric-litao)
Status: New
** Changed in: nova
Assignee: (unassigned) => Tao Li (eric-litao)
--
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/1733034
Title:
Memory_mb_used will be changed to another value periodically
Status in OpenStack Compute (nova):
New
Bug description:
Recently,the compute node resources are updated by the periodical task
‘update_available_resource’ in
https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L7067,
but there are two places that will update the resource, in
https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L517,
the task will update the ‘memory_mb_used’,‘vcpus_used’ ,‘local_gb_used’ to the
actual used memory,vcpu and local disk. So if users refesh the used resources
rapidly and will find the memory will change periodically.
So I think it shouldn't update the ‘memory_mb_used’,‘vcpus_used’
,‘local_gb_used’ here.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1733034/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp