intermittent AIO error: Timeout (7s) waiting for privilege escalation prompt

Bug #1711376 reported by Markos Chandras
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
zhongshengping

Bug Description

During my effort to add openSUSE support to the AIO repository, I noticed the following intermittent issue

[aio1]: FAILED! => {"failed": true, "msg": "Timeout (7s) waiting for privilege escalation prompt: "}

This happens mostly in the os_nova role tasks

However, googling for it reveals that people have reported it in the past as well

http://eavesdrop.openstack.org/irclogs/%23openstack-ansible/%23openstack-ansible.2017-03-10.log.html
http://www.mattzone.com/ansible/ansible_20160314.html
https://pastebin.com/vY3i5360

One suggested workaround is to use

[defaults]
timeout = 30

in /etc/ansible/ansible.cfg

but that doesn't seem to help.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/495866

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/495866
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=15c420206fbef6c18952138aa91d2d60c5220178
Submitter: Jenkins
Branch: master

commit 15c420206fbef6c18952138aa91d2d60c5220178
Author: Markos Chandras <email address hidden>
Date: Thu Aug 17 13:43:45 2017 +0100

    Vagrantfile: Increase VM memory size to 12G

    Running AIO on Vagrant results in the entire 8G of memory being used.
    This makes the VM really slow after a while and as a result of which
    various services may start to fail due to timeouts. It's best to
    increase the VM memory to 12G in order to make testing on Vagrant
    smoother.

    Related-Bug: #1711376
    Change-Id: Ib371c3513081a82271f18cde340e1cd9465a3da6

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/499499

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible (stable/pike)

Reviewed: https://review.openstack.org/499499
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=bc1717c3a93b9bef95bf9ffade0916d161b76edd
Submitter: Jenkins
Branch: stable/pike

commit bc1717c3a93b9bef95bf9ffade0916d161b76edd
Author: Markos Chandras <email address hidden>
Date: Thu Aug 17 13:43:45 2017 +0100

    Vagrantfile: Increase VM memory size to 12G

    Running AIO on Vagrant results in the entire 8G of memory being used.
    This makes the VM really slow after a while and as a result of which
    various services may start to fail due to timeouts. It's best to
    increase the VM memory to 12G in order to make testing on Vagrant
    smoother.

    Related-Bug: #1711376
    Change-Id: Ib371c3513081a82271f18cde340e1cd9465a3da6
    (cherry picked from commit 15c420206fbef6c18952138aa91d2d60c5220178)

tags: added: in-stable-pike
Changed in openstack-ansible:
status: New → Fix Released
zhongshengping (chdzsp)
Changed in openstack-ansible:
assignee: nobody → zhongshengping (chdzsp)
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.