Update nodepool launchers to focal in testing

We are beginning the process to start updating these servers from xenial
to focal. Update the system-config-run-nodepool test platform to reflect
this. We can land this once the production servers have been updated but
until then this should give us an idea if things are working properly.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/776979
Change-Id: Id6b32a950b69ed15fb1ce54c880b66b379b02fdf
This commit is contained in:
Clark Boylan 2021-02-22 10:25:25 -08:00
parent 2a0ea75fb7
commit 54cead69d4
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@
import pytest
testinfra_hosts = ['nl01.openstack.org', 'nb01.opendev.org']
testinfra_hosts = ['nl01.opendev.org', 'nb01.opendev.org']
def test_clouds_yaml(host):
@ -33,7 +33,7 @@ def test_kube_config(host):
assert b'nodepool_k8s_key' in kubeconfig.content
def test_launcher_container_running(host):
if host.backend.get_hostname() != 'nl01.openstack.org':
if host.backend.get_hostname() != 'nl01.opendev.org':
pytest.skip()
cmd = host.run("docker ps -a --format '{{ .Names }}'")

View File

@ -231,8 +231,8 @@
label: ubuntu-bionic
- name: zk01.opendev.org
label: ubuntu-bionic
- name: nl01.openstack.org
label: ubuntu-xenial
- name: nl01.opendev.org
label: ubuntu-focal
- name: nb01.opendev.org
label: ubuntu-bionic
required-projects:
@ -240,7 +240,7 @@
- opendev/system-config
- openstack/project-config
host-vars:
nl01.openstack.org:
nl01.opendev.org:
host_copy_output:
'/etc/nodepool/nodepool.yaml': logs
'/var/log/nodepool/launcher-debug.log': logs