tripleo_neutron_* podman healtchecks broken on the undercloud
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Cédric Jeanneret |
Bug Description
[root@undercloud-0 system]# systemctl status tripleo_
● tripleo_
Loaded: loaded (/etc/systemd/
Active: failed (Result: exit-code) since Wed 2019-03-27 07:10:44 UTC; 58s ago
Process: 263666 ExecStart=
Main PID: 263666 (code=exited, status=1/FAILURE)
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
[root@undercloud-0 system]# systemctl status tripleo_
● tripleo_
Loaded: loaded (/etc/systemd/
Active: failed (Result: exit-code) since Wed 2019-03-27 07:11:11 UTC; 34s ago
Process: 264050 ExecStart=
Main PID: 264050 (code=exited, status=1/FAILURE)
Mar 27 07:11:11 undercloud-
Mar 27 07:11:11 undercloud-
Mar 27 07:11:11 undercloud-
Mar 27 07:11:11 undercloud-
Mar 27 07:11:11 undercloud-
Mar 27 07:11:11 undercloud-
[root@undercloud-0 system]# systemctl status tripleo_
● tripleo_
Loaded: loaded (/etc/systemd/
Active: failed (Result: exit-code) since Wed 2019-03-27 07:10:44 UTC; 1min 5s ago
Process: 263667 ExecStart=
Main PID: 263667 (code=exited, status=1/FAILURE)
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
Mar 27 07:10:44 undercloud-
they seem to be relying on the same logic that's why I opened a single bz, please let me know if you would like dedicated ones.
Changed in tripleo: | |
assignee: | nobody → Cédric Jeanneret (cjeanner) |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: containers |
Changed in tripleo: | |
status: | Triaged → In Progress |
Changed in tripleo: | |
milestone: | none → stein-rc1 |
tags: | added: queens-backport-potential rocky-backport-potential |
Reviewed: https:/ /review. openstack. org/648027 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=5312bf19c8f 820ac65514885ae bdc2dc4776d72d
Committed: https:/
Submitter: Zuul
Branch: master
commit 5312bf19c8f820a c65514885aebdc2 dc4776d72d
Author: Cédric Jeanneret <email address hidden>
Date: Wed Mar 27 08:58:24 2019 +0100
Silent file descriptor checks
In order to avoid spam in journald, we just get the exit code and let
the checker output the error message.
Also, correct how we retrieve process in the healthcheck_port and _listen
functions.
"ss" doesn't allow to match some processes, like "neutron-l3-agent". We
therefore use the PID instead, provided by "pgrep".
The "-d" option of pgrep allow to prepare its output for the "grep -E",
preventing any need of a loop.
Change-Id: I1555a9b79c954e 646fe9ae3527223 1c581cea03e
Closes-Bug: #1821782
Closes-Bug: #1821856