+++ This bug was initially created as a clone of Bug #2137484 +++ Description of problem: This was found in bz 2136393 initially. Updating overcloud by running the deployment command fails because of the following workflow error if octavia or ceph is enabled. ~~~ Waiting for messages on queue 'tripleo' with no timeout. The action raised an exception [action_ex_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, msg='[Errno 13] Permission denied: 'local_dir'', action_cls='<class 'mistral.actions.action_factory.DownloadConfigAction'>', attributes='{}', params='{'work_dir': '/var/lib/mistral/overcloud', 'container_config': 'overcloud-config'}'] ~~~ This is the regression caused by the fix for bz 2125078 . The change introduced the step to purge files in /var/lib/mistral/<stack name> to enforce the proper permission but the deployment tasks for octavia/ceph create files/directories owned by tripleo-admin in the directory and the cleanup process fails with permission error. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Deploy overcloud with Octavia enabled 2. Run the same deployment command Actual results: The 2nd deployment fails because of the workflow error Expected results: The 2nd deployment should not fail. Additional info:
The redeploy permission denied error is still seen in Phase 3 regression of RHOS-16.1-RHEL-8-20221108.n.1. Moving to on_dev although maybe the correct state is modified. While the undercloud has the correct openstack-tripleo-common package: [stack@undercloud-0 ~]$ sudo yum list installed | grep openstack-tripleo-common openstack-tripleo-common.noarch 11.4.1-1.20220926013655.75bd92a.el8ost @rhelosp-16.1 openstack-tripleo-common-containers.noarch 11.4.1-1.20220926013655.75bd92a.el8ost @rhelosp-16.1 The mistral containers do not: [stack@undercloud-0 ~]$ sudo podman exec mistral_api yum list installed | grep openstack-tripleo-common 2022-11-09 14:58:55,152 [ERROR] yum:1255:MainThread @logutil.py:194 - [Errno 13] Permission denied: '/var/log/rhsm/rhsm.log' - Further logging output will be written to stderr openstack-tripleo-common.noarch 11.4.1-1.20220926013654.75bd92a.el8ost @odcs-1559188 openstack-tripleo-common-container-base.noarch 11.4.1-1.20220926013654.75bd92a.el8ost @odcs-1558923 openstack-tripleo-common-containers.noarch 11.4.1-1.20220926013654.75bd92a.el8ost @odcs-1559188
Using RHOS-16.1-RHEL-8-20221115.n.1 stack update is not working. Still not seeing updated package in mistral containers: [stack@undercloud-0 ~]$ sudo yum list installed | grep openstack-tripleo-common openstack-tripleo-common.noarch 11.4.1-1.20220926013655.75bd92a.el8ost @rhelosp-16.1 openstack-tripleo-common-containers.noarch 11.4.1-1.20220926013655.75bd92a.el8ost @rhelosp-16.1 [stack@undercloud-0 ~]$ sudo podman exec mistral_executor yum list installed | grep openstack-tripleo-common 2022-11-16 15:04:52,386 [ERROR] yum:11804:MainThread @logutil.py:194 - [Errno 13] Permission denied: '/var/log/rhsm/rhsm.log' - Further logging output will be written to stderr openstack-tripleo-common.noarch 11.4.1-1.20220926013654.75bd92a.el8ost @odcs-1559188 openstack-tripleo-common-container-base.noarch 11.4.1-1.20220926013654.75bd92a.el8ost @odcs-1558923 openstack-tripleo-common-containers.noarch 11.4.1-1.20220926013654.75bd92a.el8ost @odcs-1559188
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 16.1.9 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-2022:8795