Description of problem: Increasing ceph-ansible verbsisty in the 'openstack overcloud external-upgrade run' command by adding '-e ceph_ansible_playbook_verbosity=3' is failing. Adding |int after ceph_ansible_playbook_verbosity to this line https://github.com/openstack/tripleo-ansible/blob/stable/train/tripleo_ansible/roles/tripleo-ceph-run-ansible/tasks/main.yml#L55 seems to allow this to be passed through properly. Version-Release number of selected component (if applicable): How reproducible: Consistently Steps to Reproduce: 1. Run 'openstack overcloud external-upgrade run --stack overcloud --tags ceph -e ceph_ansible_playbook_verbosity=3' 2. 3. Actual results: The command fails with: 2022-05-27 14:37:34,126 p=436893 u=mistral n=ansible | fatal: [undercloud]: FAILED! => {"msg": "Unexpected templating type error occurred on (-{%- for number in range(0, ceph_ansible_playbook_verbosity) -%}v{% endfor %}): 'str' object cannot be interpreted as an integer"} Expected results: The playbook runs and the ceph-ansible verbosity is increased. Additional info: https://bugs.launchpad.net/tripleo/+bug/1976122 https://review.opendev.org/c/openstack/tripleo-ansible/+/843683/1/tripleo_ansible/roles/tripleo_ceph_run_ansible/tasks/main.yml
https://review.opendev.org/c/openstack/tripleo-ansible/+/845677 merged upstream and will be imported into the downstream product for a future update.
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 (Release of components for Red Hat OpenStack Platform 16.2.4), 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:8794