yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #96361
[Bug 2121856] [NEW] scheduler HostManager._init_instance_info runs in parallell on shared self._instance_info data without a lock
Public bug reported:
https://github.com/openstack/nova/blob/539e9711264ccbf6db60c707db0382da72bac8e4/nova/scheduler/host_manager.py#L413C9-L473
This code can be racy in threading mode as it does not have a lock
around modifying self._instance_info while it runs in parallel with the
rest of the scheduler code.
This was a missed spot during nova-scheduler eventlet removal.
** Affects: nova
Importance: Undecided
Status: New
--
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/2121856
Title:
scheduler HostManager._init_instance_info runs in parallell on shared
self._instance_info data without a lock
Status in OpenStack Compute (nova):
New
Bug description:
https://github.com/openstack/nova/blob/539e9711264ccbf6db60c707db0382da72bac8e4/nova/scheduler/host_manager.py#L413C9-L473
This code can be racy in threading mode as it does not have a lock
around modifying self._instance_info while it runs in parallel with
the rest of the scheduler code.
This was a missed spot during nova-scheduler eventlet removal.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2121856/+subscriptions