yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42630
[Bug 1514863] Re: Scheduler driver should use Service object
** Changed in: nova
Status: Fix Committed => Fix Released
--
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):
Fix Released
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
References