commit 20a22adc3cb97b6da5c9e1e72171688af3a75e50
Author: Hans Lindgren <email address hidden>
Date: Mon Mar 30 13:53:17 2015 +0200
Don't query compute_node through service object in nova-manage
The relationship between compute_node and service tables was
removed in a recent commit and to be able to remove compat code in
the objects, calls to get them should be done directly instead of
going through one or the other.
Since we are really just interested in the compute_node object here
this in addition saves us one extra db call.
Reviewed: https:/ /review. openstack. org/168907 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=20a22adc3cb 97b6da5c9e1e721 71688af3a75e50
Committed: https:/
Submitter: Jenkins
Branch: master
commit 20a22adc3cb97b6 da5c9e1e7217168 8af3a75e50
Author: Hans Lindgren <email address hidden>
Date: Mon Mar 30 13:53:17 2015 +0200
Don't query compute_node through service object in nova-manage
The relationship between compute_node and service tables was
removed in a recent commit and to be able to remove compat code in
the objects, calls to get them should be done directly instead of
going through one or the other.
Since we are really just interested in the compute_node object here
this in addition saves us one extra db call.
Change-Id: I5270882321f7d1 6f993746498f751 f17b0cb52fd
Related-Bug: #1438189