[Antelope][Designate] - Zone creation is in PENDING state and then ERROR out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
OS - Ubuntu 22.04
OSA - Antelope 2023.1
We had deployed OSA-Antelope, we tried to enable Designate based on our understanding with below config details:-
* updated openstack_
~~~
dnsaas_hosts: *infrastructure
~~~
* updated user_variables.yml
~~~
horizon_
~~~
* env.d/designate
~~~
physical_skel:
dnsaas_
belongs_to:
- all_containers
container_skel:
designate_
belongs_to:
- dnsaas_containers
contains:
- designate_bind
component_skel:
designate_bind:
belongs_to:
- designate_bind
~~~
* user_local_
~~~
# Ansible managed
designate_
- name: default
# The name is immutable. It is used by designate to reference this pool
description: "Default Pool"
attributes: {}
ns_records:
- hostname: controller1.
priority: 1
nameservers:
- host: 192.168.125.10
port: 53
targets:
- type: bind9
description: "BIND9 Server"
masters:
- host: 192.168.125.10
port: 5354
options:
host: 192.168.125.10
port: 53
rndc_host: 192.168.125.10
rndc_port: 953
~~~
* Ran the plabook ``os-designate-
* Both the playbook ran succefully without failure.
* We checked the containers. They are healthy.
~~~
# lxc-ls -f | grep designate
controller1_
controller1_
~~~
* We checked the services inside the desginate container. All was running.
~~~
# systemctl -a | grep designate
designate-
designate-
designate-
designate-
designate-
designate-
designate.slice loaded active active Slice /designate
~~~
* We also check from the openstack-client the services are Active and UP.
~~~
# openstack dns service list
+------
| id | hostname | service_name | status | stats | capabilities |
+------
| f9273265-
| bbe0cb79-
| d45850a4-
| ff6d55a0-
| 17e5ee4d-
| 7e73626a-
+------
~~~
* tried creating the zone , but it errored out:-
~~~
openstack zone create --email <email address hidden> server1.com.
~~~
~~~
# openstack zone list
+------
| id | name | type | serial | status | action |
+------
| 66aaebc0-
+------
~~~
Full trace is here:-
~~~
https:/
~~~
Thank you so much.
Changed in openstack-ansible: | |
status: | New → Invalid |
Ok, so issue here boils down to `"Table 'designate.zones' doesn't exist"` after deployment.
Can I kindly ask you for the following extra information here?
1. Inside utility container execute: mysql -e "SELECT version_num FROM designate. alembic_ version" release venvs/designate -${DISTRIB_ RELEASE} /bin/designate- manage database sync
2. Inside utility container execute: mysql -e "SHOW TABLES" designate
3. From the designate container:
source /etc/openstack-
/openstack/
echo $?
That will allow to understand ongoing issue better.