Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

unable to launch instance, CalledProcessError

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"]

unable to launch instance, CalledProcessError

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/api.py", line 956, in _build_network_info_model
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]     output_c = subp.check_output(cmd, shell = True)
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]   File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b]     raise CalledProcessError(retcode, cmd, output=output)
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b] CalledProcessError: Command '/opt/dfa/files/client_sample up vm_instance fa:16:3e:a0:de:0b 0.0.0.0 42901 anycast-gateway CA:FE:CA:FE:CA:FE cb49da6a9fcf4c5cb72aa2005e91f81b a8c7d874-840d-4277-a9d9-bc581626f4e3' returned non-zero exit status 1
2014-07-06 06:46:45.312 2055 TRACE nova.compute.manager [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b] 
2014-07-06 06:46:46.397 2055 ERROR nova.virt.libvirt.driver [-] [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b] During wait destroy, instance disappeared.
2014-07-06 06:46:46.835 WARNING nova.virt.libvirt.utils [req-d128dfde-ff44-40f6-9860-2b90421485cd 01847e39d7364f91b9edb7a9dc150bf2 dbd5091fc36144709f0d54d160af8a68] systool is not installed
2014-07-06 06:46:46.884 WARNING nova.virt.libvirt.utils [req-d128dfde-ff44-40f6-9860-2b90421485cd 01847e39d7364f91b9edb7a9dc150bf2 dbd5091fc36144709f0d54d160af8a68] systool is not installed
2014-07-06 06:46:47.222 ERROR nova.compute.manager [req-d128dfde-ff44-40f6-9860-2b90421485cd 01847e39d7364f91b9edb7a9dc150bf2 dbd5091fc36144709f0d54d160af8a68] [instance: cb49da6a-9fcf-4c5c-b72a-a2005e91f81b] Error: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 847, in _run_instance\n    requested_networks, macs, security_groups)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1091, in _allocate_network\n    instance=instance)\n', '  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1087, in _allocate_network\n    security_groups=security_groups)\n', '  File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 47, in wrapper\n    res = f(self, context, *args, **kwargs)\n', '  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', '  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', '  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', '  File "/usr/lib/python2.7/subprocess.py", line 544, in check_output\n    raise CalledProcessError(retcode, cmd, output=output)\n', "CalledProcessError: Command '/opt/dfa/files/client_sample up vm_instance fa:16:3e:a0:de:0b 0.0.0.0 42901 anycast-gateway CA:FE:CA:FE:CA:FE cb49da6a9fcf4c5cb72aa2005e91f81b a8c7d874-840d-4277-a9d9-bc581626f4e3' returned non-zero exit status 1\n"]