Aodh-api keep restarting caused by port conflict.

Bug #1836520 reported by Eddie Yen
6
This bug affects 1 person
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://bugs.launchpad.net/kolla/+bug/1832306 which the comment notified.

Checked the container and found:

/etc/apache2/sites-enabled/aodh-api.conf
/etc/apache2/sites-available/aodh-api.conf

existed inside the aodh-api container.

We may need to delete these config file either when building the images on Ubuntu binary.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla (master)

Reviewed: https://review.opendev.org/670832
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=5eb780d0b0d12186c57b828320c3421b98b97840
Submitter: Zuul
Branch: master

commit 5eb780d0b0d12186c57b828320c3421b98b97840
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: Ib31e733eba12deebdf469c306dfba4191a1b89f5
    Related-Bug: 1832306
    Related-Bug: 1836520

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla (stable/stein)

Related fix proposed to branch: stable/stein
Review: https://review.opendev.org/676616

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla (stable/stein)

Reviewed: https://review.opendev.org/676616
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=cc6694dbc8907bad5085f9129fccd5b682e72b66
Submitter: Zuul
Branch: stable/stein

commit cc6694dbc8907bad5085f9129fccd5b682e72b66
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: Ib31e733eba12deebdf469c306dfba4191a1b89f5
    Related-Bug: 1832306
    Related-Bug: 1836520
    (cherry picked from commit 5eb780d0b0d12186c57b828320c3421b98b97840)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla (stable/rocky)

Related fix proposed to branch: stable/rocky
Review: https://review.opendev.org/679617

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla (stable/rocky)

Reviewed: https://review.opendev.org/679617
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=69e46f78aff21ecad5f7793fb9aa79b56da87747
Submitter: Zuul
Branch: stable/rocky

commit 69e46f78aff21ecad5f7793fb9aa79b56da87747
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: Ib31e733eba12deebdf469c306dfba4191a1b89f5
    Related-Bug: 1832306
    Related-Bug: 1836520
    (cherry picked from commit 5eb780d0b0d12186c57b828320c3421b98b97840)
    (cherry picked from commit cc6694dbc8907bad5085f9129fccd5b682e72b66)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.