[Openstack-operators] instance failed to spawn

Razique Mahroua razique.mahroua at gmail.com
Sun Oct 14 18:21:12 UTC 2012


Hey Vivek,
can your restart the nova-api service and give up the nova-api.log ?

cheerz

Nuage & Co - Razique Mahroua 
razique.mahroua at gmail.com



Le 12 oct. 2012 à 11:45, Vivek Singh Raghuwanshi <vivekraghuwanshi at gmail.com> a écrit :

> Binary           Host                                 Zone             Status     State Updated_At
> nova-scheduler   us000901                             nova             enabled    :-)   2012-10-12 09:44:54
> nova-cert        us000901                             nova             enabled    :-)   2012-10-12 09:44:54
> nova-consoleauth us000901                             nova             enabled    :-)   2012-10-12 09:44:54
> nova-compute     us000901                             nova             enabled    :-)   2012-10-12 09:44:56
> nova-network     us000901                             nova             disabled   XXX   2012-10-10 11:04:04
> 
> 
> On Fri, Oct 12, 2012 at 2:39 PM, Razique Mahroua <razique.mahroua at gmail.com> wrote:
> Looks like that's an error from the nova-api server
> what $nova-manage service list gives you ?
> 
> Nuage & Co - Razique Mahroua 
> razique.mahroua at gmail.com
> 
> <NUAGECO-LOGO-Fblan_petit.jpg>
> 
> Le 11 oct. 2012 à 17:03, Vivek Singh Raghuwanshi <vivekraghuwanshi at gmail.com> a écrit :
> 
>> The logs are 
>> 
>> 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']
>> 
>> 
>> On Thu, Oct 11, 2012 at 8:22 PM, Razique Mahroua <razique.mahroua at gmail.com> wrote:
>> Hey there, 
>> what nova-compute.log and quantum logs show you ?
>> 
>> Nuage & Co - Razique Mahroua 
>> razique.mahroua at gmail.com
>> 
>> <NUAGECO-LOGO-Fblan_petit.jpg>
>> 
>> Le 11 oct. 2012 à 16:40, Vivek Singh Raghuwanshi <vivekraghuwanshi at gmail.com> a écrit :
>> 
>>> Hi All,
>>> 
>>> I am running a Folsom with Quantum (with swift , glance, cinder) + OpenvSwitch.
>>> 
>>> When i am launching an instance its stucked in error state with compute logs "Instance failed to spawn", ip is displaying but instance is stucked in spawning.
>>> 
>>> i am able to add images in swift via glance and able to add volumes in cinder.
>>> 
>>> Which type of error this is 
>>> 1. libvirt
>>> 2. Quantum
>>> 3. Scheduler
>>> 4. Nova
>>> 
>>> I am using one physical server with 2 Quard core processor and 64 GB Ram.
>>> 
>>> 
>>> Please help
>>> 
>>> 
>>> ViVek Raghuwanshi
>>> Mobile -+91-09595950504
>>>             
>>> Skype - vivek_raghuwanshi
>>> 
>>> 
>>> _______________________________________________
>>> OpenStack-operators mailing list
>>> OpenStack-operators at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>> 
>> 
>> 
>> 
>> -- 
>> 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/20121014/0941ca20/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NUAGECO-LOGO-Fblan_petit.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20121014/0941ca20/attachment-0001.jpg>


More information about the OpenStack-operators mailing list