Unwedge the openstack-ansible-tests gate

This is a combined patch that does two things:

1. Set the LXC download mirror properly

The LXC reverse proxy from nodepool was not being used by the
lxc_hosts role and this patch fixes it.

Closes-Bug: 1716958

2. Pin the keystone role SHA

Keystone has removed various v2 APIs but tempest still wants to
test them. This buys us some time to get tempest fixed and
we can remove the pin.

Related-Bug: 1717011
Change-Id: Idf55daa853ff73602bfe6d2862080bfd874e17f4
This commit is contained in:
Major Hayden 2017-09-14 09:59:23 -06:00
parent 88b2e56dbd
commit b068c49aca
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1
2 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,7 @@
- name: Discover the lxc_image_cache_server value when in nodepool
shell: |
source /etc/ci/mirror_info.sh
echo "${NODEPOOL_MIRROR_HOST}:8080/images.linuxcontainers"
echo "http://${NODEPOOL_MIRROR_HOST}:8080/images.linuxcontainers/"
args:
executable: /bin/bash
register: lxc_reverse_proxy
@ -34,7 +34,7 @@
- name: Set a fact to override lxc_image_cache_server value when in nodepool
set_fact:
lxc_image_cache_server: "{{ lxc_reverse_proxy.stdout }}"
lxc_image_cache_server_mirrors: "{{ [lxc_reverse_proxy.stdout] }}"
when:
- nodepool.stat.exists | bool

View File

@ -120,7 +120,10 @@ keystone_galera_address: "{{ test_galera_host }}"
keystone_container_mysql_password: "SuperSecrete"
keystone_venv_tag: "testing"
keystone_developer_mode: true
keystone_git_install_branch: "{{ test_branch }}"
# NOTE(mhayden): Pin keystone to a commit prior to the removal of v2
# API endpoints. This can be removed when bug 1717011 is fixed and
# v2 tempest tests are excluded.
keystone_git_install_branch: 02dce056784cbf4b54d9d66e6d8451868e939a0a
keystone_service_region: RegionOne
# Glance specific settings