Bug 2058625 - [OSP17] "ironic_pxe_tftp" container is showing an unhealthy status
Summary: [OSP17] "ironic_pxe_tftp" container is showing an unhealthy status
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: beta
: 17.0
Assignee: Steve Baker
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-25 12:41 UTC by Pradipta Kumar Sahoo
Modified: 2022-09-21 12:19 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-common-15.4.1-0.20220428004526.f6181ad.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:19:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 831328 0 None MERGED Remove tftp healthcheck from ironic-pxe image 2022-04-25 20:15:57 UTC
OpenStack gerrit 832847 0 None NEW Remove tftp healthcheck from ironic-pxe image 2022-04-25 20:15:58 UTC
Red Hat Issue Tracker OSP-13195 0 None None None 2022-02-25 12:47:26 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:19:50 UTC

Description Pradipta Kumar Sahoo 2022-02-25 12:41:34 UTC
Description of problem:
In Undercloud, the "ironic_pxe_tftp" container is showing an unhealthy status

Version-Release number of selected component (if applicable):
- Red Hat Enterprise Linux release 9.0 Beta (Plow)
- Puddle: RHOS-17.0-RHEL-9-20220214.n.1

How reproducible:
Scale lab

Steps to Reproduce:
1. Container status in podman
	$ sudo podman ps|grep ironic_pxe_tftp
	9da75c26599c  undercloud.ctlplane.localdomain:8787/rh-osbs/rhosp17-openstack-ironic-pxe:17.0_20220210.1_9                 /bin/bash -c BIND...  6 hours ago  Up 6 hours ago (unhealthy)              ironic_pxe_tftp

2. container health check

	$ sudo podman exec -it -u root ironic_pxe_tftp "openstack/healthcheck"
	WARN[0000] Failed to add conmon to systemd sandbox cgroup: Unit libpod-conmon-9da75c26599cc764c46d17bc60b178ee266b14dcc57e24e34edece01d863fcaa.scope already exists. 
	curl: (1) Protocol "tftp" not supported or disabled in libcurl

	000 :0 0.000000 seconds

3. Inspect log
$ sudo podman inspect ironic_pxe_tftp
...
        "State": {
            "OciVersion": "1.0.2-dev",
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 30683,
            "ConmonPid": 30680,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2022-02-25T07:00:29.204361735Z",
            "FinishedAt": "0001-01-01T00:00:00Z",
            "Healthcheck": {
                "Status": "unhealthy",
                "FailingStreak": 644,
                "Log": [
                    {
                        "Start": "2022-02-25T12:30:22.154347209Z",
                        "End": "2022-02-25T12:30:22.406390946Z",
                        "ExitCode": 1,
                        "Output": ""
                    },
...


Actual results: ironic_pxe_tftp container is in unhealthy status


Expected results: ironic_pxe_tftp container should be healthy status

Comment 2 Harald Jensås 2022-02-28 22:26:34 UTC
I had a look at curl, and it seems that the rpm "curl-minimal' was installed.
If the package 'curl' is installed instead, the libcurl will have tftp enabled and this healthcheck will not fail.

Both curl and curl-minimal is in available in RHEL 9.

Comment 3 Steve Baker 2022-03-01 01:14:55 UTC
I still think we should treat this like the dnsmasq healthcheck, and remove it as not adding value.

Comment 8 errata-xmlrpc 2022-09-21 12:19:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:6543


Note You need to log in before you can comment on or make changes to this bug.