yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34237
[Bug 1416984] Re: Property used is confused in usage code
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1416984
Title:
Property used is confused in usage code
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
In the code https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/nova.py#L152-L158
'vcpus': getattr(self, "total_vcpus_usage", 0), vcpus is to describe vcpu num, however total_vcpus_usage is the total
hours of vcpus used.
In the code https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/nova.py#L164-L171
we can sure 'vcpus' is to describe vcpu num, vcpu_hours describe vcpu used hours.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1416984/+subscriptions
References