[Openstack] heat stack failed , ConnectionError: Unable to establish connection: ('Connection aborted.', BadStatusLine("''", ))

Kamsali, Raghavendrachari raghavendrachari.kamsali at hpe.com
Fri Jul 15 05:15:00 UTC 2016


Hi Thanks for the reply,

Not only cinder issue , also getting same error some time with neutron port creation time and some time it is with nova;
+------------------+-------+------+---------+-------+----------------------------+-----------------+
|      Binary      |  Host | Zone |  Status | State |         Updated_at         | Disabled Reason |
+------------------+-------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler | host3 | nova | enabled |   up  | 2016-07-15T00:30:08.000000 |        -        |
| cinder-scheduler | host4 | nova | enabled |   up  | 2016-07-15T00:30:18.000000 |        -        |
| cinder-scheduler | host5 | nova | enabled |   up  | 2016-07-15T00:30:08.000000 |        -        |
|  cinder-volume   | host1 | nova | enabled |   up  | 2016-07-15T00:30:08.000000 |        -        |
|  cinder-volume   | host2 | nova | enabled |   up  | 2016-07-15T00:30:08.000000 |        -        |








From: Brent Troge [mailto:brenttroge2016 at gmail.com]
Sent: Thursday, July 14, 2016 8:36 PM
To: Kamsali, Raghavendrachari <raghavendrachari.kamsali at hpe.com>
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] heat stack failed , ConnectionError: Unable to establish connection: ('Connection aborted.', BadStatusLine("''", ))

Does this only occur when creating a cinder volume ?
If you just create a VM without creating volumes, what is the outcome ?
At face value it looks like the cinder services are not available.
cinder service-list



On Thu, Jul 14, 2016 at 7:17 AM, Kamsali, Raghavendrachari <raghavendrachari.kamsali at hpe.com<mailto:raghavendrachari.kamsali at hpe.com>> wrote:
Hi,

Am trying to launch heat stack , in the middle of the creating am getting error and stack failed .


2016-07-14 00:27:27.301 40107 INFO heat.engine.stack [-] Stack CREATE IN_PROGRESS (opnfv_cw): Stack CREATE started
2016-07-14 00:27:27.557 40107 INFO heat.engine.resource [-] creating CinderVolume "volume5" Stack "opnfv_cw" [54d10ecc-e9d7-49fe-b0ca-dae26449bccb]
2016-07-14 00:27:28.240 40107 INFO heat.engine.clients.os.cinder [-] Creating Cinder client with volume API version 2.
2016-07-14 00:27:30.324 40107 INFO heat.engine.resource [-] creating CinderVolume "volume2" Stack "opnfv_cw" [54d10ecc-e9d7-49fe-b0ca-dae26449bccb]
2016-07-14 00:27:32.144 40098 INFO heat.engine.service [req-ccbc7bf8-e5e6-443d-aa11-61df9be533a3 - -] Service c1adfa2d-cc66-44d2-a0f6-240b00805169 is updated
2016-07-14 00:27:32.257 40104 INFO heat.engine.service [req-e0606cb0-29a8-4262-9e33-58467c3d6c18 - -] Service 6169f661-9972-491e-a315-61a158797357 is updated
2016-07-14 00:27:32.349 40099 INFO heat.engine.service [req-306f847e-9562-4916-b61f-5d25c97c16fb - -] Service 80fff45e-6c4e-493c-8c95-2d1aea09e9a8 is updated
2016-07-14 00:27:32.491 40101 INFO heat.engine.service [req-8fddf522-14a6-4296-b560-b7e8cbce49a0 - -] Service 9bf6cff0-5656-48e5-b2ad-55fd71e7610e is updated
2016-07-14 00:27:34.567 40102 INFO heat.engine.service [req-efeb68c4-88d2-47fb-967f-e85691c4d4be - -] Service 2bfbe1de-63dc-4db6-9367-a95e3f3cc611 is updated
2016-07-14 00:27:34.935 40105 INFO heat.engine.service [req-51890740-6f33-44d8-ac58-9443d1d55bb6 - -] Service 89586269-3183-4288-a7b1-d724d15ba2c5 is updated
2016-07-14 00:27:35.046 40106 INFO heat.engine.service [req-702870f5-8720-46e0-9310-d390e7eacf23 - -] Service 5c58c90c-0d90-4800-81cc-4649a822d98a is updated
2016-07-14 00:27:35.127 40103 INFO heat.engine.service [req-9ae5fcee-86c6-4305-a052-ee919725c3fa - -] Service 7cebe82b-42ee-40bb-9e7d-8344f2793203 is updated
2016-07-14 00:27:35.277 40107 INFO heat.engine.service [req-d8f2aaf3-69bd-4674-94e3-be0146cad307 - -] Service 1c19833e-4d3d-48d4-b6e5-d84c61fd5663 is updated
2016-07-14 00:27:38.678 40135 INFO heat.engine.service [req-3e4ee334-d09b-44d0-a3f5-02845d2ce756 - -] Service e3adaeb9-e68c-444a-b021-4a922c7cf21c is updated
2016-07-14 00:27:38.778 40110 INFO heat.engine.service [req-0b77a507-ebb2-48da-b803-616368793119 - -] Service 70b1433c-4d73-42a8-b5d7-75dc9ef896d0 is updated
2016-07-14 00:27:38.922 40114 INFO heat.engine.service [req-aeac47e3-85d6-42ee-934d-64421ddfe6ee - -] Service c4cee34a-ccd3-4864-8407-0eee574543f1 is updated
2016-07-14 00:27:39.078 40129 INFO heat.engine.service [req-1c804362-5996-49c2-bfe5-a9f1a650aa57 - -] Service 3484a3b7-6381-4c8b-babd-4190e07f4fb6 is updated
2016-07-14 00:27:39.155 40113 INFO heat.engine.service [req-08915cf1-0bb0-46e6-a611-ccf02cebc4a1 - -] Service 43049010-97e8-49c7-b16d-da4b690aa983 is updated
2016-07-14 00:27:39.262 40112 INFO heat.engine.service [req-9a9f3531-bbaf-4e98-ad68-9b7643b1a4e7 - -] Service 71468276-5928-4786-a610-2fffddfc4cbd is updated
2016-07-14 00:27:39.363 40115 INFO heat.engine.service [req-7d07e9de-210c-416a-9fb1-45e97e304676 - -] Service 5e0fdf17-bb5f-434c-8457-34d9da915b80 is updated
2016-07-14 00:27:39.455 40134 INFO heat.engine.service [req-63745b8d-26cf-4825-b7a3-1d8b0722d183 - -] Service a0838b11-fcdc-4803-99a4-c083046e9cc9 is updated
2016-07-14 00:27:39.521 40121 INFO heat.engine.service [req-7905a259-17d0-4b0c-9017-ce7f93b0e46f - -] Service 9cd09edb-364b-4e00-bb09-aeee13afe805 is updated
2016-07-14 00:27:39.621 40133 INFO heat.engine.service [req-5a02e254-c3b6-4a7f-8c23-9aa49de7ec3d - -] Service 756bdce5-3c04-4018-905c-5cf5b22a6cd0 is updated
2016-07-14 00:27:39.713 40117 INFO heat.engine.service [req-8abce8de-82c9-42e4-8ab3-3cc8228ba28d - -] Service 10960c1a-5c82-49a9-974d-06e3159a2f6b is updated
2016-07-14 00:27:39.789 40131 INFO heat.engine.service [req-f1590f18-e352-4375-92d5-530c11db6e5b - -] Service 0b790835-ae32-4fa5-a7f0-2ef09e6e687f is updated
2016-07-14 00:27:39.864 40111 INFO heat.engine.service [req-6972ece7-b3e3-4e5d-8e92-7111f21ca0cb - -] Service 8e251462-707d-4130-8eb0-6b18dc655cdf is updated
2016-07-14 00:27:40.006 40108 INFO heat.engine.service [req-fe701c68-8909-45fb-a098-9832bf7bf53f - -] Service 1093bddb-b67f-42b6-849f-ef54ca80a56c is updated
2016-07-14 00:27:40.098 40124 INFO heat.engine.service [req-c4783dae-72e6-405a-b691-3dce116e4ece - -] Service b7b2eaea-4b50-4b08-9730-300e565340f8 is updated
2016-07-14 00:28:22.146 40107 INFO heat.engine.resource [-] CREATE: CinderVolume "volume2" Stack "opnfv_cw" [54d10ecc-e9d7-49fe-b0ca-dae26449bccb]
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource Traceback (most recent call last):
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 612, in _action_recorder
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     yield
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 682, in _do_action
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     yield self.action_handler_task(action, args=handler_args)
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 292, in wrapper
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     step = next(subtask)
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 653, in action_handler_task
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     handler_data = handler(*args)
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resources/openstack/cinder/volume.py", line 277, in handle_create
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     vol_id = super(CinderVolume, self).handle_create()
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resources/volume_base.py", line 41, in handle_create
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     vol = cinder.volumes.create(**kwargs)
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/cinderclient/v2/volumes.py", line 253, in create
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     return self._create('/volumes', body, 'volume')
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/cinderclient/base.py", line 181, in _create
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     resp, body = self.api.client.post(url, body=body)
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 306, in post
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     return self._cs_request(url, 'POST', **kwargs)
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 291, in _cs_request
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource     raise exceptions.ConnectionError(msg)
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource ConnectionError: Unable to establish connection: ('Connection aborted.', BadStatusLine("''",))
2016-07-14 00:28:22.146 40107 ERROR heat.engine.resource

Can any one help me in this issue.


Thanka&Regards,
RAGHAVENDRACHARI K


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160715/6ed12fc6/attachment.html>


More information about the Openstack mailing list