RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2126170 - Greenboot service monitor triggers failure if services are disabled
Summary: Greenboot service monitor triggers failure if services are disabled
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: greenboot
Version: 9.1
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: 9.2
Assignee: Paul Whalen
QA Contact: Virtualization Bugs
Eliane Ramos Pereira
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-12 16:38 UTC by Sayan
Modified: 2023-03-02 13:09 UTC (History)
4 users (show)

Fixed In Version: greenboot-0.15.3-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-02 13:09:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-133762 0 None None None 2022-09-12 16:41:47 UTC

Description Sayan 2022-09-12 16:38:19 UTC
Description of problem:
The issue prevents system from booting correctly if greenboot service monitor is set to monitor a disabled or un-installed service

Version-Release number of selected component (if applicable):
greenboot-0.15.2-1.el9.x86_64

Steps to Reproduce:
1. set GREENBOOT_MONITOR_SERVICES="httpd" (or any service which is disabled or not installed)
2. reboot

Actual results:
[FAILED] Failed to start Monitor user services.
See 'systemctl status greenboot-service-monitor.service' for details.
[DEPEND] Dependency failed for Boot Completion Check.
[DEPEND] Dependency failed for Mark boot as successful in grubenv.
[DEPEND] Dependency failed for greenboot Success Scripts Runner.

Expected results:
Sep 12 10:54:54 vm systemd[1]: Finished greenboot Health Checks Runner.
Sep 12 10:54:54 vm systemd[1]: greenboot-service-monitor.service: Deactivated successfully.
Sep 12 10:54:54 vm systemd[1]: Starting greenboot Success Scripts Runner...
Sep 12 10:54:54 vm greenboot[1096]: Boot Status is GREEN - Health Check SUCCESS
Sep 12 10:54:54 vm greenboot[1096]: Running Green Scripts...
Sep 12 10:54:54 vm systemd[1]: Finished greenboot Success Scripts Runner.

Comment 1 Antonio Murdaca 2023-02-02 08:48:44 UTC
we ended up rolling back ignition as this feature was broken

Comment 2 Paul Whalen 2023-02-14 17:34:05 UTC
Reopening, greenboot-0.15.3-1.el9 should be included in 9.2.


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