Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 10. Troubleshooting the DNS service
By reviewing the Red Hat OpenStack Platform DNS service (designate) logs and using some simple commands, you can verify that the service is running properly. These actions are the first steps in troubleshooting the DNS service.
The topics included in this section are:
10.1. DNS service and BIND logs Link kopierenLink in die Zwischenablage kopiert!
Reviewing the Red Hat OpenStack Platform DNS service (designate) logs, can be useful when troubleshooting issues.
The DNS service logs are located in /var/log/containers/designate. There is one log for each of the component services:
-
central.log -
designate-api.log -
mdns.log -
producer.log -
worker.log
The logs for the BIND server that Red Hat supplies with the RHOSP DNS service are located in /var/log/containers/designate/designate-bind:
-
central.log -
designate-api.log
10.2. Exporting the DNS service pool configuration Link kopierenLink in die Zwischenablage kopiert!
You can use a copy of the DNS pool configuration to troubleshoot the Red Hat OpenStack Platform (RHOSP) DNS service (designate).
In RHOSP 17.1, multiple pools are not supported.
Procedure
Log in to one of the Controller nodes and display the current running DNS service pool configuration to the console.
Example
In this example, the administrator accesses a Controller node,
controller-0.ctlplane, through SSH as thetripleo-adminuser and executes thedesignate-manage pool show_configcommand running in thedesignate_centralcontainer:ssh tripleo-admin@controller-0.ctlplane sudo podman exec \ designate_central designate-manage pool show_config
$ ssh tripleo-admin@controller-0.ctlplane sudo podman exec \ designate_central designate-manage pool show_configCopy to Clipboard Copied! Toggle word wrap Toggle overflow Sample output
Copy to Clipboard Copied! Toggle word wrap Toggle overflow If you want to export the current pool configuration to a file, use the
designate-manage pool generate_filecommand.Example
In this example, the administrator accesses a Controller node,
controller-0.ctlplane, through SSH as thetripleo-adminuser and executes thedesignate-manage pool generate_file --file <file_name>command running in thedesignate_centralcontainer. The DNS service exports the current pool configuration to a file that is specified by the--fileoption, in this example,~/my_dns_service_config.yaml:ssh tripleo-admin@controller-0.ctlplane sudo podman exec \ designate_central designate-manage pool generate_file \ --file ~/my_dns_service_config.yaml
$ ssh tripleo-admin@controller-0.ctlplane sudo podman exec \ designate_central designate-manage pool generate_file \ --file ~/my_dns_service_config.yamlCopy to Clipboard Copied! Toggle word wrap Toggle overflow TipUse the
podman cpcommand to copy files from a container to your local system.
10.3. Listing available DNS service endpoints Link kopierenLink in die Zwischenablage kopiert!
Determining the Red Hat OpenStack Platform DNS service (designate) endpoint and its status, can be useful when troubleshooting issues.
Procedure
Source your credentials file.
Example
source ~/overcloudrc
$ source ~/overcloudrcCopy to Clipboard Copied! Toggle word wrap Toggle overflow List the available RHOSP service endpoints:
openstack endpoint list --service designate -c Interface -c URL
$ openstack endpoint list --service designate -c Interface -c URLCopy to Clipboard Copied! Toggle word wrap Toggle overflow Sample output
Copy to Clipboard Copied! Toggle word wrap Toggle overflow