Also added no-op zuul jobs to get started Change-Id: I5596d26c78f76020bd08830a7bbe3d1064fad34f
2.2 KiB
Prerequisites
Before you install and configure the certbot-dns-openstack service, you must create a database, service credentials, and API endpoints.
To create the database, complete these steps:
Use the database access client to connect to the database server as the
rootuser:$ mysql -u root -pCreate the
certbot_dns_openstackdatabase:CREATE DATABASE certbot_dns_openstack;Grant proper access to the
certbot_dns_openstackdatabase:GRANT ALL PRIVILEGES ON certbot_dns_openstack.* TO 'certbot_dns_openstack'@'localhost' \ IDENTIFIED BY 'CERTBOT_DNS_OPENSTACK_DBPASS'; GRANT ALL PRIVILEGES ON certbot_dns_openstack.* TO 'certbot_dns_openstack'@'%' \ IDENTIFIED BY 'CERTBOT_DNS_OPENSTACK_DBPASS';Replace
CERTBOT_DNS_OPENSTACK_DBPASSwith a suitable password.Exit the database access client.
exit;
Source the
admincredentials to gain access to admin-only CLI commands:$ . admin-openrcTo create the service credentials, complete these steps:
Create the
certbot_dns_openstackuser:$ openstack user create --domain default --password-prompt certbot_dns_openstackAdd the
adminrole to thecertbot_dns_openstackuser:$ openstack role add --project service --user certbot_dns_openstack adminCreate the certbot_dns_openstack service entities:
$ openstack service create --name certbot_dns_openstack --description "certbot-dns-openstack" certbot-dns-openstack
Create the certbot-dns-openstack service API endpoints:
$ openstack endpoint create --region RegionOne \ certbot-dns-openstack public http://controller:XXXX/vY/%\(tenant_id\)s $ openstack endpoint create --region RegionOne \ certbot-dns-openstack internal http://controller:XXXX/vY/%\(tenant_id\)s $ openstack endpoint create --region RegionOne \ certbot-dns-openstack admin http://controller:XXXX/vY/%\(tenant_id\)s