Merge "Fixes change to unix_socket authentication"
This commit is contained in:
commit
574b477cfd
@ -7,6 +7,19 @@ guide use MariaDB or MySQL depending on the distribution. OpenStack
|
|||||||
services also support other SQL databases including
|
services also support other SQL databases including
|
||||||
`PostgreSQL <http://www.postgresql.org/>`__.
|
`PostgreSQL <http://www.postgresql.org/>`__.
|
||||||
|
|
||||||
|
.. only:: ubuntu
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
As of Ubuntu 15.10, MariaDB was changed to use
|
||||||
|
the "unix_socket Authentication Plugin". Local authentication is
|
||||||
|
now preformed using the user credentials (UID) and password
|
||||||
|
authentication is no longer used by default. This means that
|
||||||
|
the root user no longer uses a password for local access to
|
||||||
|
the server.
|
||||||
|
|
||||||
|
.. endonly
|
||||||
|
|
||||||
Install and configure components
|
Install and configure components
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ mysql -u root -p
|
# mysql
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ . admin-openrc
|
# . admin-openrc
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack user create --domain default --password-prompt glance
|
# openstack user create --domain default --password-prompt glance
|
||||||
|
|
||||||
User Password:
|
User Password:
|
||||||
Repeat User Password:
|
Repeat User Password:
|
||||||
@ -82,7 +82,7 @@ create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack role add --project service --user glance admin
|
# openstack role add --project service --user glance admin
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack service create --name glance \
|
# openstack service create --name glance \
|
||||||
--description "OpenStack Image" image
|
--description "OpenStack Image" image
|
||||||
|
|
||||||
+-------------+----------------------------------+
|
+-------------+----------------------------------+
|
||||||
@ -113,7 +113,7 @@ create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
image public http://controller:9292
|
image public http://controller:9292
|
||||||
|
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -130,7 +130,7 @@ create a database, service credentials, and API endpoints.
|
|||||||
| url | http://controller:9292 |
|
| url | http://controller:9292 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
image internal http://controller:9292
|
image internal http://controller:9292
|
||||||
|
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -147,7 +147,7 @@ create a database, service credentials, and API endpoints.
|
|||||||
| url | http://controller:9292 |
|
| url | http://controller:9292 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
image admin http://controller:9292
|
image admin http://controller:9292
|
||||||
|
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
@ -21,7 +21,7 @@ database and an administration token.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ mysql -u root -p
|
# mysql
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -334,13 +334,13 @@ Finalize the installation
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ export OS_USERNAME=admin
|
# export OS_USERNAME=admin
|
||||||
$ export OS_PASSWORD=ADMIN_PASS
|
# export OS_PASSWORD=ADMIN_PASS
|
||||||
$ export OS_PROJECT_NAME=admin
|
# export OS_PROJECT_NAME=admin
|
||||||
$ export OS_USER_DOMAIN_NAME=Default
|
# export OS_USER_DOMAIN_NAME=Default
|
||||||
$ export OS_PROJECT_DOMAIN_NAME=Default
|
# export OS_PROJECT_DOMAIN_NAME=Default
|
||||||
$ export OS_AUTH_URL=http://controller:35357/v3
|
# export OS_AUTH_URL=http://controller:35357/v3
|
||||||
$ export OS_IDENTITY_API_VERSION=3
|
# export OS_IDENTITY_API_VERSION=3
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ must create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ mysql -u root -p
|
# mysql
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ must create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ . admin-openrc
|
# . admin-openrc
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ must create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack user create --domain default --password-prompt neutron
|
# openstack user create --domain default --password-prompt neutron
|
||||||
|
|
||||||
User Password:
|
User Password:
|
||||||
Repeat User Password:
|
Repeat User Password:
|
||||||
@ -75,7 +75,7 @@ must create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack role add --project service --user neutron admin
|
# openstack role add --project service --user neutron admin
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ must create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack service create --name neutron \
|
# openstack service create --name neutron \
|
||||||
--description "OpenStack Networking" network
|
--description "OpenStack Networking" network
|
||||||
|
|
||||||
+-------------+----------------------------------+
|
+-------------+----------------------------------+
|
||||||
@ -106,7 +106,7 @@ must create a database, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
network public http://controller:9696
|
network public http://controller:9696
|
||||||
|
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -123,7 +123,7 @@ must create a database, service credentials, and API endpoints.
|
|||||||
| url | http://controller:9696 |
|
| url | http://controller:9696 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
network internal http://controller:9696
|
network internal http://controller:9696
|
||||||
|
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
@ -140,7 +140,7 @@ must create a database, service credentials, and API endpoints.
|
|||||||
| url | http://controller:9696 |
|
| url | http://controller:9696 |
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
network admin http://controller:9696
|
network admin http://controller:9696
|
||||||
|
|
||||||
+--------------+----------------------------------+
|
+--------------+----------------------------------+
|
||||||
|
@ -17,7 +17,7 @@ create databases, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ mysql -u root -p
|
# mysql
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ create databases, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ . admin-openrc
|
# . admin-openrc
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ create databases, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack user create --domain default \
|
# openstack user create --domain default \
|
||||||
--password-prompt nova
|
--password-prompt nova
|
||||||
|
|
||||||
User Password:
|
User Password:
|
||||||
@ -85,7 +85,7 @@ create databases, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack role add --project service --user nova admin
|
# openstack role add --project service --user nova admin
|
||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ create databases, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack service create --name nova \
|
# openstack service create --name nova \
|
||||||
--description "OpenStack Compute" compute
|
--description "OpenStack Compute" compute
|
||||||
|
|
||||||
+-------------+----------------------------------+
|
+-------------+----------------------------------+
|
||||||
@ -116,7 +116,7 @@ create databases, service credentials, and API endpoints.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
compute public http://controller:8774/v2.1/%\(tenant_id\)s
|
compute public http://controller:8774/v2.1/%\(tenant_id\)s
|
||||||
|
|
||||||
+--------------+-------------------------------------------+
|
+--------------+-------------------------------------------+
|
||||||
@ -133,7 +133,7 @@ create databases, service credentials, and API endpoints.
|
|||||||
| url | http://controller:8774/v2.1/%(tenant_id)s |
|
| url | http://controller:8774/v2.1/%(tenant_id)s |
|
||||||
+--------------+-------------------------------------------+
|
+--------------+-------------------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
compute internal http://controller:8774/v2.1/%\(tenant_id\)s
|
compute internal http://controller:8774/v2.1/%\(tenant_id\)s
|
||||||
|
|
||||||
+--------------+-------------------------------------------+
|
+--------------+-------------------------------------------+
|
||||||
@ -150,7 +150,7 @@ create databases, service credentials, and API endpoints.
|
|||||||
| url | http://controller:8774/v2.1/%(tenant_id)s |
|
| url | http://controller:8774/v2.1/%(tenant_id)s |
|
||||||
+--------------+-------------------------------------------+
|
+--------------+-------------------------------------------+
|
||||||
|
|
||||||
$ openstack endpoint create --region RegionOne \
|
# openstack endpoint create --region RegionOne \
|
||||||
compute admin http://controller:8774/v2.1/%\(tenant_id\)s
|
compute admin http://controller:8774/v2.1/%\(tenant_id\)s
|
||||||
|
|
||||||
+--------------+-------------------------------------------+
|
+--------------+-------------------------------------------+
|
||||||
|
Loading…
Reference in New Issue
Block a user