diff --git a/doc/api_samples/os-hosts/hosts-list-resp.json b/doc/api_samples/os-hosts/hosts-list-resp.json index 0c4126a7e0..21a7267f9f 100644 --- a/doc/api_samples/os-hosts/hosts-list-resp.json +++ b/doc/api_samples/os-hosts/hosts-list-resp.json @@ -29,6 +29,11 @@ "host_name": "39f55087a1024d1380755951c945ca69", "service": "cells", "zone": "internal" + }, + { + "host_name": "7a9a6cb4701f4dee9048fe0bc25d0ee5", + "service": "consoleauth", + "zone": "internal" } ] } diff --git a/doc/api_samples/os-hosts/hosts-list-resp.xml b/doc/api_samples/os-hosts/hosts-list-resp.xml index 1ba444328c..b651e732cb 100644 --- a/doc/api_samples/os-hosts/hosts-list-resp.xml +++ b/doc/api_samples/os-hosts/hosts-list-resp.xml @@ -6,4 +6,5 @@ - \ No newline at end of file + + diff --git a/nova/tests/integrated/api_samples/os-hosts/hosts-list-resp.json.tpl b/nova/tests/integrated/api_samples/os-hosts/hosts-list-resp.json.tpl index 504f66f595..9fb47106db 100644 --- a/nova/tests/integrated/api_samples/os-hosts/hosts-list-resp.json.tpl +++ b/nova/tests/integrated/api_samples/os-hosts/hosts-list-resp.json.tpl @@ -29,6 +29,11 @@ "host_name": "%(host_name)s", "service": "cells", "zone": "internal" + }, + { + "host_name": "%(host_name)s", + "service": "consoleauth", + "zone": "internal" } ] } diff --git a/nova/tests/integrated/api_samples/os-hosts/hosts-list-resp.xml.tpl b/nova/tests/integrated/api_samples/os-hosts/hosts-list-resp.xml.tpl index b5971738c1..a031c9b661 100644 --- a/nova/tests/integrated/api_samples/os-hosts/hosts-list-resp.xml.tpl +++ b/nova/tests/integrated/api_samples/os-hosts/hosts-list-resp.xml.tpl @@ -6,4 +6,5 @@ + diff --git a/nova/tests/integrated/integrated_helpers.py b/nova/tests/integrated/integrated_helpers.py index d96e253296..82d0bde374 100644 --- a/nova/tests/integrated/integrated_helpers.py +++ b/nova/tests/integrated/integrated_helpers.py @@ -83,7 +83,8 @@ class _IntegratedTestBase(test.TestCase): self.conductor = self.start_service('conductor', manager=CONF.conductor.manager) self.compute = self.start_service('compute') - self.scheduler = self.start_service('cert') + self.cert = self.start_service('cert') + self.consoleauth = self.start_service('consoleauth') self.network = self.start_service('network') self.scheduler = self.start_service('scheduler') self.cells = self.start_service('cells', manager=CONF.cells.manager)