From 58728c316e8e40ab3d142a82469ebe3922bdf700 Mon Sep 17 00:00:00 2001 From: Dai Dang Van Date: Tue, 27 Jun 2017 21:19:06 +0700 Subject: [PATCH] Fix missing database privileges and config references Change-Id: Ide6604566f3814eff90074704a8045439a9026d1 Co-authored-By: Nguyen Van Trung --- install-guide/source/install-obs.rst | 7 +++++-- install-guide/source/install-rdo.rst | 7 +++++-- install-guide/source/install-ubuntu.rst | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/install-guide/source/install-obs.rst b/install-guide/source/install-obs.rst index 64d7c32a..1d68f8c6 100644 --- a/install-guide/source/install-obs.rst +++ b/install-guide/source/install-obs.rst @@ -34,6 +34,8 @@ Install and configure components MariaDB [(none)]> CREATE DATABASE designate; MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'localhost' \ IDENTIFIED BY 'DESIGNATE_DBPASS'; + MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'%' \ + IDENTIFIED BY 'DESIGNATE_DBPASS'; #. Install the BIND packages: @@ -92,12 +94,13 @@ Install and configure components .. code-block:: ini [service:api] - api_host = 0.0.0.0 - api_port = 9001 + listen = 0.0.0.0:9001 auth_strategy = keystone enable_api_v1 = True + api_base_uri = http://controller:9001/ enabled_extensions_v1 = quotas, reports enable_api_v2 = True + enabled_extensions_v2 = quotas, reports * In the ``[keystone_authtoken]`` section, configure the following options: diff --git a/install-guide/source/install-rdo.rst b/install-guide/source/install-rdo.rst index 307d5615..6a34838a 100644 --- a/install-guide/source/install-rdo.rst +++ b/install-guide/source/install-rdo.rst @@ -34,6 +34,8 @@ Install and configure components MariaDB [(none)]> CREATE DATABASE designate; MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'localhost' \ IDENTIFIED BY 'DESIGNATE_DBPASS'; + MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'%' \ + IDENTIFIED BY 'DESIGNATE_DBPASS'; #. Install the BIND packages: @@ -92,12 +94,13 @@ Install and configure components .. code-block:: ini [service:api] - api_host = 0.0.0.0 - api_port = 9001 + listen = 0.0.0.0:9001 auth_strategy = keystone enable_api_v1 = True + api_base_uri = http://controller:9001/ enabled_extensions_v1 = quotas, reports enable_api_v2 = True + enabled_extensions_v2 = quotas, reports * In the ``[keystone_authtoken]`` section, configure the following options: diff --git a/install-guide/source/install-ubuntu.rst b/install-guide/source/install-ubuntu.rst index 628e7b63..d13f92df 100644 --- a/install-guide/source/install-ubuntu.rst +++ b/install-guide/source/install-ubuntu.rst @@ -34,6 +34,8 @@ Install and configure components mysql> CREATE DATABASE designate; mysql> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'localhost' \ IDENTIFIED BY 'DESIGNATE_DBPASS'; + mysql> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'%' \ + IDENTIFIED BY 'DESIGNATE_DBPASS'; #. Install the BIND9 packages: @@ -89,12 +91,13 @@ Install and configure components .. code-block:: ini [service:api] - api_host = 0.0.0.0 - api_port = 9001 + listen = 0.0.0.0:9001 auth_strategy = keystone enable_api_v1 = True + api_base_uri = http://controller:9001/ enabled_extensions_v1 = quotas, reports enable_api_v2 = True + enabled_extensions_v2 = quotas, reports * In the ``[keystone_authtoken]`` section, configure the following options: