*** This bug is a duplicate of bug 1611008 ***
https://bugs.launchpad.net/bugs/1611008
This was fixed with e285eb1a382e6d3ce1cc596eeb5cecb3b165a228.
** This bug has been marked a duplicate of bug 1611008
ServersNegativeTestJSON.test_suspend_server_invalid_state fails with
"NovaException: Unable to find host for Instance"
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1610487
Title:
"Unable to find host for Instance" when suspending
Status in OpenStack Compute (nova):
In Progress
Bug description:
http://logs.openstack.org/09/350309/2/check/gate-tempest-dsvm-full-
ubuntu-
xenial/f975e3b/logs/screen-n-api.txt.gz#_2016-08-05_23_17_52_131
2016-08-05 23:17:52.131 10733 DEBUG nova.api.openstack.wsgi
[req-a0667e59-84a2-4215-a598-855fc2c28d7b
tempest-ServerActionsTestJSON-519557852
tempest-ServerActionsTestJSON-519557852] Action: 'action', calling method:
<bound method SuspendServerController._suspend of
<nova.api.openstack.compute.suspend_server.SuspendServerController object at
0x7face4e01110>>, body: {"suspend": {}} _process_stack
/opt/stack/new/nova/nova/api/openstack/wsgi.py:633
2016-08-05 23:17:52.132 10733 DEBUG nova.compute.api
[req-a0667e59-84a2-4215-a598-855fc2c28d7b
tempest-ServerActionsTestJSON-519557852
tempest-ServerActionsTestJSON-519557852] [instance:
42d7671e-c596-4b90-ad5a-9e3d82824e95] Fetching instance by UUID get
/opt/stack/new/nova/nova/compute/api.py:1957
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions
[req-a0667e59-84a2-4215-a598-855fc2c28d7b
tempest-ServerActionsTestJSON-519557852
tempest-ServerActionsTestJSON-519557852] Unexpected exception in API method
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions Traceback
(most recent call last):
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions File
"/opt/stack/new/nova/nova/api/openstack/extensions.py", line 338, in wrapped
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions return
f(*args, **kwargs)
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions File
"/opt/stack/new/nova/nova/api/openstack/compute/suspend_server.py", line 41, in
_suspend
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions
self.compute_api.suspend(context, server)
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions File
"/opt/stack/new/nova/nova/compute/api.py", line 164, in inner
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions return
function(self, context, instance, *args, **kwargs)
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions File
"/opt/stack/new/nova/nova/compute/api.py", line 171, in _wrapped
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions return
fn(self, context, instance, *args, **kwargs)
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions File
"/opt/stack/new/nova/nova/compute/api.py", line 145, in inner
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions return
f(self, context, instance, *args, **kw)
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions File
"/opt/stack/new/nova/nova/compute/api.py", line 2753, in suspend
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions
self.compute_rpcapi.suspend_instance(context, instance)
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions File
"/opt/stack/new/nova/nova/compute/rpcapi.py", line 953, in suspend_instance
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions
server=_compute_host(None, instance), version=version)
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions File
"/opt/stack/new/nova/nova/compute/rpcapi.py", line 53, in _compute_host
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions
'Instance %s') % instance.uuid)
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions
NovaException: Unable to find host for Instance
42d7671e-c596-4b90-ad5a-9e3d82824e95
2016-08-05 23:17:52.509 10733 ERROR nova.api.openstack.extensions
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1610487/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp