neutron_api healthcheck does not work

Bug #1761122 reported by Bernard Cafarelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Bernard Cafarelli

Bug Description

neutron_api always shows up as unhealthy:
[heat-admin@controller-0 ~]$ sudo docker ps |grep "unhealthy"
b13895cb95f4 192.168.24.1:8787/rhosp13/openstack-neutron-server:2018-03-29.1 "kolla_start" About an hour ago Up About an hour (unhealthy) neutron_api

Running health-check command in container:

()[neutron@controller-0 /]$ /openstack/healthcheck
awk: fatal: cannot open file `/etc/httpd/conf.d/10-neutron_wsgi.conf' for reading (No such file or directory)
awk: fatal: cannot open file `/etc/httpd/conf.d/10-neutron_wsgi.conf' for reading (No such file or directory)
grep: /etc/httpd/conf.d/10-neutron_wsgi.conf: No such file or directory
()[root@controller-0 /]# ps ww 1
    PID TTY STAT TIME COMMAND
      1 ? Ss 0:06 /usr/bin/python2 /usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server --log-file=/var/log/neutron/server.log

Running recent Queens build

Changed in tripleo:
assignee: nobody → Bernard Cafarelli (bcafarel)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/558775

Changed in tripleo:
importance: Undecided → High
milestone: none → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/558775
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=1621bdbe4b13c0a80137cb6b39cfdd540caf673e
Submitter: Zuul
Branch: master

commit 1621bdbe4b13c0a80137cb6b39cfdd540caf673e
Author: Bernard Cafarelli <email address hidden>
Date: Wed Apr 4 12:00:15 2018 +0200

    Fix healthcheck script for neutron-api service

    Current script expects neutron-api to run with mod_wsgi
    Update to point to bind_host:bind_port and proper defaults

    Change-Id: I8b79bbb3d9831e58e5bcbb9144d2073c6ec0391c
    Closes-Bug: #1761122

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/563435

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/queens)

Reviewed: https://review.openstack.org/563435
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=fb9f918f540329acec7c5fc78a1e516eadfdf75c
Submitter: Zuul
Branch: stable/queens

commit fb9f918f540329acec7c5fc78a1e516eadfdf75c
Author: Bernard Cafarelli <email address hidden>
Date: Wed Apr 4 12:00:15 2018 +0200

    Fix healthcheck script for neutron-api service

    Current script expects neutron-api to run with mod_wsgi
    Update to point to bind_host:bind_port and proper defaults

    Change-Id: I8b79bbb3d9831e58e5bcbb9144d2073c6ec0391c
    Closes-Bug: #1761122
    (cherry picked from commit 1621bdbe4b13c0a80137cb6b39cfdd540caf673e)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.6.2

This issue was fixed in the openstack/tripleo-common 8.6.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 9.1.0

This issue was fixed in the openstack/tripleo-common 9.1.0 release.

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.