[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
This commit is contained in:
Matthew Kassawara 2016-03-24 13:21:34 -06:00
parent d45e590bb1
commit 51e06f210c
2 changed files with 29 additions and 10 deletions

View File

@ -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

View File

@ -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