From 1ab2fc6477c402e29a95fbc93fe4a67950c083df Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 20 Dec 2012 03:13:01 +0000 Subject: Remove availability_zones from service table This is the final step in enabling availability_zones using aggregate metadata. Previously all services had an availability_zone, but the availability_zone is only used for nova-compute. Services such as nova-scheduler, nova-network, nova-conductor have always spanned all availability_zones. After this change only compute nodes (nova-compute), will have an availability_zone. In order to preserve current APIs, when running: * nova host-list (os-hosts) * euca-describe-availability-zones verbose * nova-manage service list Internal services will appear in there own internal availability_zone (CONF.internal_service_availability_zone) Internal zone is hidden in euca-describe-availability_zones (non-verbose) CONF.node_availability_zone has been renamed to CONF.default_availability_zone and is only used by the nova-api and nova-scheduler. CONF.node_availability_zone still works but is deprecated DocImpact Completes blueprint aggregate-based-availability-zones Change-Id: Ib772df5f9ac2865f20df479f8ddce575a9ce3aff --- doc/api_samples/os-hosts/hosts-list-resp.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/api_samples/os-hosts/hosts-list-resp.json b/doc/api_samples/os-hosts/hosts-list-resp.json index d4146c082..5a963c602 100644 --- a/doc/api_samples/os-hosts/hosts-list-resp.json +++ b/doc/api_samples/os-hosts/hosts-list-resp.json @@ -8,22 +8,22 @@ { "host_name": "a98b433151084aee8b1a986e28823b36", "service": "cert", - "zone": "nova" + "zone": "internal" }, { "host_name": "c56158d13a884a87abf9171efb7de9d8", "service": "network", - "zone": "nova" + "zone": "internal" }, { "host_name": "81d5cdcda0014918b3ebd3503a2e5c9a", "service": "scheduler", - "zone": "nova" + "zone": "internal" }, { "host_name": "6e48bfe1a3304b7b86154326328750ae", "service": "conductor", - "zone": "nova" + "zone": "internal" } ] -} \ No newline at end of file +} -- cgit