Merge "Work around nested virt issues on OVH test nodes"
This commit is contained in:
@@ -62,6 +62,10 @@
|
|||||||
path: /etc/nodepool
|
path: /etc/nodepool
|
||||||
register: nodepool_dir
|
register: nodepool_dir
|
||||||
|
|
||||||
|
# OVH nodepool nodes have an issue which causes nested virt
|
||||||
|
# instances to crash with a hardware error, then a dump.
|
||||||
|
# We therefore detect whether we're running on OVH and
|
||||||
|
# force it to use qemu instead.
|
||||||
- name: Discover the OpenStack-Infra mirrors
|
- name: Discover the OpenStack-Infra mirrors
|
||||||
shell: |
|
shell: |
|
||||||
source /etc/ci/mirror_info.sh
|
source /etc/ci/mirror_info.sh
|
||||||
@@ -70,6 +74,9 @@
|
|||||||
echo "openstack_hosts_centos_mirror_url: '${NODEPOOL_CENTOS_MIRROR}'" >> ${NODEPOOL_OVERRIDES}
|
echo "openstack_hosts_centos_mirror_url: '${NODEPOOL_CENTOS_MIRROR}'" >> ${NODEPOOL_OVERRIDES}
|
||||||
echo "opensuse_mirror: '${NODEPOOL_OPENSUSE_MIRROR}'" >> ${NODEPOOL_OVERRIDES}
|
echo "opensuse_mirror: '${NODEPOOL_OPENSUSE_MIRROR}'" >> ${NODEPOOL_OVERRIDES}
|
||||||
echo "opensuse_mirror_obs: 'http://download.opensuse.org'" >> ${NODEPOOL_OVERRIDES}
|
echo "opensuse_mirror_obs: 'http://download.opensuse.org'" >> ${NODEPOOL_OVERRIDES}
|
||||||
|
if [[ ${NODEPOOL_PYPI_MIRROR} == *.ovh.* ]]; then
|
||||||
|
echo "nova_virt_type: 'qemu'" >> ${NODEPOOL_OVERRIDES}
|
||||||
|
fi
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user