Unable to create a instance in the compute node [closed]

asked 2014-09-23 06:40:18 -0600

spradeepv gravatar image

I am unable to create a instance in the compute node. I use the following property of Nova:Server in heat template to create instance in a particular compute zone.

availablity_zone: nova:hostName

I get the following error message :

too many values to unpack Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply incoming.message)) File "/usr/local/lib/python2.7/dist-packages/oslo/me 
File "/opt/stack/nova/nova/compute/manager.py", line 290, in decorated_function return function(self, context, *args, **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line 2102, in run_instance do_run_instance() File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 249, in inner return f(*args, **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line 2101, in do_run_instance legacy_bdm_in_spec) File "/opt/stack/nova/nova/compute/manager.py", line 1225, in _run_instance notify("error", fault=e) # notify that build failed File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/opt/stack/nova/nova/compute/manager.py", line 1209, in _run_instance instance, image_meta, legacy_bdm_in_spec) File "/opt/stack/nova/nova/compute/manager.py", line 1329, in _build_instance set_access_ip=set_access_ip) File "/opt/stack/nova/nova/compute/manager.py", line 393, in decorated_function return function(self, context, *args, **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line 1741, in _spawn LOG.exception(_('Instance failed to spawn'), instance=instance) File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/opt/stack/nova/nova/compute/manager.py", line 1738, in _spawn block_device_info) File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2279, in spawn admin_pass=admin_password) File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2710, in _create_image content=files, extra_md=extra_md, network_info=network_info) File "/opt/stack/nova/nova/api/metadata/base.py", line 167, in __init__ ec2utils.get_ip_info_for_instance_from_nw_info(network_info) File "/opt/stack/nova/nova/api/ec2/ec2utils.py", line 147, in get_ip_info_for_instance_from_nw_info fixed_ips = nw_info.fixed_ips() File "/opt/stack/nova/nova/network/model.py", line 407, in _sync_wrapper self.wait() File "/opt/stack/nova/nova/network/model.py", line 439, in wait self[:] = self._gt.wait() File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait return self._exit_event.wait() File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 124, in wait current.throw(*self._exc) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 207, in main result = function(*args, **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line 1528, in _allocate_network_async dhcp_options=dhcp_options) File "/opt/stack/nova/nova/network/api.py", line 95, in wrapped return func(self, context, *args, **kwargs) File "/opt/stack/nova/nova/network/api.py", line 49, in wrapper res = f(self, context, *args, **kwargs) File "/opt/stack/nova/nova/network/api.py", line 323, in allocate_for_instance nw_info = self.network_rpcapi.allocate_for_instance(context, **args) File "/opt ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by larsks
close date 2014-09-23 08:16:22.295496