** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => juno-1
--
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/1292339
Title:
instance not found trace log can be ignored while get-console-output
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
during we cold-migrating or resizing an instance to another host(or during
deleting it), the get_console_output
method may raise an InstanceNotFound excetpion if the instance is not on the
hypervisor, this is an expected error,
so we should add the InstanceNotFound excetpion to expected exceptions list
in the compute manager.
2014-03-14 11:59:58.884 AUDIT nova.compute.manager
[req-6414594a-7fcd-427e-9ed6-1d78f12d40e0 demo demo] [instance:
c68b2e95-8299-415a-a837-ff9f7303e6db] Get console output
2014-03-14 11:59:58.901 ERROR oslo.messaging._executors.base [-] Exception
during message handling
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base Traceback (most
recent call last):
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/oslo.messaging/oslo/messaging/_executors/base.py", line 36, in
_dispatch
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base
incoming.reply(self.callback(incoming.ctxt, incoming.message))
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 134, in
__call__
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base return
self._dispatch(endpoint, method, ctxt, args)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 104, in
_dispatch
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base result =
getattr(endpoint, method)(ctxt, **new_args)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/oslo.messaging/oslo/messaging/rpc/server.py", line 153, in inner
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base return
func(*args, **kwargs)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/nova/nova/exception.py", line 88, in wrapped
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base payload)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base
six.reraise(self.type_, self.value, self.tb)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/nova/nova/exception.py", line 71, in wrapped
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base return
f(self, context, *args, **kw)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/nova/nova/compute/manager.py", line 293, in decorated_function
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base return
function(self, context, *args, **kwargs)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/nova/nova/compute/manager.py", line 3932, in get_console_output
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base output =
self.driver.get_console_output(context, instance)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/nova/nova/virt/libvirt/driver.py", line 2268, in get_console_output
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base virt_dom =
self._lookup_by_name(instance.name)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base File
"/opt/stack/nova/nova/virt/libvirt/driver.py", line 3437, in _lookup_by_name
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base raise
exception.InstanceNotFound(instance_id=instance_name)
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base
InstanceNotFound: Instance instance-0000000c could not be found.
2014-03-14 11:59:58.901 TRACE oslo.messaging._executors.base
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1292339/+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