[install] Fix endpoint creation
Register endpoints using the controller IP and not the controller alias. Having the endpoints set with the alias doesn't allow compute instances created by magnum to access magnum's API. Change-Id: I475ede00123765823cefc47d2e0c75776a2cbc06
This commit is contained in:
parent
438c46e450
commit
e160a9fa8c
@ -136,7 +136,7 @@ service, you must create a database, service credentials, and API endpoints.
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
container-infra public http://controller:9511/v1
|
container-infra public http://CONTROLLER_IP:9511/v1
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -148,11 +148,11 @@ service, you must create a database, service credentials, and API endpoints.
|
|||||||
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
||||||
| service_name | magnum |
|
| service_name | magnum |
|
||||||
| service_type | container-infra |
|
| service_type | container-infra |
|
||||||
| url | http://controller:9511/v1 |
|
| url | http://CONTROLLER_IP:9511/v1 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
container-infra internal http://controller:9511/v1
|
container-infra internal http://CONTROLLER_IP:9511/v1
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -164,11 +164,11 @@ service, you must create a database, service credentials, and API endpoints.
|
|||||||
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
||||||
| service_name | magnum |
|
| service_name | magnum |
|
||||||
| service_type | container-infra |
|
| service_type | container-infra |
|
||||||
| url | http://controller:9511/v1 |
|
| url | http://CONTROLLER_IP:9511/v1 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
container-infra admin http://controller:9511/v1
|
container-infra admin http://CONTROLLER_IP:9511/v1
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -180,9 +180,12 @@ service, you must create a database, service credentials, and API endpoints.
|
|||||||
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
||||||
| service_name | magnum |
|
| service_name | magnum |
|
||||||
| service_type | container-infra |
|
| service_type | container-infra |
|
||||||
| url | http://controller:9511/v1 |
|
| url | http://CONTROLLER_IP:9511/v1 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
|
Replace ``CONTROLLER_IP`` with the IP magnum listens to. Alternatively,
|
||||||
|
you can use a hostname which is reachable by the Compute instances.
|
||||||
|
|
||||||
#. Magnum requires additional information in the Identity service to
|
#. Magnum requires additional information in the Identity service to
|
||||||
manage clusters. To add this information, complete these steps:
|
manage clusters. To add this information, complete these steps:
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ service, you must create a database, service credentials, and API endpoints.
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
container-infra public http://controller:9511/v1
|
container-infra public http://CONTROLLER_IP:9511/v1
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -103,11 +103,11 @@ service, you must create a database, service credentials, and API endpoints.
|
|||||||
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
||||||
| service_name | magnum |
|
| service_name | magnum |
|
||||||
| service_type | container-infra |
|
| service_type | container-infra |
|
||||||
| url | http://controller:9511/v1 |
|
| url | http://CONTROLLER_IP:9511/v1 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
container-infra internal http://controller:9511/v1
|
container-infra internal http://CONTROLLER_IP:9511/v1
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -119,11 +119,11 @@ service, you must create a database, service credentials, and API endpoints.
|
|||||||
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
||||||
| service_name | magnum |
|
| service_name | magnum |
|
||||||
| service_type | container-infra |
|
| service_type | container-infra |
|
||||||
| url | http://controller:9511/v1 |
|
| url | http://CONTROLLER_IP:9511/v1 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
$ openstack endpoint create --region RegionOne \
|
||||||
container-infra admin http://controller:9511/v1
|
container-infra admin http://CONTROLLER_IP:9511/v1
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -135,9 +135,12 @@ service, you must create a database, service credentials, and API endpoints.
|
|||||||
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
| service_id | 0f7f62a1f1a247d2a4cb237642814d0e |
|
||||||
| service_name | magnum |
|
| service_name | magnum |
|
||||||
| service_type | container-infra |
|
| service_type | container-infra |
|
||||||
| url | http://controller:9511/v1 |
|
| url | http://CONTROLLER_IP:9511/v1 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
|
Replace ``CONTROLLER_IP`` with the IP magnum listens to. Alternatively,
|
||||||
|
you can use a hostname which is reachable by the Compute instances.
|
||||||
|
|
||||||
#. Magnum requires additional information in the Identity service to
|
#. Magnum requires additional information in the Identity service to
|
||||||
manage COE clusters. To add this information, complete these steps:
|
manage COE clusters. To add this information, complete these steps:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user