Remove nb04

This was a host used to transition to docker run nodepool builders. That
transition has been completed for nb01.opendev.org and nb02.opendev.org
and we don't need the third x86 builder.

Change-Id: I93c7fc9b24476527b451415e7c138cd17f3fdf9f
This commit is contained in:
Clark Boylan
2020-09-18 11:12:04 -07:00
parent 98370830a3
commit 9fdbd56d16
5 changed files with 7 additions and 21 deletions

View File

@@ -14,7 +14,7 @@
import pytest
testinfra_hosts = ['nl01.openstack.org', 'nb04.opendev.org']
testinfra_hosts = ['nl01.openstack.org', 'nb01.opendev.org']
def test_clouds_yaml(host):
@@ -40,20 +40,20 @@ def test_launcher_container_running(host):
assert 'nodepool-docker_nodepool-launcher_1' in cmd.stdout
def test_builder_container_running(host):
if host.backend.get_hostname() != 'nb04.opendev.org':
if host.backend.get_hostname() != 'nb01.opendev.org':
pytest.skip()
cmd = host.run("docker ps -a --format '{{ .Names }}'")
assert 'nodepool-builder-compose_nodepool-builder_1' in cmd.stdout
def test_builder_webserver_running(host):
if host.backend.get_hostname() != 'nb04.opendev.org':
if host.backend.get_hostname() != 'nb01.opendev.org':
pytest.skip()
apache = host.service('apache2')
assert apache.is_running
cmd = host.run('curl --insecure '
'--resolve nb04.opendev.org:443:127.0.0.1 '
'https://nb04.opendev.org/')
'--resolve nb01.opendev.org:443:127.0.0.1 '
'https://nb01.opendev.org/')
assert 'Index of /' in cmd.stdout