test_os_service_disable_enable fails with "ERROR (NotFound): Could not find binary nova-scheduler on host"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
python-novaclient |
Fix Released
|
Medium
|
Matt Riedemann |
Bug Description
Seen here:
2017-06-24 07:44:54.919101 | 2017-06-24 07:44:54.918 | {0} novaclient.
2017-06-24 07:44:54.920189 | 2017-06-24 07:44:54.919 |
2017-06-24 07:44:54.921445 | 2017-06-24 07:44:54.921 | Captured traceback:
2017-06-24 07:44:54.923085 | 2017-06-24 07:44:54.922 | ~~~~~~~~~~~~~~~~~~~
2017-06-24 07:44:54.924463 | 2017-06-24 07:44:54.924 | Traceback (most recent call last):
2017-06-24 07:44:54.925897 | 2017-06-24 07:44:54.925 | File "novaclient/
2017-06-24 07:44:54.927180 | 2017-06-24 07:44:54.926 | service = self.nova(
2017-06-24 07:44:54.928693 | 2017-06-24 07:44:54.928 | File "novaclient/
2017-06-24 07:44:54.930090 | 2017-06-24 07:44:54.929 | endpoint_type, merge_stderr)
2017-06-24 07:44:54.932181 | 2017-06-24 07:44:54.931 | File "/opt/stack/
2017-06-24 07:44:54.933322 | 2017-06-24 07:44:54.933 | 'nova', action, flags, params, fail_ok, merge_stderr)
2017-06-24 07:44:54.934956 | 2017-06-24 07:44:54.934 | File "/opt/stack/
2017-06-24 07:44:54.936084 | 2017-06-24 07:44:54.935 | self.cli_dir, prefix=self.prefix)
2017-06-24 07:44:54.937305 | 2017-06-24 07:44:54.937 | File "/opt/stack/
2017-06-24 07:44:54.938430 | 2017-06-24 07:44:54.938 | result_err)
2017-06-24 07:44:54.939609 | 2017-06-24 07:44:54.939 | tempest.
2017-06-24 07:44:54.941114 | 2017-06-24 07:44:54.940 | stdout:
2017-06-24 07:44:54.943100 | 2017-06-24 07:44:54.942 |
2017-06-24 07:44:54.945711 | 2017-06-24 07:44:54.943 | stderr:
2017-06-24 07:44:54.947034 | 2017-06-24 07:44:54.946 | ERROR (NotFound): Could not find binary nova-scheduler on host ubuntu-
This is due to changes in the compute API making it impossible to disable non-nova-compute services since there is no HostMapping for them, and the API looks up the host via host mapping to find which cell it's in.
I'm actually surprised this isn't 100% failure:
tags: | added: cells doc |
Changed in nova: | |
status: | Confirmed → In Progress |
tags: | added: pike-rc-potential |
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
This is the change in the API causing the issue: https:/ /review. openstack. org/#/c/ 442162/