OSP10 deployment with OPS Tools fails to upgrade to OSP11. ------ [stack@undercloud-0 ~]$ openstack stack failures list overcloud overcloud.AllNodesDeploySteps.ControllerUpgrade_Step3.0: resource_type: OS::Heat::SoftwareDeployment physical_resource_id: 595242b2-32e6-40e8-b0cc-5e4a429799c2 status: CREATE_FAILED status_reason: | Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2 deploy_stdout: | ... TASK [Check if sensu_client is deployed] *************************************** changed: [localhost] TASK [Install sensu package if it was disabled] ******************************** fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'sensu_client.rc != 0' failed. The error was: error while evaluating conditional (sensu_client.rc != 0): 'sensu_client' is undefined"} to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/78923f0c-5575-47c9-9531-c1154985a464_playbook.retry PLAY RECAP ********************************************************************* localhost : ok=31 changed=28 unreachable=0 failed=1 (truncated, view all with --long) deploy_stderr: | [stack@undercloud-0 ~]$
There's a patch for this issue already. Backport will follow.
stable/ocata backport: https://review.openstack.org/459224
Martins's patch was tested and the upgrade was successfully finished.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1245