The script showing the Karaf process status in our container image requires "ps"

Description

When running the status script (/opt/minion/bin/status) to verify Minion or Sentinel is running it is now throwing an error /opt/minion/bin/karaf: line 116: ps: command not found In the new docker image.
As we have moved from Ubuntu to Red Hat Universal Base Image (UBI) the ps command is no longer available.

Environment

Docker image

Acceptance / Success Criteria

  • Run a Minion and Sentinel using the container image

  • Verify the correct process status represented using the /opt/{minion,sentinel}/bin/status script

Activity

Show:

Ronny Trommer March 6, 2024 at 4:46 PM

Ronny Trommer February 16, 2024 at 12:32 PM

PR is here:

Ronny Trommer February 16, 2024 at 12:07 PM

We need to add microdnf install procps in our container build instructions.

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Fix versions

Affects versions

Priority

PagerDuty

Created February 16, 2024 at 7:41 AM
Updated March 6, 2024 at 4:47 PM
Resolved March 6, 2024 at 4:46 PM