Aodh-api keep restarting caused by port conflict.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
Unassigned | ||
Rocky |
Fix Released
|
Medium
|
Unassigned | ||
Stein |
Fix Released
|
Medium
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In Ubuntu binary container. The aodh-api keep restarting after deployment.
Check its docker logs and found below errors:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.111.82.2. Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:8042
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:8042
no listening sockets available, shutting down
This issue is similar to https:/
Checked the container and found:
/etc/apache2/
/etc/apache2/
existed inside the aodh-api container.
We may need to delete these config file either when building the images on Ubuntu binary.
Reviewed: https:/ /review. opendev. org/670832 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=5eb780d0b0d 12186c57b828320 c3421b98b97840
Committed: https:/
Submitter: Zuul
Branch: master
commit 5eb780d0b0d1218 6c57b828320c342 1b98b97840
Author: Eddie Yen <email address hidden>
Date: Mon Jul 15 13:20:39 2019 +0000
Delete default gnocchi & aodh wsgi conf in Ubuntu binary
Ubuntu distro package will create default wsgi conf in apache
during gnocchi-api and aodh-api installation. We need to delete
them since we only use the conf that pushed by kolla-ansible.
Change-Id: Ib31e733eba12de ebdf469c306dfba 4191a1b89f5
Related-Bug: 1832306
Related-Bug: 1836520