Old Juno ResourceTracker is calling the conductor instead of calling the
Service object, so it can't benefit from the backwards compatibility.
As conductor_api.service_get_by_compute_node is only called by old Juno
computes (thru a RT method), we can safely backport the compute_node field
into what the DB method provides so it doesn't break old RTs.
Reviewed: https:/ /review. openstack. org/163797 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cb797746683 3df01c6ed7e8405 bb1f7b6b5ea523
Committed: https:/
Submitter: Jenkins
Branch: master
commit cb7977466833df0 1c6ed7e8405bb1f 7b6b5ea523
Author: Sylvain Bauza <email address hidden>
Date: Thu Mar 12 12:15:45 2015 +0100
Fix Juno nodes checking service. compute_ node
Old Juno ResourceTracker is calling the conductor instead of calling the api.service_ get_by_ compute_ node is only called by old Juno
Service object, so it can't benefit from the backwards compatibility.
As conductor_
computes (thru a RT method), we can safely backport the compute_node field
into what the DB method provides so it doesn't break old RTs.
Related-Bug: #1431201
Change-Id: I9afd3c65a088d2 18cb9c452b18881 e94e888950b