Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1793881

Summary: tripleo_horizon_healthcheck.service constantly fails due to missing healthcheck
Product: Red Hat OpenStack Reporter: Michele Baldessari <michele>
Component: openstack-tripleo-commonAssignee: Jon Schlueter <jschluet>
Status: CLOSED CURRENTRELEASE QA Contact: Radomir Dopieralski <rdopiera>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: athomas, csibbitt, jrist, jschluet, lhh, mburns, mmagr, moddi, mrunge, rdopiera, slinaber
Target Milestone: z2Keywords: Reopened, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-16 16:02:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michele Baldessari 2020-01-22 08:09:20 UTC
Description of problem:

Logs are spammed every couple of seconds with:
messages:Jan 21 22:18:52 controller-0 systemd[1]: tripleo_horizon_healthcheck.service: Failed with result 'exit-code'.
messages:Jan 21 22:18:52 controller-0 systemd[1]: Failed to start horizon healthcheck.
messages:Jan 21 22:20:37 controller-0 podman[527612]: Error: exec failed: container_linux.go:346: starting container process caused "exec: \"/openstack/healthcheck\": stat /openstack/healthcheck: no such file or directory": OCI runtime command not found error
messages:Jan 21 22:20:37 controller-0 systemd[1]: tripleo_horizon_healthcheck.service: Failed with result 'exit-code'.
messages:Jan 21 22:20:37 controller-0 systemd[1]: Failed to start horizon healthcheck.
messages:Jan 21 22:22:00 controller-0 podman[534940]: Error: exec failed: container_linux.go:346: starting container process caused "exec: \"/openstack/healthcheck\": stat /openstack/healthcheck: no such file or directory": OCI runtime command not found error

The healthcheck is completely missing:
[root@controller-0 containers]# podman exec -it horizon sh -c 'ls -l /openstack/'
ls: cannot access '/openstack/': No such file or directory
Error: non zero exit code: 2: OCI runtime error

Version-Release number of selected component (if applicable):
RHOS_TRUNK-16.0-RHEL-8-20200117.n.1
undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-horizon              20200117.1   77d81180d9e0   5 days ago   895 MB

Comment 3 Martin Magr 2020-01-22 13:50:46 UTC
And yet the script is really missing:

[root@controller-0 ~]# podman logs horizon | grep health
[root@controller-0 ~]# podman exec -it horizon bash
()[root@controller-0 /]# ls -l /openstack
ls: cannot access '/openstack': No such file or directory
()[root@controller-0 /]# 

So the tripleo-common code from tripleo_kolla_template_overrides.j2 has to be lost somewhere.

Comment 5 Adriano Petrich 2020-02-03 15:00:01 UTC
Is this a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1788618 ?

Comment 9 Matthias Runge 2020-11-16 08:35:54 UTC
Is this still an issue? Martin added an fixed-in-version in https://bugzilla.redhat.com/show_bug.cgi?id=1793881#c4, openstack-tripleo-common-containers-11.3.3-0.20200121231250.3c68b48.el8ost.noarch.rpm

Radomir, can you confirm, or maybe Itzik can do that?

Comment 10 Radomir Dopieralski 2020-11-16 13:57:13 UTC

*** This bug has been marked as a duplicate of bug 1788618 ***

Comment 11 Radomir Dopieralski 2020-11-16 14:00:39 UTC
@mrunge it's hard to check without knowing what actually was fixed?

Comment 13 Lon Hohberger 2020-11-16 16:02:08 UTC
On current released container:

podman ..../rhosp16-openstack-horizon:16.1.2-6 ls -l /openstack/healthcheck
Trying to pull ..../rhosp16-openstack-horizon:16.1.2-6...
Getting image source signatures
Copying blob c4d668e229cd done  
Copying blob ec1681b6a383 done  
Copying blob 089e5c48597f done  
Copying blob 4511f1cec78c done  
Copying blob 4387a5c8f7be done  
Copying config 71e0b51418 done  
Writing manifest to image destination
Storing signatures
lrwxrwxrwx. 1 root root 55 Oct 21 00:05 /openstack/healthcheck -> /usr/share/openstack-tripleo-common/healthcheck/horizon