54005e50da
Change-Id: I4a398b2ea3023250905208f35996015f5a5d5e84
41 lines
1.0 KiB
ReStructuredText
41 lines
1.0 KiB
ReStructuredText
Prerequisites
|
|
-------------
|
|
|
|
#. Source the ``admin`` credentials to gain access to
|
|
admin-only CLI commands:
|
|
|
|
.. code-block:: console
|
|
|
|
$ . admin-openrc
|
|
|
|
#. To create the service credentials, complete these steps:
|
|
|
|
* Create the ``freezer`` user:
|
|
|
|
.. code-block:: console
|
|
|
|
$ openstack user create --domain default --password-prompt freezer
|
|
|
|
* Add the ``admin`` role to the ``freezer`` user:
|
|
|
|
.. code-block:: console
|
|
|
|
$ openstack role add --project service --user freezer admin
|
|
|
|
* Create the freezer service entities:
|
|
|
|
.. code-block:: console
|
|
|
|
$ openstack service create --name freezer --description "Backup" backup
|
|
|
|
#. Create the Backup service API endpoints:
|
|
|
|
.. code-block:: console
|
|
|
|
$ openstack endpoint create --region RegionOne \
|
|
backup public http://controller:9090/
|
|
$ openstack endpoint create --region RegionOne \
|
|
backup internal http://controller:9090/
|
|
$ openstack endpoint create --region RegionOne \
|
|
backup admin http://controller:9090/
|