commit ce3f9e5fa9cd05f3ee3bb0cc7d06521d05901cf4
Author: Hans Lindgren <email address hidden>
Date: Sat May 17 13:42:40 2014 +0200
Remove traces of now unused host capabilities from scheduler
Host capabilities updates are no longer used by the scheduler. All host
state is instead fetched from the DB. Some left over fields are still kept
by the host manager but contain no data. This change remove the last
traces of host capabilities from the scheduler.
The baremetal host manager used to rely on capabilities info to
decide which host state class to use, VM or baremetal. This has been
broken since host capabilities were removed (bug 1260265). The logic to
decide on host state class to use is updated to use DB data instead and
a test is added to verify the same.
Reviewed: https:/ /review. openstack. org/94043 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ce3f9e5fa9c d05f3ee3bb0cc7d 06521d05901cf4
Committed: https:/
Submitter: Jenkins
Branch: master
commit ce3f9e5fa9cd05f 3ee3bb0cc7d0652 1d05901cf4
Author: Hans Lindgren <email address hidden>
Date: Sat May 17 13:42:40 2014 +0200
Remove traces of now unused host capabilities from scheduler
Host capabilities updates are no longer used by the scheduler. All host
state is instead fetched from the DB. Some left over fields are still kept
by the host manager but contain no data. This change remove the last
traces of host capabilities from the scheduler.
The baremetal host manager used to rely on capabilities info to
decide which host state class to use, VM or baremetal. This has been
broken since host capabilities were removed (bug 1260265). The logic to
decide on host state class to use is updated to use DB data instead and
a test is added to verify the same.
Change-Id: I350109492c2add f5fdfaadee7cec4 784f244e102
Closes-Bug: #1260265