yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62699
[Bug 1676811] [NEW] Get error "Unable to create server" when launch new instance
Public bug reported:
Step to reproduce:
1 Go to dashboard then create new instance
Actual result:
App return error message "Unable to create server"
Environment:
Centos7, Openstack mitaka
Note:
Check nova log
tail -100f /var/log/nova/nova-api.log
2017-03-28 05:44:05.407 6517 ERROR nova.image.glance CommunicationError: Error finding address for http://controller:9292/v1/images/7ed07fa9-82b7-4095-8c5f-92e8104bfe05: ('Connection aborted.', LineTooLong('got more than 65536 bytes when reading header line',))
2017-03-28 05:44:05.407 6517 ERROR nova.image.glance
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions [req-e57abe3f-af2c-4cb5-9a0b-35aa4668d99a 9b2b14c8e96f4dcbbdd18d82506be7de 4b710995d93e4a5da3c596ab94418557 - - -] Unexpected exception in API method
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 629, in create
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions **create_kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1563, in create
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1131, in _create_instance
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions image_id, boot_meta = self._get_image(context, image_href)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 789, in _get_image
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions image = self.image_api.get(context, image_href)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 93, in get
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions show_deleted=show_deleted)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 333, in show
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions _reraise_translated_image_exception(image_id)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 684, in _reraise_translated_image_exception
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions six.reraise(new_exc, None, exc_trace)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 331, in show
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions image = self._client.call(context, version, 'get', image_id)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 269, in call
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions server=str(self.api_server), reason=six.text_type(e))
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions GlanceConnectionFailed: Connection to glance host http://controller:9292 failed: Error finding address for http://controller:9292/v1/images/7ed07fa9-82b7-4095-8c5f-92e8104bfe05: ('Connection aborted.', LineTooLong('got more than 65536 bytes when reading header line',))
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions
2017-03-28 05:44:05.412 6517 INFO nova.api.openstack.wsgi [req-e57abe3f-af2c-4cb5-9a0b-35aa4668d99a 9b2b14c8e96f4dcbbdd18d82506be7de 4b710995d93e4a5da3c596ab94418557 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.GlanceConnectionFailed'>
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1676811
Title:
Get error "Unable to create server" when launch new instance
Status in OpenStack Compute (nova):
New
Bug description:
Step to reproduce:
1 Go to dashboard then create new instance
Actual result:
App return error message "Unable to create server"
Environment:
Centos7, Openstack mitaka
Note:
Check nova log
tail -100f /var/log/nova/nova-api.log
2017-03-28 05:44:05.407 6517 ERROR nova.image.glance CommunicationError: Error finding address for http://controller:9292/v1/images/7ed07fa9-82b7-4095-8c5f-92e8104bfe05: ('Connection aborted.', LineTooLong('got more than 65536 bytes when reading header line',))
2017-03-28 05:44:05.407 6517 ERROR nova.image.glance
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions [req-e57abe3f-af2c-4cb5-9a0b-35aa4668d99a 9b2b14c8e96f4dcbbdd18d82506be7de 4b710995d93e4a5da3c596ab94418557 - - -] Unexpected exception in API method
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 629, in create
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions **create_kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1563, in create
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1131, in _create_instance
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions image_id, boot_meta = self._get_image(context, image_href)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 789, in _get_image
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions image = self.image_api.get(context, image_href)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 93, in get
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions show_deleted=show_deleted)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 333, in show
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions _reraise_translated_image_exception(image_id)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 684, in _reraise_translated_image_exception
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions six.reraise(new_exc, None, exc_trace)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 331, in show
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions image = self._client.call(context, version, 'get', image_id)
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 269, in call
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions server=str(self.api_server), reason=six.text_type(e))
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions GlanceConnectionFailed: Connection to glance host http://controller:9292 failed: Error finding address for http://controller:9292/v1/images/7ed07fa9-82b7-4095-8c5f-92e8104bfe05: ('Connection aborted.', LineTooLong('got more than 65536 bytes when reading header line',))
2017-03-28 05:44:05.409 6517 ERROR nova.api.openstack.extensions
2017-03-28 05:44:05.412 6517 INFO nova.api.openstack.wsgi [req-e57abe3f-af2c-4cb5-9a0b-35aa4668d99a 9b2b14c8e96f4dcbbdd18d82506be7de 4b710995d93e4a5da3c596ab94418557 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.GlanceConnectionFailed'>
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1676811/+subscriptions
Follow ups