diff options
author | Han Guangyu <hanguangyu@uniontech.com> | 2021-10-21 21:03:08 +0800 |
---|---|---|
committer | Han Guangyu <hanguangyu@uniontech.com> | 2021-10-21 21:04:35 +0800 |
commit | dc3fefe6a0f6101cb2568e5f20ed1e7a0474f155 (patch) | |
tree | d1b637d202afd452a8fe4e7831fac1b2f84d799c /doc | |
parent | c1a067c14521c0010fb96e4c629899ec7aef2878 (diff) | |
download | ironic-dc3fefe6a0f6101cb2568e5f20ed1e7a0474f155.tar.gz |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/install/include/configure-ironic-api-mod_wsgi.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/source/install/include/configure-ironic-api-mod_wsgi.inc b/doc/source/install/include/configure-ironic-api-mod_wsgi.inc index 235cf1baa..892b7ad47 100644 --- a/doc/source/install/include/configure-ironic-api-mod_wsgi.inc +++ b/doc/source/install/include/configure-ironic-api-mod_wsgi.inc @@ -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:: |