Description of problem: Running config-download playbook with --check (dry-run mode) fails Topology - controller:3,compute:2,ceph:3 ansible log: ... TASK [Stop iscsi.service] ****************************************************** fatal: [controller-0]: FAILED! => {"msg": "The conditional check 'iscsi_service_enabled_result.rc == 0' failed. The error was: error while evaluating conditional (iscsi_service_enabled_result.rc == 0): 'dict object' has no attribute 'rc'\n\nThe error appears to be in '/home/stack/config-download/Controller/host_prep_tasks.yaml': line 592, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n register: iscsi_service_enabled_result\n- name: Stop iscsi.service\n ^ here\n"} fatal: [controller-1]: FAILED! => {"msg": "The conditional check 'iscsi_service_enabled_result.rc == 0' failed. The error was: error while evaluating conditional (iscsi_service_enabled_result.rc == 0): 'dict object' has no attribute 'rc'\n\nThe error appears to be in '/home/stack/config-download/Controller/host_prep_tasks.yaml': line 592, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n register: iscsi_service_enabled_result\n- name: Stop iscsi.service\n ^ here\n"} fatal: [controller-2]: FAILED! => {"msg": "The conditional check 'iscsi_service_enabled_result.rc == 0' failed. The error was: error while evaluating conditional (iscsi_service_enabled_result.rc == 0): 'dict object' has no attribute 'rc'\n\nThe error appears to be in '/home/stack/config-download/Controller/host_prep_tasks.yaml': line 592, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n register: iscsi_service_enabled_result\n- name: Stop iscsi.service\n ^ here\n"} Version-Release number of selected component (if applicable): How reproducible: By running these steps: source /home/stack/stackrc openstack overcloud config download --name overcloud --config-dir /home/stack/config-download tripleo-ansible-inventory --ansible_ssh_user heat-admin --static-yaml-inventory inventory.yaml ansible-playbook --check --become -i /home/stack/inventory.yaml /home/stack/config-download/deploy_steps_playbook.yaml Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Verified on compose RHOS_TRUNK-15.0-RHEL-8-20190701.n.0
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:2811