Description of problem: When trying to perform a "dry-run" on config download playbooks, check fails on the task "Remove deployed file for NetworkDeployment when previous deployment failed" because it relies on previous task's rc code and previous task "Check previous deployment rc for NetworkDeployment" reports "remote module (command) does not support check mode" Version-Release number of selected component (if applicable): 2018-08-23.3 How reproducible: 100% Steps to Reproduce: 1. Install undercloud 2. Create stack with openstack overcloud deploy --stack-only 3. Generate config download files with openstack overcloud config download --config-dir cd-overcloud --name overcloud 4. Generate ansible inventory 5. Run ansible with --check option Actual results: check run fails at "Remove deployed file for NetworkDeployment when previous deployment failed" Expected results: Check run completes successfully Additional info:
VERIFIED cat overcloud_deploy.sh openstack overcloud deploy \ --timeout 100 \ --templates /usr/share/openstack-tripleo-heat-templates \ --libvirt-type kvm \ --stack overcloud \ --stack-only \ -r /home/stack/composable_roles/roles/roles_data.yaml \ -e /home/stack/composable_roles/roles/nodes.yaml \ -e /home/stack/composable_roles/internal.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \ -e /home/stack/composable_roles/network/network-environment.yaml \ -e /home/stack/composable_roles/enable-tls.yaml \ -e /home/stack/composable_roles/inject-trust-anchor.yaml \ -e /home/stack/composable_roles/public_vip.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \ -e /home/stack/composable_roles/hostnames.yaml \ -e /home/stack/composable_roles/debug.yaml \ -e /home/stack/composable_roles/config_heat.yaml \ -e /home/stack/composable_roles/docker-images.yaml \ --log-file overcloud_deployment_45.log openstack overcloud config download --config-dir cd-overcloud --name overcloud tripleo-ansible-inventory --ansible_ssh_user heat-admin --static-yaml-inventory inventory.yaml ansible-playbook -i inventory.yaml --become cd-overcloud/deploy_steps_playbook.yaml --check puddle=2018-09-27.3 openstack-tripleo-common-9.3.1-0.20180920204842.el7ost.noarch
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-2019:0045