openstack-ansible setup-hosts.yml fails in task: lxc_hosts Ensure image has been pre-staged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Low
|
lei zhang |
Bug Description
The first call to
$ openstack-ansible -v -v setup-hosts.yml
fails always when running the command for the first time.
Running the same command a second time, the command succeeds.
I have three controller nodes.
TASK [lxc_hosts : Ensure image has been pre-staged] *******
task path: /etc/ansible/
<controller2> The "physical_host" variable of "controller2" has been found to have a corresponding host entry in inventory.
<controller2> The "physical_host" variable of "controller2" terminates at "192.168.72.20" using the host variable "ansible_host".
<controller1> The "physical_host" variable of "controller1" has been found to have a corresponding host entry in inventory.
<controller1> The "physical_host" variable of "controller1" terminates at "192.168.72.19" using the host variable "ansible_host".
<controller0> The "physical_host" variable of "controller0" has been found to have a corresponding host entry in inventory.
<controller0> The "physical_host" variable of "controller0" terminates at "192.168.72.18" using the host variable "ansible_host".
changed: [controller2] => {"ansible_job_id": "652801574311.
FAILED - RETRYING: Ensure image has been pre-staged (60 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (60 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (59 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (59 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (58 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (58 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (57 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (57 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (56 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (56 retries left).
...
FAILED - RETRYING: Ensure image has been pre-staged (1 retries left).
FAILED - RETRYING: Ensure image has been pre-staged (1 retries left).
fatal: [controller1]: FAILED! => {"ansible_job_id": "992874646118.
fatal: [controller0]: FAILED! => {"ansible_job_id": "226474098475.
/var/log/
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
[#0424ac 0B/0B CN:1 DL:0B]
*** Download Progress Summary as of Sat Jan 5 09:09:11 2019 ***
=======
[#0424ac 0B/0B CN:1 DL:0B]
FILE: /tmp/ubuntu-
-------
/var/log/
01/05 09:05:11 [NOTICE] Downloading 1 item(s)
01/05 09:05:12 [NOTICE] Download complete: /tmp/ubuntu-
Download Results:
gid |stat|avg speed |path/URI
======+
e1c289|OK | 64MiB/s|
Status Legend:
(OK):download completed.
After the second run, the files on all controllers look very similar to the controller 2 one.
Changed in openstack-ansible: | |
assignee: | nobody → lei zhang (zhang-lei) |
status: | Confirmed → In Progress |
Changed in openstack-ansible: | |
status: | In Progress → Fix Released |
I had the same problem, I thought it was my connection but It seems to be a real issue.