new openstack installation fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
new setup, greenfield.
all servers are ubuntu 16.04 LTS with the recommended packages installed.
## Issue
/opt/openstack-
Variable files: "-e @/etc/openstack
PLAY [Install unbound DNS resolver client configurations] *******
TASK [Gathering Facts] *******
Tuesday 08 August 2017 22:59:33 +0000 (0:00:00.110) 0:00:00.110 ********
TASK [Set unbound physical hosts fact] *******
Tuesday 08 August 2017 22:59:33 +0000 (0:00:00.054) 0:00:00.165 ********
TASK [Apply resolver sorting] *******
Tuesday 08 August 2017 22:59:34 +0000 (0:00:00.043) 0:00:00.208 ********
TASK [Set resolver IP list fact] *******
Tuesday 08 August 2017 22:59:34 +0000 (0:00:00.036) 0:00:00.245 ********
TASK [Set resolver rotate when physical_host is not an unbound host] *******
Tuesday 08 August 2017 22:59:34 +0000 (0:00:00.033) 0:00:00.279 ********
TASK [resolvconf : Gather variables for each operating system] *******
Tuesday 08 August 2017 22:59:34 +0000 (0:00:00.030) 0:00:00.309 ********
fatal: [v11]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
fatal: [v12]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
fatal: [v13]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
fatal: [c7]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
fatal: [c8]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
fatal: [v14]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
PLAY RECAP *******
c7 : ok=0 changed=0 unreachable=0 failed=1
c8 : ok=0 changed=0 unreachable=0 failed=1
v11 : ok=0 changed=0 unreachable=0 failed=1
v12 : ok=0 changed=0 unreachable=0 failed=1
v13 : ok=0 changed=0 unreachable=0 failed=1
v14 : ok=0 changed=0 unreachable=0 failed=1
Tuesday 08 August 2017 22:59:34 +0000 (0:00:00.059) 0:00:00.368 ********
=======
resolvconf : Gather variables for each operating system ----------------- 0.06s
Gathering Facts -------
Set unbound physical hosts fact -------
Apply resolver sorting -------
Set resolver IP list fact -------
Set resolver rotate when physical_host is not an unbound host ----------- 0.03s
-------
/opt/openstack-
The setup will ONLY continue if unbound_hosts are set
But after that, it runs and fails at the step: ... installing distro packages
This is because the /etc/resolv.conf points to the *not yet created* IP addresses.
So the whole process is totally stuck.
Could you paste your user config? The play should be skipped if no hosts match (no hosts are in the scope of the play).