nova migrate returns an error when attempting to migrate an instance with admin api enabled.
Traceback (most recent call last):
File "/usr/local/bin/nova", line 8, in <module>
load_entry_point('python-novaclient==2.6.7', 'console_scripts', 'nova')()
File "/Library/Python/2.7/site-packages/python_novaclient-2.6.7-py2.7.egg/novaclient/shell.py", line 238, in main
OpenStackComputeShell().main(sys.argv[1:])
File "/Library/Python/2.7/site-packages/python_novaclient-2.6.7-py2.7.egg/novaclient/shell.py", line 201, in main
args.func(self.cs, args)
File "/Library/Python/2.7/site-packages/python_novaclient-2.6.7-py2.7.egg/novaclient/v1_1/shell.py", line 546, in do_migrate
_find_server(cs, args.server).migrate()
File "/Library/Python/2.7/site-packages/python_novaclient-2.6.7-py2.7.egg/novaclient/v1_1/servers.py", line 122, in migrate
self.manager.migrate(self)
File "/Library/Python/2.7/site-packages/python_novaclient-2.6.7-py2.7.egg/novaclient/v1_1/servers.py", line 447, in migrate
self.api.client.post('/servers/%s/migrate' % base.getid(server))
File "/Library/Python/2.7/site-packages/python_novaclient-2.6.7-py2.7.egg/novaclient/client.py", line 137, in post
return self._cs_request(url, 'POST', **kwargs)
File "/Library/Python/2.7/site-packages/python_novaclient-2.6.7-py2.7.egg/novaclient/client.py", line 121, in _cs_request
**kwargs)
File "/Library/Python/2.7/site-packages/python_novaclient-2.6.7-py2.7.egg/novaclient/client.py", line 104, in request
raise exceptions.from_response(resp, body)
novaclient.exceptions.NotFound: n/a (HTTP 404)
Looks like this was fixed here: https:/ /github. com/openstack/ python- novaclient/ commit/ 4b9621cfae4da48 5d9f7be0b6b5ff6 1890461289