Multi-region setup issue in Mitaka, invalid service catalog error (Ubuntu 16.04)

asked 2016-11-24 05:04:42 -0500

sba gravatar image

updated 2016-11-24 05:29:02 -0500

Hello,

I have almost successfully setup a multi-region (RegionOne and RegionTwo) environment with a single keystone. Before RegionTwo was configured, RegionOne standalone worked fine with all services.

Identity service runs in RegionOne and all other services run in both RegionOne and RegionTwo. I have two controllers, controller1 and controller2 being used for the endpoint urls. Below outputs describing these.

ubuntu@controller1:~$ openstack service list
+----------------------------------+------------+----------------+
| ID                               | Name       | Type           |
+----------------------------------+------------+----------------+
| 12179c6e214f4e16aa1bcf38fa3a1930 | neutron    | network        |
| 48cb166e11e443629faaad38c596bc3f | glance2    | image          |
| 564fbf3667954ac3900792dfce025bd3 | neutron    | network        |
| 739a952bcd0b4c108abb36924b05e1f4 | ceilometer | metering       |
| 854b620b269b40fd8f2ac130f6d65a57 | nova       | compute        |
| 8ef8bacda4ab4b66b098e21436d2faf1 | keystone   | identity       |
| 95a08731709a4149be08926aefd69130 | heat-cfn   | cloudformation |
| 97c80a5b82fa47d7a0c0035e2dfcc023 | nova       | compute        |
| b3d82df3207342ad8d9e8633bfc1036d | cinderv2   | volumev2       |
| bfa5cef5ce5c418bb07e741fd6c9dd02 | heat       | orchestration  |
| e7d90296186843d5baa7c84ee92c0809 | cinder     | volume         |
| ebba222dd9a74630ad6ebb35fa302f8b | glance     | image          |
+----------------------------------+------------+----------------+

and

ubuntu@controller1:~$ openstack endpoint list
+----------------------------------+-----------+--------------+----------------+---------+-----------+--------------------------------------------+
| ID                               | Region    | Service Name | Service Type   | Enabled | Interface | URL                                        |
+----------------------------------+-----------+--------------+----------------+---------+-----------+--------------------------------------------+
| 010d05dc15da4a088597ab187e6b8bc6 | RegionOne | heat-cfn     | cloudformation | True    | public    | http://controller1:8000/v1                 |
| 06f8387b19904a879608f2f1ff23e0af | RegionOne | keystone     | identity       | True    | public    | http://controller1:5000/v3                 |
| 186d173fde6248518deeb58f060b2c7c | RegionOne | keystone     | identity       | True    | internal  | http://controller1:5000/v3                 |
| 1b1b8dbe250d4e2f9061c39d89057d76 | RegionOne | cinderv2     | volumev2       | True    | public    | http://controller1:8776/v2/%(tenant_id)s   |
| 1c27a2a77e4a4533a92b136bc8d0581e | RegionOne | glance       | image          | True    | internal  | http://controller1:9292                    |
| 2080c56bf9bc46c9966b1b06e94e8064 | RegionOne | neutron      | network        | True    | public    | http://controller1:9696                    |
| 34ca2bbec3e640caa4482925e9cde9c3 | RegionTwo | keystone     | identity       | True    | public    | http://controller1:5000/v3                 |
| 4b1ef6fd66d643a4991e37c0c6cc7da5 | RegionOne | nova         | compute        | True    | admin     | http://controller1:8774/v2.1/%(tenant_id)s |
| 530f8a54c0774fc398a1134a566bd295 | RegionTwo | nova         | compute        | True    | internal  | http://controller2:8774/v2.1/%(tenant_id)s |
| 5449dcac1e1140c69d0a00ff3e9c3d09 | RegionOne | ceilometer   | metering       | True    | public    | http://controller1:8777                    |
| 56dd14eef5304fe38f7103a79c4d6df2 | RegionOne | cinder       | volume         | True    | internal  | http://controller1:8776/v1/%(tenant_id)s   |
| 6ed5bd40a4cf47019cf767193156d1ed | RegionTwo | keystone     | identity       | True    | admin     | http://controller1:35357/v3                |
| 6ffcc33cbc23439aabd329ed18d15fe0 | RegionOne | nova         | compute        | True    | public    | http://controller1:8774/v2.1/%(tenant_id)s |
| 7bdf7b63a4374474889d0160a94c559a | RegionOne | ceilometer   | metering       | True    | internal  | http://controller1:8777                    |
| 814d1daf5bcf4b0792c279b7991f1c9c | RegionOne | heat         | orchestration  | True    | admin     | http://controller1:8004/v1/%(tenant_id)s   |
| 832f30a90eef4eed93e840639996790e | RegionTwo | neutron      | network        | True    | internal  | http://controller2:9696                    |
| 870d6d5978da4f838be95cdfd2798919 | RegionOne | keystone     | identity       | True    | admin     | http://controller1:35357/v3                |
| 8a417c93a94e471abaa2a30f4a87a886 | RegionOne | cinder       | volume         | True    | admin     | http://controller1:8776/v1/%(tenant_id)s   |
| 8c7b10fae0654590904b8c7ebe853e65 | RegionOne | cinderv2     | volumev2       | True    | internal  | http://controller1:8776/v2/%(tenant_id)s   |
| 91a400f7a18a49ce9cf7bb4e9412f8b2 | RegionTwo | glance2      | image          | True    | admin     | http://controller2:9292                    |
| a0a8b9e69ebc403a9848c2f78d3d3b1c | RegionTwo | neutron      | network        | True    | public    | http://controller2:9696                    |
| a5cb22bfe7d7468f9f07444e10cb07fc | RegionTwo | nova         | compute        | True    | public    | http://controller2:8774/v2.1/%(tenant_id)s |
| a7fb7093fa3e445780c9e427f358cceb | RegionOne | cinderv2     | volumev2       | True    | admin     | http://controller1:8776/v2/%(tenant_id)s   |
| a8f0483619c0454d8e3be65b1c90b023 | RegionOne | heat-cfn     | cloudformation | True    | internal  | http://controller1:8000/v1                 |
| aee6f8a202dc48deac62081e00ca6cbd | RegionOne | glance       | image          | True    | public    | http://controller1:9292                    |
| b5e7291b9932409690a5584b2d3db809 | RegionOne | heat         | orchestration  | True    | public    | http://controller1:8004/v1/%(tenant_id)s   |
| b89b6c7043c544b4ae90904e29459fca | RegionTwo | nova         | compute        | True    | admin     | http://controller2:8774/v2.1/%(tenant_id)s |
| ba0a9ecf5c4c453d865177d0186e94c0 | RegionOne | heat         | orchestration  | True    | internal  | http://controller1:8004/v1/%(tenant_id)s   |
| c2433812b66645dca7bd00aef222d4f2 | RegionOne | cinder       | volume         | True    | public    | http://controller1:8776/v1/%(tenant_id)s   |
| c4f46f0c18b741b18a0e869f05d0316b | RegionOne | neutron      | network        | True    | internal  | http://controller1:9696                    |
| c9b39c40f5c9428fa24990a7b58a27d8 | RegionOne | nova         | compute        | True    | internal  | http://controller1:8774/v2.1/%(tenant_id)s |
| ce9df23512494fe680d97fed4004e3db | RegionOne | glance       | image          | True    | admin     | http://controller1:9292                    |
| d8c295b9e79d4ba48cf50e4298cd183f | RegionOne | ceilometer   | metering       | True    | internal  | http://controller1:8777                    |
| dd8143acb64d468b8106c4da28a976e3 | RegionOne | neutron      | network        | True    | admin     | http://controller1:9696                    |
| e34ce3f7b84f49af9203592dc5b0309e | RegionTwo | keystone     | identity       | True    | internal  | http://controller1:5000/v3                 |
| ed2beedffd4f46fc87d4c6da08550c3e | RegionTwo | glance2      | image          | True    | public    | http://controller2 ...
(more)
edit retag flag offensive close merge delete