nova migrate not working

Bug #911490 reported by Antony Messerli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Low
François Charlier

Bug Description

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)

Revision history for this message
Brian Waldon (bcwaldon) wrote :
Changed in nova:
status: New → Fix Committed
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-3
status: Fix Committed → Fix Released
Mark McLoughlin (markmc)
Changed in nova:
assignee: nobody → François Charlier (francois-charlier)
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-3 → 2012.1
Thierry Carrez (ttx)
affects: nova → python-novaclient
Changed in python-novaclient:
milestone: 2012.1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.