yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40968
[Bug 1514863] [NEW] Scheduler driver should use Service object
Public bug reported:
There is still one place where the Scheduler does direct DB access
instead of using the oslo.versionedobjects layer
https://github.com/openstack/nova/blob/af2d6c9576b1ac5f3b3768870bb15d9b5cf1610b/nova/scheduler/driver.py#L54
Instead of calling db.service_get_all_by_topic(), it should call
objects.ServiceList.get_by_topic()
** Affects: nova
Importance: Low
Status: Triaged
** Tags: low-hanging-fruit scheduler unified-objects
--
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/1514863
Title:
Scheduler driver should use Service object
Status in OpenStack Compute (nova):
Triaged
Bug description:
There is still one place where the Scheduler does direct DB access
instead of using the oslo.versionedobjects layer
https://github.com/openstack/nova/blob/af2d6c9576b1ac5f3b3768870bb15d9b5cf1610b/nova/scheduler/driver.py#L54
Instead of calling db.service_get_all_by_topic(), it should call
objects.ServiceList.get_by_topic()
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1514863/+subscriptions
Follow ups