Skip to content

Commit 0235eca

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Remove placement from nova install docs"
2 parents e905a69 + f21b071 commit 0235eca

File tree

5 files changed

+67
-423
lines changed

5 files changed

+67
-423
lines changed

doc/source/install/controller-install-obs.rst

Lines changed: 12 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ databases, service credentials, and API endpoints.
1919
2020
$ mysql -u root -p
2121
22-
* Create the ``nova_api``, ``nova``, ``nova_cell0``, and ``placement``
23-
databases:
22+
* Create the ``nova_api``, ``nova``, and ``nova_cell0`` databases:
2423

2524
.. code-block:: console
2625
2726
MariaDB [(none)]> CREATE DATABASE nova_api;
2827
MariaDB [(none)]> CREATE DATABASE nova;
2928
MariaDB [(none)]> CREATE DATABASE nova_cell0;
30-
MariaDB [(none)]> CREATE DATABASE placement;
3129
3230
* Grant proper access to the databases:
3331

@@ -48,12 +46,7 @@ databases, service credentials, and API endpoints.
4846
MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova_cell0.* TO 'nova'@'%' \
4947
IDENTIFIED BY 'NOVA_DBPASS';
5048
51-
MariaDB [(none)]> GRANT ALL PRIVILEGES ON placement.* TO 'placement'@'localhost' \
52-
IDENTIFIED BY 'PLACEMENT_DBPASS';
53-
MariaDB [(none)]> GRANT ALL PRIVILEGES ON placement.* TO 'placement'@'%' \
54-
IDENTIFIED BY 'PLACEMENT_DBPASS';
55-
56-
Replace ``NOVA_DBPASS`` and ``PLACEMENT_DBPASS`` with a suitable password.
49+
Replace ``NOVA_DBPASS`` with a suitable password.
5750

5851
* Exit the database access client.
5952

@@ -166,107 +159,6 @@ databases, service credentials, and API endpoints.
166159
| url | http://controller:8774/v2.1 |
167160
+--------------+-------------------------------------------+
168161
169-
#. Create a Placement service user using your chosen ``PLACEMENT_PASS``:
170-
171-
.. code-block:: console
172-
173-
$ openstack user create --domain default --password-prompt placement
174-
175-
User Password:
176-
Repeat User Password:
177-
+---------------------+----------------------------------+
178-
| Field | Value |
179-
+---------------------+----------------------------------+
180-
| domain_id | default |
181-
| enabled | True |
182-
| id | fa742015a6494a949f67629884fc7ec8 |
183-
| name | placement |
184-
| options | {} |
185-
| password_expires_at | None |
186-
+---------------------+----------------------------------+
187-
188-
#. Add the Placement user to the service project with the admin role:
189-
190-
.. code-block:: console
191-
192-
$ openstack role add --project service --user placement admin
193-
194-
.. note::
195-
196-
This command provides no output.
197-
198-
#. Create the Placement API entry in the service catalog:
199-
200-
.. code-block:: console
201-
202-
$ openstack service create --name placement \
203-
--description "Placement API" placement
204-
205-
+-------------+----------------------------------+
206-
| Field | Value |
207-
+-------------+----------------------------------+
208-
| description | Placement API |
209-
| enabled | True |
210-
| id | 2d1a27022e6e4185b86adac4444c495f |
211-
| name | placement |
212-
| type | placement |
213-
+-------------+----------------------------------+
214-
215-
#. Create the Placement API service endpoints:
216-
217-
.. code-block:: console
218-
219-
$ openstack endpoint create --region RegionOne \
220-
placement public http://controller:8780
221-
222-
+--------------+----------------------------------+
223-
| Field | Value |
224-
+--------------+----------------------------------+
225-
| enabled | True |
226-
| id | 2b1b2637908b4137a9c2e0470487cbc0 |
227-
| interface | public |
228-
| region | RegionOne |
229-
| region_id | RegionOne |
230-
| service_id | 2d1a27022e6e4185b86adac4444c495f |
231-
| service_name | placement |
232-
| service_type | placement |
233-
| url | http://controller:8780 |
234-
+--------------+----------------------------------+
235-
236-
$ openstack endpoint create --region RegionOne \
237-
placement internal http://controller:8780
238-
239-
+--------------+----------------------------------+
240-
| Field | Value |
241-
+--------------+----------------------------------+
242-
| enabled | True |
243-
| id | 02bcda9a150a4bd7993ff4879df971ab |
244-
| interface | internal |
245-
| region | RegionOne |
246-
| region_id | RegionOne |
247-
| service_id | 2d1a27022e6e4185b86adac4444c495f |
248-
| service_name | placement |
249-
| service_type | placement |
250-
| url | http://controller:8780 |
251-
+--------------+----------------------------------+
252-
253-
$ openstack endpoint create --region RegionOne \
254-
placement admin http://controller:8780
255-
256-
+--------------+----------------------------------+
257-
| Field | Value |
258-
+--------------+----------------------------------+
259-
| enabled | True |
260-
| id | 3d71177b9e0f406f98cbff198d74b182 |
261-
| interface | admin |
262-
| region | RegionOne |
263-
| region_id | RegionOne |
264-
| service_id | 2d1a27022e6e4185b86adac4444c495f |
265-
| service_name | placement |
266-
| service_type | placement |
267-
| url | http://controller:8780 |
268-
+--------------+----------------------------------+
269-
270162
Install and configure components
271163
--------------------------------
272164

@@ -293,7 +185,7 @@ Install and configure components
293185
294186
# zypper install openstack-nova-api openstack-nova-scheduler \
295187
openstack-nova-conductor openstack-nova-consoleauth \
296-
openstack-nova-novncproxy openstack-nova-placement-api iptables
188+
openstack-nova-novncproxy iptables
297189
298190
#. Edit the ``/etc/nova/nova.conf`` file and complete the following actions:
299191

@@ -307,8 +199,8 @@ Install and configure components
307199
# ...
308200
enabled_apis = osapi_compute,metadata
309201
310-
* In the ``[api_database]``, ``[database]``, and ``[placement_database]``
311-
sections, configure database access:
202+
* In the ``[api_database]`` and ``[database]`` sections, configure database
203+
access:
312204

313205
.. path /etc/nova/nova.conf
314206
.. code-block:: ini
@@ -321,12 +213,8 @@ Install and configure components
321213
# ...
322214
connection = mysql+pymysql://nova:NOVA_DBPASS@controller/nova
323215
324-
[placement_database]
325-
# ...
326-
connection = mysql+pymysql://placement:PLACEMENT_DBPASS@controller/placement
327-
328216
Replace ``NOVA_DBPASS`` with the password you chose for the Compute
329-
databases and ``PLACEMENT_DBPASS`` for Placement database.
217+
databases.
330218

331219
* In the ``[DEFAULT]`` section, configure ``RabbitMQ`` message queue access:
332220

@@ -432,7 +320,8 @@ Install and configure components
432320
# ...
433321
lock_path = /var/run/nova
434322
435-
* In the ``[placement]`` section, configure the Placement API:
323+
* In the ``[placement]`` section, configure access to the Placement
324+
service:
436325

437326
.. path /etc/nova/nova.conf
438327
.. code-block:: ini
@@ -449,10 +338,11 @@ Install and configure components
449338
password = PLACEMENT_PASS
450339
451340
Replace ``PLACEMENT_PASS`` with the password you choose for the
452-
``placement`` user in the Identity service. Comment out any other options
453-
in the ``[placement]`` section.
341+
``placement`` service user created when installing
342+
:placement-doc:`Placement <install/>`. Comment out or remove any other
343+
options in the ``[placement]`` section.
454344

455-
#. Populate the ``nova-api`` and ``placement`` databases:
345+
#. Populate the ``nova-api`` database:
456346

457347
.. code-block:: console
458348
@@ -496,14 +386,6 @@ Install and configure components
496386
Finalize installation
497387
---------------------
498388

499-
* Enable the placement API Apache vhost:
500-
501-
.. code-block:: console
502-
503-
# mv /etc/apache2/vhosts.d/nova-placement-api.conf.sample \
504-
/etc/apache2/vhosts.d/nova-placement-api.conf
505-
# systemctl reload apache2.service
506-
507389
* Start the Compute services and configure them to start when the system boots:
508390

509391
.. code-block:: console

0 commit comments

Comments
 (0)