From 1fa2d939280d97c9781b7113a8fe855226200411 Mon Sep 17 00:00:00 2001 From: David TARDIVEL Date: Fri, 13 Nov 2015 16:53:40 +0100 Subject: [PATCH] Use a single command to create the 3 watcher endpoints. --internalurl, --publicurl and --adminurl options are now mandatory for creation of service endpoints into Keystone, by using openstack CLI. Change-Id: Ic5da04e20931de77e747a8bace8833a1850d9dae Closes-Bug: #1515413 --- doc/source/deploy/configuration.rst | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/doc/source/deploy/configuration.rst b/doc/source/deploy/configuration.rst index 907c2b0e4..6f91f1469 100644 --- a/doc/source/deploy/configuration.rst +++ b/doc/source/deploy/configuration.rst @@ -75,7 +75,7 @@ Configure the Identity service for the Watcher service $ keystone user-role-add --user=watcher --tenant=service --role=admin $ keystone user-role-add --user=watcher --tenant=admin --role=admin - or + or (by using python-openstackclient 1.8.0+) .. code-block:: bash @@ -92,30 +92,32 @@ Configure the Identity service for the Watcher service $ keystone service-create --name=watcher --type=infra-optim \ --description="Infrastructure Optimization service" - or + or (by using python-openstackclient 1.8.0+) .. code-block:: bash $ openstack service create --name watcher infra-optim -#. Create the endpoints by replacing YOUR_REGION and WATCHER_API_IP with your region and your - Watcher Service's API node IP address (or FQDN): +#. Create the endpoints by replacing YOUR_REGION and + WATCHER_API_[PUBLIC|ADMIN|INTERNAL]_IP with your region and your + Watcher Service's API node IP addresses (or FQDN): .. code-block:: bash $ keystone endpoint-create \ --service-id=the_service_id_above \ - --publicurl=http://WATCHER_API_IP:9322 \ - --internalurl=http://WATCHER_API_IP:9322 \ - --adminurl=http://WATCHER_API_IP:9322 + --publicurl=http://WATCHER_API_PUBLIC_IP:9322 \ + --internalurl=http://WATCHER_API_INTERNAL_IP:9322 \ + --adminurl=http://WATCHER_API_ADMIN_IP:9322 - or + or (by using python-openstackclient 1.8.0+) .. code-block:: bash - $ openstack endpoint create --region YOUR_REGION watcher public http://WATCHER_API_IP:9322 - $ openstack endpoint create --region YOUR_REGION watcher admin http://WATCHER_API_IP:9322 - $ openstack endpoint create --region YOUR_REGION watcher internal http://WATCHER_API_IP:9322 + $ openstack endpoint create --region YOUR_REGION watcher \ + --publicurl http://WATCHER_API_PUBLIC_IP:9322 \ + --internalurl http://WATCHER_API_INTERNAL_IP:9322 \ + --adminurl http://WATCHER_API_ADMIN_IP:9322 Set up the database for Watcher ------------------------------- @@ -171,7 +173,8 @@ configuration file, in order: Although some configuration options are mentioned here, it is recommended that -you review all the `available options `_ +you review all the +`available options `_ so that the watcher service is configured for your needs. #. The Watcher Service stores information in a database. This guide uses the