[Openstack-operators] Launched instances are in error state
Vivek Singh Raghuwanshi
vivekraghuwanshi at gmail.com
Wed Oct 10 10:15:39 UTC 2012
Just for reference Horizon
Task # Scheduling > Networking > Spawning (freeze) > None
Let me know in case you need any commandoutput or logs or conf file
On Wed, Oct 10, 2012 at 3:36 PM, Vivek Singh Raghuwanshi <
vivekraghuwanshi at gmail.com> wrote:
> Hi All,
>
> I am running my openstack cloud on Folsom release.
> when i am launching an instance it goes to Error state and there is an
> error log in compute ,horizon also showing ip from dhcp range
>
> 2012-10-10 15:29:27 INFO nova.compute.resource_tracker [-] Compute_service
> record updated for us000901
> 2012-10-10 15:29:28 ERROR nova.compute.manager
> [req-cc6da06b-7bb5-426a-ad5b-5b5bd118bb52 b2b1a863065a42528cfb91e15406faec
> 15f57d196ef74b5a90b26f80f8d6aa96] [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] Instance failed to spawn
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] Traceback (most recent call last):
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 743, in
> _spawn
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] block_device_info)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] temp_level, payload)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] self.gen.next()
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] return f(*args, **kw)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1060,
> in spawn
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] admin_pass=admin_password)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1314,
> in _create_image
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] project_id=instance['project_id'])
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
> 126, in cache
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] *args, **kwargs)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
> 173, in create_image
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] prepare_template(target=base,
> *args, **kwargs)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/utils.py", line 744, in inner
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] retval = f(*args, **kwargs)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
> 117, in call_if_not_exists
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] fetch_func(target=target, *args,
> **kwargs)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 396, in
> fetch_image
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] images.fetch_to_raw(context,
> image_id, target, user_id, project_id)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 77, in
> fetch_to_raw
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] fetch(context, image_href,
> path_tmp, user_id, project_id)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 72, in fetch
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] image_service.download(context,
> image_id, image_file)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 222, in
> download
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a]
> _reraise_translated_image_exception(image_id)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 220, in
> download
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] image_chunks =
> self._client.call(context, 1, 'data', image_id)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 138, in call
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] return getattr(client.images,
> method)(*args, **kwargs)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 108, in
> data
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] resp, body =
> self.api.raw_request('GET', '/v1/images/%s' % image_id)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 204,
> in raw_request
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] return self._http_request(url,
> method, **kwargs)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] File
> "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 171,
> in _http_request
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] raise exc.from_response(resp)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] HTTPInternalServerError:
> HTTPInternalServerError (HTTP 500)
> 2012-10-10 15:29:28 TRACE nova.compute.manager [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a]
> 2012-10-10 15:29:28 INFO nova.compute.resource_tracker
> [req-cc6da06b-7bb5-426a-ad5b-5b5bd118bb52 b2b1a863065a42528cfb91e15406faec
> 15f57d196ef74b5a90b26f80f8d6aa96] Aborting claim: [Claim
> d699d481-fc53-440c-a8c1-c9e85673a32a: 1024 MB memory, 9 GB disk, 1 VCPUS]
> 2012-10-10 15:29:29 ERROR nova.compute.manager
> [req-cc6da06b-7bb5-426a-ad5b-5b5bd118bb52 b2b1a863065a42528cfb91e15406faec
> 15f57d196ef74b5a90b26f80f8d6aa96] [instance:
> d699d481-fc53-440c-a8c1-c9e85673a32a] Build error: ['Traceback (most recent
> call last):\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 496, in
> _run_instance\n injected_files, admin_password)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 743, in
> _spawn\n block_device_info)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in
> wrapped\n temp_level, payload)\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/exception.py", line 92, in
> wrapped\n return f(*args, **kw)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1060,
> in spawn\n admin_pass=admin_password)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1314,
> in _create_image\n project_id=instance[\'project_id\'])\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
> 126, in cache\n *args, **kwargs)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
> 173, in create_image\n prepare_template(target=base, *args,
> **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/utils.py",
> line 744, in inner\n retval = f(*args, **kwargs)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line
> 117, in call_if_not_exists\n fetch_func(target=target, *args,
> **kwargs)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 396, in
> fetch_image\n images.fetch_to_raw(context, image_id, target, user_id,
> project_id)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 77, in
> fetch_to_raw\n fetch(context, image_href, path_tmp, user_id,
> project_id)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 72, in
> fetch\n image_service.download(context, image_id, image_file)\n', '
> File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 222, in
> download\n _reraise_translated_image_exception(image_id)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 220, in
> download\n image_chunks = self._client.call(context, 1, \'data\',
> image_id)\n', ' File
> "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 138, in
> call\n return getattr(client.images, method)(*args, **kwargs)\n', '
> File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line
> 108, in data\n resp, body = self.api.raw_request(\'GET\',
> \'/v1/images/%s\' % image_id)\n', ' File
> "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 204,
> in raw_request\n return self._http_request(url, method, **kwargs)\n', '
> File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line
> 171, in _http_request\n raise exc.from_response(resp)\n',
> 'HTTPInternalServerError: HTTPInternalServerError (HTTP 500)\n']
>
> --
> ViVek Raghuwanshi
> Mobile -+91-09595950504
>
> Skype - vivek_raghuwanshi
>
>
>
--
ViVek Raghuwanshi
Mobile -+91-09595950504
Skype - vivek_raghuwanshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20121010/8f4bba14/attachment.html>
More information about the OpenStack-operators
mailing list