Why does the overcloud deployment fails with ERROR, msg=Failure caused by error in tasks: enable_ssh_admin ?

Solution Verified - Updated -

Issue

The overcloud deployment fails with the following error:

Overcloud.AllNodesDeploySteps.WorkflowTasks_Step2_Execution:
  resource_type: OS::Mistral::ExternalResource
  physical_resource_id: AAAAAAAA-9d6e-4016-ac2e-2bf349bc93e8
  status: CREATE_FAILED
  status_reason: |
    resources.WorkflowTasks_Step2_Execution: ERROR

Mistral engine log shows :
 Workflow 'tripleo.storage.v1.ceph-install' [RUNNING -> ERROR, msg=Failure caused by error in tasks: enable_ssh_admin

  enable_ssh_admin [task_ex_id=e330222b-6a5a-4b8f-9999-3c544444448c] -> Failure caused by error in tasks: create_admin_via_nova

  create_admin_via_nova [task_ex_id=444444b-1c79-4b5b-a7ae-2c8222225414] -> Failure caused by error in tasks: create_admin

  create_admin [task_ex_id=AAAAAAAA-aa6a-426a-8006-c1a74b2eecc0] -> One or more actions had failed.
    [wf_ex_id=1fb859bd-0deb-4c71-b368-AAAAAAAA, idx=0]: Failed to run task [error=Can not evaluate YAQL expression [expression=task(deploy_config).result.deploy_stderr, error=Unknown function "#property#deploy_stderr", data={}], wf=tripleo.deployment.v1.deploy_on_server, task=send_message]:

If ceph nodes journal is inspected is it possible to find the following errors:

Jun 28 10:41:47 cephstorage-0 os-collect-config[6260]: [2018-06-28 10:41:47,680] (heat-config) [INFO] Completed /usr/libexec/heat-config/hooks/ansible
Jun 28 10:41:47 cephstorage-0 os-collect-config[6260]: [2018-06-28 10:41:47,681] (heat-config) [DEBUG] Running heat-config-notify /var/lib/heat-config/deployed/584b14df-15bf-4e1b-9f98-bb3aadd2f79c.json < /var/lib/heat-config/deployed/AAAAAA-15bf-4e1b-BBBB-bb3aadd2f79c.notify.json
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: [2018-06-28 10:41:49,143] (heat-config) [INFO]
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: [2018-06-28 10:41:49,143] (heat-config) [ERROR] Error running heat-config-notify. [1]
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: [2018-06-28 10:41:49,143] (heat-config) [ERROR] [2018-06-28 10:41:49,026] (heat-config-notify) [DEBUG] Signaling to https://10.206.112.241:13808/v1/AUTH_e4f4c08fb273405ca3a4d686f2745ed5/create_admin-655768ec-6d69-48ad-a5c5-AAAAAAAA/c67a29e2-BBBB-455f-a2b4-634fe023df24?temp_url_sig=ABABABABA9e8345b4649882e03bd10a6d74636b&temp_url_expires=1530193265 via PUT
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: Traceback (most recent call last):
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: File "/usr/bin/heat-config-notify", line 163, in 
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: sys.exit(main(sys.argv, sys.stdin))
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: File "/usr/bin/heat-config-notify", line 110, in main
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: headers={'content-type': 'application/json'})
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: File "/usr/lib/python2.7/site-packages/requests/api.py", line 126, in put
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: return request('put', url, data=data, **kwargs)
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: File "/usr/lib/python2.7/site-packages/requests/api.py", line 58, in request
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: return session.request(method=method, url=url, **kwargs)
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 518, in request
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: resp = self.send(prep, **send_kwargs)
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 639, in send
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: r = adapter.send(request, **kwargs)
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 512, in send
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: raise SSLError(e, request=request)
Jun 28 10:41:49 cephstorage-0 os-collect-config[6260]: requests.exceptions.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",)

Environment

  • Red Hat Openstack Platform 12
  • Red Hat Openstack Platform 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.