Created attachment 1495313 [details] ansible log Description of problem: when performing dry-run it fails on Task Assign bootstrap node Version-Release number of selected component (if applicable): 2018-10-10.3 How reproducible: 100% Steps to Reproduce: 1. Deploy undercloud 2. Prepare for deployment, introspect & tag nodes 3. Add --stack-only to the overcloud_deploy.sh 4. Execute overcloud_deploy.sh 5. Generate ansible playbooks 6. Generate inventory file 7. Execute ansible-playbook with --check parameter Actual results: 2018-10-18 08:28:31,660 p=811097 u=stack | TASK [Assign bootstrap node] *************************************************** 2018-10-18 08:28:31,782 p=811097 u=stack | skipping: [compute-1] 2018-10-18 08:28:31,796 p=811097 u=stack | skipping: [compute-0] 2018-10-18 08:28:31,962 p=811097 u=stack | fatal: [controller-2]: FAILED! => {"changed": true, "cmd": ["hiera", "-c", "/etc/puppet/hiera.yaml", "bootstrap_nodeid"], "delta": "0:00:00.067668", "end": "2018-10-18 08:28:31.946971", "msg": "non-zero return code", "rc": 1, "start": "2018-10-18 08:28:31.879303", "stderr": "Cannot find config file: /etc/puppet/hiera.yaml", "stderr_lines": ["Cannot find config file: /etc/puppet/hiera.yaml"], "stdout": "", "stdout_lines": []} 2018-10-18 08:28:31,968 p=811097 u=stack | fatal: [controller-1]: FAILED! => {"changed": true, "cmd": ["hiera", "-c", "/etc/puppet/hiera.yaml", "bootstrap_nodeid"], "delta": "0:00:00.063390", "end": "2018-10-18 08:28:31.954378", "msg": "non-zero return code", "rc": 1, "start": "2018-10-18 08:28:31.890988", "stderr": "Cannot find config file: /etc/puppet/hiera.yaml", "stderr_lines": ["Cannot find config file: /etc/puppet/hiera.yaml"], "stdout": "", "stdout_lines": []} 2018-10-18 08:28:32,028 p=811097 u=stack | fatal: [controller-0]: FAILED! => {"changed": true, "cmd": ["hiera", "-c", "/etc/puppet/hiera.yaml", "bootstrap_nodeid"], "delta": "0:00:00.071937", "end": "2018-10-18 08:28:32.013413", "msg": "non-zero return code", "rc": 1, "start": "2018-10-18 08:28:31.941476", "stderr": "Cannot find config file: /etc/puppet/hiera.yaml", "stderr_lines": ["Cannot find config file: /etc/puppet/hiera.yaml"], "stdout": "", "stdout_lines": []} 2018-10-18 08:28:32,029 p=811097 u=stack | NO MORE HOSTS LEFT ************************************************************* Expected results: Check run completes successfully Additional info:
VERIFIED openstack-tripleo-heat-templates-9.0.1-0.20181013060864.ffbe879.el7ost.noarch 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 cd-overcloud/deploy_steps_playbook.yaml --ssh-extra-args="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ControlMaster=auto -o ControlPersist=30m" --become --check
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
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days