Reload systemd daemons and start/stop/disable/enable the following services.
Download Ocata registry created in tarballs.openstack.org, skip this step if images used are custom builds or downloaded from DockerHub.
Create kolla registry from downloaded tarball.
Install kolla-ansible.
Configure kolla globals.yml configuration file with the following content.
Change values when necessary (IP addresses, interface names).
This is a sample minimal configuration.
Configure designate options in globals.yml.
dns_interface must be network reachable from nova instances if internal DNS resolution is needed.
Configure inventory, add the nodes in their respective groups.
Generate passwords.
Ensure the environment is ready to deploy with prechecks. Until prechecks does not succeed do not start deployment. Fix what is necessary.
Pull Docker images on the servers, this can be skipped because will be made in deploy step, but doing it first will ensure all the nodes have the images you need and will minimize the deployment time.
Deploy kolla-ansible and do a woot for kolla ;)
Create credentials file and source it.
Check that all containers are running and none of them are restarting or exiting.
Install required python clients
Execute a base OpenStack configuration (public and internal networks, cirros image).
Do no execute this script if custom networks are going to be used.
Create a sample designate zone.
Configure designate sink to make use of the previously created zone, sink will need zone_id to automatically create neutron and nova records into designate.
After configure designate-sink.conf, reconfigure designate to make use of this configuration.
List networks.
Update the network with a dns_domain.
Ensure dns_domain is properly applied.
Create a new instance in the previously updated network.
Once the instance is ACTIVE, check the IP associated.
List records in the designate zone.
As you can see there is a record in designate associated with the instance IP.
Validate that designate resolves the DNS record.
You can use designate mDNS service or directly to bind9 servers to validate the test.
# openstack server list
+--------------------------------------+-------+--------+-------------------+------------+
| ID | Name | Status | Networks | Image Name |
+--------------------------------------+-------+--------+-------------------+------------+
| d483e4ee-58c2-4e1e-9384-85174630428e | demo1 | ACTIVE | demo-net=10.0.0.3 | cirros |
+--------------------------------------+-------+--------+-------------------+------------+
# openstack recordset list sample.openstack.org.
+--------------------------------------+----------------------------------+------+-------------------------------------------+--------+--------+
| id | name | type | records | status | action |
+--------------------------------------+----------------------------------+------+-------------------------------------------+--------+--------+
| 4f70531e-c325-4ffd-a8d3-8172bd5163b8 | sample.openstack.org. | SOA | sample.openstack.org. | ACTIVE | NONE |
| | | | admin.sample.openstack.org. 1487770304 | | |
| | | | 3586 600 86400 3600 | | |
| a9a09c5f-ccf1-4b52-8400-f36e8faa9549 | sample.openstack.org. | NS | sample.openstack.org. | ACTIVE | NONE |
| aa6cd25d-186e-425b-9153-699d8b0811de | 10-0-0-3.sample.openstack.org. | A | 10.0.0.3 | ACTIVE | NONE |
| 713650a5-a45e-470b-9539-74e110b15115 | demo1.None.sample.openstack.org. | A | 10.0.0.3 | ACTIVE | NONE |
| 6506e6f6-f535-45eb-9bfb-4ac1f16c5c9b | demo1.sample.openstack.org. | A | 10.0.0.3 | ACTIVE | NONE |
+--------------------------------------+----------------------------------+------+-------------------------------------------+--------+--------+
# dig +short -p 5354 @172.28.128.3 demo1.sample.openstack.org. A
10.0.0.3
# dig +short -p 53 @172.28.128.3 demo1.sample.openstack.org. A
10.0.0.3