unable to launch instance, CalledProcessError [closed]

asked 2014-07-06 01:29:06 -0500

django gravatar image

updated 2014-07-06 01:53:01 -0500

instance launch ends in error state.

nova-scheduler throws the following message.

2014-07-06 06:20:20.184 ERROR nova.scheduler.filter_scheduler [req-a65a63b8-7c89-4144-bbbf-ced79caaefec 01847e39d7364f91b9edb7a9dc150bf2 dbd5091fc36144709f0d54d160af8a68] [instance: 68a05645-16dc-48a3-aa0e-6e1434a19e58] Error from last host: os-compute-node1 (node os-compute-node1.cisco.com): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 847, in _run_instance\n    requested_networks, macs, security_groups)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1091, in _allocate_network\n    instance=instance)\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1087, in _allocate_network\n    security_groups=security_groups)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 47, in wrapper\n    res = f(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 317, in allocate_for_instance\n    nw_info = self._get_instance_nw_info(context, instance, networks=nets)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 422, in _get_instance_nw_info\n    nw_info = self._build_network_info_model(context, instance, networks)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 956, in _build_network_info_model\n    output_c = subp.check_output(cmd, shell = True)\n', u'  File "/usr/lib/python2.7/subprocess.py", line 544, in check_output\n    raise CalledProcessError(retcode, cmd, output=output)\n', u"CalledProcessError: Command '/opt/dfa/files/client_sample up vm_instance fa:16:3e:4a:f7:ab 0.0.0.0 42901 anycast-gateway CA:FE:CA:FE:CA:FE 68a0564516dc48a3aa0e6e1434a19e58 cf38696a-2bfd-445b-921e-cc614e1ffd46' returned non-zero exit status 1\n"]

nova-compute.log

2014-07-06 06:46:45.312 ERROR nova.compute.manager [req-d128dfde-ff44-40f6-9860-2b90421485cd 01847e39d7364f91b9edb7a9dc150bf2 dbd5091fc36144709f0d54d160af8a68] [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b] Instance failed network setup
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b] Traceback (most recent call last):
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1087, in _allocate_network
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]     security_groups=security_groups)
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 47, in wrapper
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]     res = f(self, context, *args, **kwargs)
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 317, in allocate_for_instance
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]     nw_info = self._get_instance_nw_info(context, instance, networks=nets)
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 422, in _get_instance_nw_info
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]     nw_info = self._build_network_info_model(context, instance, networks)
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-06-21 14:09:04.277786

Comments

The client_sample binary that fails (exit status different from zero) is presumably related to puppet-dfa. Can you find the output of this command ?

dachary gravatar imagedachary ( 2014-07-06 03:28:10 -0500 )edit

@dachary, you mean the output of puppet-dfa ?

django gravatar imagedjango ( 2014-07-06 11:55:26 -0500 )edit

The version of OpenStack that this is opened against has been declared EOL as per http://releases.openstack.org/ Please open a new issue if you are still seeing this problem with a more recent, supported version of OpenStack. Thanks.

rbowen gravatar imagerbowen ( 2016-06-21 14:08:59 -0500 )edit