← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1615883] [NEW] The server_group_members quota cannot work when bulk boot instances

 

Public bug reported:

The server_group_members quota cannot work when bulk boot instances
as the instance_group object was read once from db in:
https://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n1137
and was not updated while doing _provision_instances, when we doing bulk boot
instances, the count here will be incorrect if we don't refresh the instance_group
members.
https://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n975

** Affects: nova
     Importance: Undecided
     Assignee: Zhenyu Zheng (zhengzhenyu)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu)

-- 
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/1615883

Title:
  The server_group_members quota cannot work when bulk boot instances

Status in OpenStack Compute (nova):
  New

Bug description:
  The server_group_members quota cannot work when bulk boot instances
  as the instance_group object was read once from db in:
  https://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n1137
  and was not updated while doing _provision_instances, when we doing bulk boot
  instances, the count here will be incorrect if we don't refresh the instance_group
  members.
  https://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n975

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