On execution of setup host.yml TASK Ensure that the LXC cache has been prepared Fails recursively at module /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/utilities/logic/async_status.py

Bug #1748864 reported by ankitaanilverma
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Opinion
Undecided
ankitaanilverma

Bug Description

Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/utilities/logic/async_status.py
container_name: "infra3"
physical_host: "infra3"
<10.40.100.23> ESTABLISH SSH CONNECTION FOR USER: root
<10.40.100.23> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/d782f57410 10.40.100.23 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.40.100.23> (0, '\n{"started": 1, "invocation": {"module_args": {"jid": "863788536482.14048", "mode": "status"}}, "finished": 0, "changed": false, "ansible_job_id": "863788536482.14048"}\n', '')
FAILED - RETRYING: Ensure that the LXC cache has been prepared (10 retries left).Result was: {
    "ansible_job_id": "863788536482.14048",
    "attempts": 51,
    "changed": false,
    "finished": 0,
    "invocation": {
        "module_args": {
            "jid": "863788536482.14048",
            "mode": "status"
        }
    },
    "retries": 61,
    "started": 1
}

Revision history for this message
ankitaanilverma (ankita-verma) wrote :

Stable/pike branch

Changed in openstack-ansible:
assignee: nobody → ankitaanilverma (ankita-verma)
assignee: ankitaanilverma (ankita-verma) → nobody
Revision history for this message
ankitaanilverma (ankita-verma) wrote :

Hi,
It was resolved by increasing the time limit for the TASK: Ensure LXC Cache prepare

Changed in openstack-ansible:
assignee: nobody → ankitaanilverma (ankita-verma)
status: New → Opinion
Revision history for this message
Jim Golden (golden-z) wrote :

I am running into the same issue on stable/pike how do you increase that time limit?

Revision history for this message
ankitaanilverma (ankita-verma) wrote :

add following in file /etc/openstack_deploy/user_variables.yml:

lxc_cache_prep_timeout: 2700

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.