designate/install-guide/source/common_prerequisites.rst
Graham Hayes 0efcd596af Install Guide Plugin
Change-Id: If85c856cd1bbdeb0a528ac2747b168cbafcd3c31
Closes-Bug: #1602746
Related-Bug: #1590937
2017-02-14 18:00:15 +00:00

39 lines
956 B
ReStructuredText

Prerequisites
-------------
Before you install and configure the DNS service,
you must create service credentials and API endpoints.
#. Source the ``admin`` credentials to gain access to
admin-only CLI commands:
.. code-block:: console
$ source admin-openrc
#. To create the service credentials, complete these steps:
* Create the ``designate`` user:
.. code-block:: console
$ openstack user create --domain default --password-prompt designate
* Add the ``admin`` role to the ``designate`` user:
.. code-block:: console
$ openstack role add --project service --user designate admin
* Create the designate service entities:
.. code-block:: console
$ openstack service create --name designate --description "DNS" dns
#. Create the DNS service API endpoint:
.. code-block:: console
$ openstack endpoint create --region RegionOne \
dns public http://controller:9001/