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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

