Add a description of stopping ironic-api.service

According to the original document, before configuring ironic-api
behind mod_wsgi and restarting the httpd service, the ironic-api
service has been started. The port has been monitored by
ironic-api.service, and the error "Apache fails to start, Address
already in use" will be reported when the httpd service is restarted.

Add a description of stopping and disabling the ironic-api service
before starting httpd service.

task: 43713
Change-Id: Idc965d80d0fbaa348453a94ae45318157b2c0d0c
This commit is contained in:
Han Guangyu 2021-10-21 21:03:08 +08:00
parent c1a067c145
commit dc3fefe6a0

View File

@ -52,6 +52,19 @@ Bare Metal service comes with an example file for configuring the
to the right directory (on Red Hat systems this is usually under
/var/log/httpd).
#. Stop and disable the ironic-api service. If ironic-api service is
started, the port will be occupied. Apach will fail to start:
Fedora/RHEL8/CentOS8/SUSE::
sudo systemctl stop openstack-ironic-api
sudo systemctl disable openstack-ironic-api
Debian/Ubuntu::
sudo service ironic-api stop
sudo service ironic-api disable
#. Enable the apache ``ironic`` in site and reload:
Fedora/RHEL8/CentOS8::