From 51e06f210c615b318281ba5626ff518801e33c43 Mon Sep 17 00:00:00 2001 From: Matthew Kassawara Date: Thu, 24 Mar 2016 13:21:34 -0600 Subject: [PATCH] [install] Nova updates for Mitaka Update nova configuration for Mitaka. 1) Move API configuration to more obvious location because missing it effectively breaks the service. More of a workaround for distributions that continue to include stale configuration files. 2) Add workaround to remove 'logdir' option on Ubuntu due to inclusion of stale configuration files. 3) Continue explicitly enabling verbose mode due to insufficient logging without it. 4) Add domain ID to user creation command output. Change-Id: I88d3077cb9c475d1428564f198699d3766f9d0be Implements: bp installguide-mitaka --- .../source/nova-compute-install.rst | 13 ++++++++-- .../source/nova-controller-install.rst | 26 +++++++++++++------ 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/doc/install-guide/source/nova-compute-install.rst b/doc/install-guide/source/nova-compute-install.rst index a3ab3457a7..dc3d4d727c 100644 --- a/doc/install-guide/source/nova-compute-install.rst +++ b/doc/install-guide/source/nova-compute-install.rst @@ -212,8 +212,17 @@ Install and configure components ... lock_path = /var/lib/nova/tmp - * (Optional) To assist with troubleshooting, - enable verbose logging in the ``[DEFAULT]`` section: + .. only:: ubuntu + + .. todo: + + https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1506667 + + * Due to a packaging bug, remove the ``logdir`` option from the + ``[DEFAULT]`` section. + + * In the ``[DEFAULT]`` section, enable verbose mode to assist with + potential troubleshooting: .. code-block:: ini diff --git a/doc/install-guide/source/nova-controller-install.rst b/doc/install-guide/source/nova-controller-install.rst index 6175b470c8..b536517d0d 100644 --- a/doc/install-guide/source/nova-controller-install.rst +++ b/doc/install-guide/source/nova-controller-install.rst @@ -65,7 +65,7 @@ Compute service, code-named nova, on the controller node. +-----------+----------------------------------+ | Field | Value | +-----------+----------------------------------+ - | domain_id | default | + | domain_id | e0353a670a9e496da891347c589539e9 | | enabled | True | | id | 8c46e4760902464b889293a74a0c90a8 | | name | nova | @@ -217,6 +217,15 @@ Install and configure components 2. Edit the ``/etc/nova/nova.conf`` file and complete the following actions: + * In the ``[DEFAULT]`` section, enable only the compute and metadata + APIs: + + .. code-block:: ini + + [DEFAULT] + ... + enabled_apis = osapi_compute,metadata + .. only:: obs or rdo or ubuntu * In the ``[api_database]`` and ``[database]`` sections, configure @@ -370,16 +379,17 @@ Install and configure components ... lock_path = /var/lib/nova/tmp - * In the ``[DEFAULT]`` section, disable the EC2 API: + .. only:: ubuntu - .. code-block:: ini + .. todo: - [DEFAULT] - ... - enabled_apis=osapi_compute,metadata + https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1506667 - * (Optional) To assist with troubleshooting, enable verbose - logging in the ``[DEFAULT]`` section: + * Due to a packaging bug, remove the ``logdir`` option from the + ``[DEFAULT]`` section. + + * In the ``[DEFAULT]`` section, enable verbose mode to assist with + potential troubleshooting: .. code-block:: ini