[rdo-list] HA overcloud-deploy.sh crashes again ( ControllerOvercloudServicesDeployment_Step4 )

Boris Derzhavets bderzhavets at hotmail.com
Wed Jun 29 13:36:14 UTC 2016


Attempt to follow steps suggested in http://hardysteven.blogspot.ru/2016/06/tripleo-partial-stack-updates.html


./deploy-overstack crashes


2016-06-29 12:42:41 [overcloud-ControllerNodesPostDeployment-2r4tlv5icaxk-ControllerOvercloudServicesDeployment_Step4-nzdoizlgrmx2]: CREATE_FAILED Resource CREATE failed: Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 6
2016-06-29 12:42:42 [ControllerOvercloudServicesDeployment_Step4]: CREATE_FAILED Error: resources.ControllerOvercloudServicesDeployment_Step4.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 6
2016-06-29 12:42:43 [overcloud-ControllerNodesPostDeployment-2r4tlv5icaxk]: CREATE_FAILED Resource CREATE failed: Error: resources.ControllerOvercloudServicesDeployment_Step4.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 6
2016-06-29 12:42:44 [ControllerNodesPostDeployment]: CREATE_FAILED Error: resources.ControllerNodesPostDeployment.resources.ControllerOvercloudServicesDeployment_Step4.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 6
2016-06-29 12:42:44 [2]: SIGNAL_COMPLETE Unknown
2016-06-29 12:42:45 [2]: SIGNAL_COMPLETE Unknown
2016-06-29 12:42:45 [2]: SIGNAL_COMPLETE Unknown
2016-06-29 12:42:46 [overcloud]: CREATE_FAILED Resource CREATE failed: Error: resources.ControllerNodesPostDeployment.resources.ControllerOvercloudServicesDeployment_Step4.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 6
2016-06-29 12:42:46 [2]: SIGNAL_COMPLETE Unknown
2016-06-29 12:42:47 [2]: SIGNAL_COMPLETE Unknown
2016-06-29 12:42:47 [ControllerDeployment]: SIGNAL_COMPLETE Unknown
2016-06-29 12:42:48 [NetworkDeployment]: SIGNAL_COMPLETE Unknown
2016-06-29 12:42:48 [2]: SIGNAL_COMPLETE Unknown
Stack overcloud CREATE_FAILED
Deployment failed:  Heat Stack create failed.
+ heat stack-list
+ grep -q CREATE_FAILED
+ deploy_status=1
++ heat resource-list --nested-depth 5 overcloud
++ grep FAILED
++ grep 'StructuredDeployment '
++ cut -d '|' -f3
+ for failed in '$(heat resource-list         --nested-depth 5 overcloud | grep FAILED |
        grep '\''StructuredDeployment '\'' | cut -d '\''|'\'' -f3)'
+ heat deployment-show 655c77fc-6a78-4cca-b4b7-a153a3f4ad52
+ for failed in '$(heat resource-list         --nested-depth 5 overcloud | grep FAILED |
        grep '\''StructuredDeployment '\'' | cut -d '\''|'\'' -f3)'
+ heat deployment-show 1fe5153c-e017-4ee5-823a-3d1524430c1d
+ for failed in '$(heat resource-list         --nested-depth 5 overcloud | grep FAILED |
        grep '\''StructuredDeployment '\'' | cut -d '\''|'\'' -f3)'
+ heat deployment-show bf6f25f4-d812-41e9-a7a8-122de619a624
+ exit 1

*****************************
Troubleshooting steps :-
*****************************

[stack at undercloud ~]$ . stackrc
[stack at undercloud ~]$  heat resource-list overcloud | grep ControllerNodesPost
| ControllerNodesPostDeployment             | f1d6a474-c946-46bf-ab0c-2fdaeb55d0b3          | OS::TripleO::ControllerPostDeployment             | CREATE_FAILED   | 2016-06-29T12:11:21 |


[stack at undercloud ~]$ heat stack-list -n | grep "^| f1d6a474-c946-46bf-ab0c-2fdaeb55d0b3"
| f1d6a474-c946-46bf-ab0c-2fdaeb55d0b3 | overcloud-ControllerNodesPostDeployment-2r4tlv5icaxk                                                          | CREATE_FAILED   | 2016-06-29T12:31:11 | None         | 17f82f6e-e0ca-44c6-9058-de82c00d4f79 |



[stack at undercloud ~]$ heat event-list -m f1d6a474-c946-46bf-ab0c-2fdaeb55d0b3 overcloud-ControllerNodesPostDeployment-2r4tlv5icaxk

+------------------------------------------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+---------------------+
| resource_name                                        | id                                   | resource_status_reason                                                                                                                                                                             | resource_status    | event_time          |
+------------------------------------------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+---------------------+
| overcloud-ControllerNodesPostDeployment-2r4tlv5icaxk | 10ec0cf9-b3c9-4191-9966-3f4d47f27e2a | Stack CREATE started
. . . . . . . . . . . . . . . . .
Step1,2,3 succeeded
. . . . . . . . . . . . . . . . .
                                                                                                                                                                        | CREATE_IN_PROGRESS | 2016-06-29T12:31:14 |
| ControllerPuppetConfig                               | a2a1df33-5106-425c-b16d-8d2df709b19f | state changed                                                                                                                                                                                                                                                                     | CREATE_COMPLETE    | 2016-06-29T12:35:02 |
| ControllerOvercloudServicesDeployment_Step4          | 1e151333-4de5-4e7b-907c-ea0f42d31a47 | state changed                                                                                                                                                                                      | CREATE_IN_PROGRESS | 2016-06-29T12:35:03 |
| ControllerOvercloudServicesDeployment_Step4          | 7bf36334-3d92-4554-b6c0-41294a072ab6 | Error: resources.ControllerOvercloudServicesDeployment_Step4.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 6                         | CREATE_FAILED      | 2016-06-29T12:42:42 |
| overcloud-ControllerNodesPostDeployment-2r4tlv5icaxk
 | e72fb6f4-c2aa-4fe8-9bd1-5f5ad152685c | Resource CREATE failed: Error: resources.ControllerOvercloudServicesDeployment_Step4.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 6 | CREATE_FAILED      | 2016-06-29T12:42:43 |
+------------------------------------------------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+---------------------+

[stack at undercloud ~]$ heat stack-show overcloud-ControllerNodesPostDeployment-2r4tlv5icaxk | grep NodeConfigIdentifiers
|                       |   "NodeConfigIdentifiers": "{u'deployment_identifier': 1467202276, u'controller_config': {u'1': u'os-apply-config deployment 796df02a-7550-414b-a084-8b591a13e6db completed,Root CA cert injection not enabled.,TLS not enabled.,None,', u'0': u'os-apply-config deployment 613ec889-d852-470a-8e4c-6e243e1d2033 completed,Root CA cert injection not enabled.,TLS not enabled.,None,', u'2': u'os-apply-config deployment c8b099d0-3af4-4ba0-a056-a0ce60f40e2d completed,Root CA cert injection not enabled.,TLS not enabled.,None,'}, u'allnodes_extra': u'none'}" |

However, when stack creating crashed update wouldn't help.

[stack at undercloud ~]$ heat stack-update -x overcloud-ControllerNodesPostDeployment-2r4tlv5icaxk   -e update_env.yaml
ERROR: PATCH update to non-COMPLETE stack is not supported.

DUE TO :-

[stack at undercloud ~]$ heat stack-list
+--------------------------------------+------------+---------------+---------------------+--------------+
| id                                   | stack_name | stack_status  | creation_time       | updated_time |
+--------------------------------------+------------+---------------+---------------------+--------------+
| 17f82f6e-e0ca-44c6-9058-de82c00d4f79 | overcloud  | CREATE_FAILED | 2016-06-29T12:11:20 | None         |
+--------------------------------------+------------+---------------+---------------------+------


Complete error file `heat deployment-show 655c77fc-6a78-4cca-b4b7-a153a3f4ad52` is  attached a gzip archive.


Thanks.

Boris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160629/0230db33/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HeatCrash2.txt.gz
Type: application/gzip
Size: 19265 bytes
Desc: HeatCrash2.txt.gz
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160629/0230db33/attachment.gz>


More information about the dev mailing list