If instance's disk is not avilable when nova-compute service start which would cause the service failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Medium
|
Unassigned |
Bug Description
version : 2015.1
details:
nova-compute.
get_instance_
logs:
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
2015-12-03 17:21:23.508 15646 TRACE nova.openstack.
added:
I have check the error . It is because the ip-162.
please check the bugs. tks
tags: | added: libvirt |
summary: |
- when nova-compute.service start .If the instance's disk is not - avilable.It will cause the service failed.That is not reasonable + If instance's disk is not avilable when nova-compute service start which + would cause the service failed |
Despite this mangled traceback, I was able to re-create this with devstack on a public cloud instance. I followed these steps:
- boot an instance data/nova/ instances/ ...
- stop the instance (nova stop)
- remove the instance's root disk from /opt/stack/
- start the instance (nova start)
This is what I get:
2015-12-07 21:59:20.622 ERROR oslo_messaging. rpc.dispatcher [req-cadd058d- 3ac7-424e- 9e97-8386c8afc0 79 admin demo] Exception during message handling: [Errno 2] No such file or directory: '/opt/stack/ data/nova/ instances/ f9a712f1- bd23-426c- 846d-3d4cda57e3 42/disk' rpc.dispatcher Traceback (most recent call last): rpc.dispatcher File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ rpc/dispatcher. py", line 142, in _dispatch_and_reply rpc.dispatcher executor_callback)) rpc.dispatcher File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ rpc/dispatcher. py", line 186, in _dispatch rpc.dispatcher executor_callback) rpc.dispatcher File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ rpc/dispatcher. py", line 129, in _do_dispatch rpc.dispatcher result = func(ctxt, **new_args) rpc.dispatcher File "/opt/stack/ nova/nova/ exception. py", line 105, in wrapped rpc.dispatcher payload) rpc.dispatcher File "/usr/local/ lib/python2. 7/dist- packages/ oslo_utils/ excutils. py", line 204, in __exit__ rpc.dispatcher six.reraise( self.type_ , self.value, self.tb) rpc.dispatcher File "/opt/stack/ nova/nova/ exception. py", line 88, in wrapped rpc.dispatcher return f(self, context, *args, **kw) rpc.dispatcher File "/opt/stack/ nova/nova/ compute/ manager. py", line 349, in decorated_function rpc.dispatcher LOG.warning(msg, e, instance=instance) rpc.dispatcher File "/usr/local/ lib/python2. 7/dist- packages/ oslo_utils/ excutils. py", line 204, in __exit__ rpc.dispatcher six.reraise( self.type_ , self.value, self.tb) rpc.dispatcher File "/opt/stack/ nova/nova/ compute/ manager. py", line 322, in decorated_function rpc.dispatcher return function(self, context, *args, **kwargs) rpc.dispatcher File "/opt/stack/ nova/nova/ compute/ manager. py", line 399, in decorated_function rpc.dispatcher return function(self, context, *args, **kwargs) rpc.dispatcher ...
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.
2015-12-07 21:59:20.622 TRACE oslo_messaging.