Increase gather_facts timeout
Bifrost containers are failing to build occassionally due to udevadm timeouts. This is likely related to an ansible issue, https://github.com/ansible/ansible/issues/43884, which can be worked around by increasing the gather facts timeout value. This change updates it to 30 seconds from the default 10. Change-Id: If252e41a012a24f31cf2f1414657ac18c819228f Closes-Bug: #1812259 Depends-On: https://review.openstack.org/632078
This commit is contained in:
parent
8344c8ea21
commit
e1ee85a560
|
@ -35,6 +35,9 @@ RUN sed -e "s/.*mariadb.*//Ig" -e "s/.*rabbitmq.*//Ig" -i /etc/apt/sources.list
|
|||
&& apt-get purge -y mariadb* mysql*
|
||||
{% endif %}
|
||||
|
||||
{# ANSIBLE_GATHER_TIMEOUT is a workaround for https://github.com/ansible/ansible/issues/43884 #}
|
||||
ENV ANSIBLE_GATHER_TIMEOUT=30
|
||||
|
||||
{% block bifrost_ansible_install %}
|
||||
{% if base_distro in ['debian', 'ubuntu'] %}
|
||||
RUN apt-get update && \
|
||||
|
|
Loading…
Reference in New Issue