Description of problem: Overcloud deploy command fail with the following error: Starting deployment... Started Mistral Workflow tripleo.validations.v1.check_pre_deployment_validations. Execution ID: 98443932-858b-4b36-bb7e-29849327432 Waiting for messages on queue 'tripleo' with no timeout. 'passwords' It seems it is caused by information missing in the plan-environment.yaml it only contains: $ cat plan-environment.yaml version: 1.0 name: overcloud description: > Default Deployment plan template: overcloud.yaml environments: - path: overcloud-resource-registry-puppet.yaml - path: environments/docker.yaml - path: environments/docker-ha.yaml nothing else. AFAIK it should contain much more information, also a "passwords" section. This KCS[1] says that the workaround for this issue is to delte de plan, but when we try we get the following error: 2021-02-26 12:35:56.762 2771 ERROR mistral.executors.default_executor [req-a1d6f1e5-e2e9-4c31-b20b-be2d851a51f0 3bf795ead5ae403db92ec20498d7db35 134157a06a0d461bba9d385dc4848a35 - default default] Failed to run action [action_ex_id=None, action_cls='<class 'mistral.actions.action_factory.DeletePlanAction'>', attributes='{}', params='{u'container': u'overcloud'}'] Cannot delete a plan that has an associated stack.: StackInUseError: Cannot delete a plan that has an associated stack. 2021-02-26 12:35:56.762 2771 ERROR mistral.executors.default_executor Traceback (most recent call last): 2021-02-26 12:35:56.762 2771 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/mistral/executors/default_executor.py", line 114, in run_action 2021-02-26 12:35:56.762 2771 ERROR mistral.executors.default_executor result = action.run(action_ctx) 2021-02-26 12:35:56.762 2771 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/actions/plan.py", line 119, in run 2021-02-26 12:35:56.762 2771 ERROR mistral.executors.default_executor raise exception.StackInUseError(name=self.container) 2021-02-26 12:35:56.762 2771 ERROR mistral.executors.default_executor StackInUseError: Cannot delete a plan that has an associated stack. 2021-02-26 12:35:56.762 2771 ERROR mistral.executors.default_executor [1] https://access.redhat.com/solutions/3714651 Version-Release number of selected component (if applicable): OSP13 How reproducible: every time we execute overcloud deploy Actual results: mentioned error Expected results: - no error during deployment - able to delete the plan What can we do to solve this issue and continue growing ther environment ?
Does the end user still have their passwords file backed up somewhere? If not passwords may get regenerated. You can manually remove the swift plan but there may be other issues that arise from doing this. Testing in a development environment would be recommended. $ source ~/stackrc $ openstack container delete -r <stackname>
Verified using this procedure: Deployed 3control-2compute toplogy Recorded the environment using: openstack stack environment show overcloud > plan-environment.yaml Deleted the plan using: openstack container delete --recursive overcloud Successfully redeployed the overcloud Recorded the environment a second time using the same command: openstack stack environment show overcloud > plan-environment.yaml Compared the two plan-environment.yaml files and no passwords had been modified
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 (Red Hat OpenStack Platform 13.0 bug fix and enhancement 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/RHBA-2021:2385