Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2000113

Summary: greenboot journal log in edge-simplified-installer and edge-raw-image is different from edge-installer
Product: Red Hat Enterprise Linux 8 Reporter: Antonio Murdaca <amurdaca>
Component: osbuild-composerAssignee: Antonio Murdaca <amurdaca>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: lmiksik, obudai, tgunders, yih
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: osbuild-composer-33.1-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2000908 (view as bug list) Environment:
Last Closed: 2021-11-09 18:47:01 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:
Bug Depends On:    
Bug Blocks: 2000908    

Description Antonio Murdaca 2021-09-01 12:22:24 UTC
Description of problem:

Currently the greenboot journal log in edge-simplified-installer and edge-raw-image is different from edge-installer. Need to track down this.

For edge-installer:
- "'Script \'00_required_scripts_start.sh\' SUCCESS' in result_greenboot_log.stdout"
- "'Script \'00_wanted_scripts_start.sh\' SUCCESS' in result_greenboot_log.stdout"
- "'greenboot Health Checks Runner' in result_greenboot_log.stdout"
- "'Reached target Boot Completion Check' in result_greenboot_log.stdout"
- "'Mark boot as successful in grubenv' in result_greenboot_log.stdout"
- "'Boot Status is GREEN - Health Check SUCCESS' in result_greenboot_log.stdout"
- "'greenboot MotD Generator' in result_greenboot_log.stdout"

For edge-simplified-installer and edge-raw-image:
- "'Script \'00_required_scripts_start.sh\' SUCCESS' in result_greenboot_log.stdout"
- "'Script \'00_wanted_scripts_start.sh\' SUCCESS' in result_greenboot_log.stdout"
- "'Boot Status is GREEN - Health Check SUCCESS' in result_greenboot_log.stdout"

This does not impact the greenboot functions, actually greenboot works as expected on all edge images. Just need to figure out why, filing this issue to track the work.

Version-Release number of selected component (if applicable):

latest in 8.5 (-33 iinw)


How reproducible:

always


Steps to Reproduce:
1. 
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Antonio Murdaca 2021-09-01 12:23:40 UTC
Fix https://github.com/osbuild/osbuild-composer/pull/1702

Comment 8 Yi He 2021-09-17 11:02:48 UTC
Verified this bug, fixed.

[root@edge-vm2 rhel-edge]# rpm -qa|grep osbuild
python3-osbuild-35-1.el8.noarch
osbuild-selinux-35-1.el8.noarch
osbuild-ostree-35-1.el8.noarch
osbuild-composer-33.1-1.el8.x86_64
osbuild-composer-tests-33.1-1.el8.x86_64
osbuild-composer-core-33.1-1.el8.x86_64
osbuild-35-1.el8.noarch
osbuild-composer-worker-33.1-1.el8.x86_64

[admin@vm-httpboot ~]$ journalctl -b -0 -u boot-complete.target -u greenboot -u greenboot-healthcheck -u greenboot-rpm-ostree-grub2-check-fallback -u greenboot-grub2-set-counter -u greenboot-grub2-set-success -u greenboot-status -u redboot -u redboot-auto-reboot -u redboot.target
-- Logs begin at Fri 2021-09-17 06:58:40 EDT, end at Fri 2021-09-17 07:00:36 EDT. --
Sep 17 06:58:47 localhost systemd[1]: Starting Check for fallback boot...
Sep 17 06:58:47 localhost systemd[1]: Started Check for fallback boot.
Sep 17 06:58:48 localhost systemd[1]: Starting greenboot Health Checks Runner...
Sep 17 06:58:48 localhost greenboot[944]: Running Required Health Check Scripts...
Sep 17 06:58:48 localhost greenboot[944]: Script '00_required_scripts_start.sh' SUCCESS
Sep 17 06:58:48 localhost greenboot[944]: Running Wanted Health Check Scripts...
Sep 17 06:58:48 localhost 00_wanted_scripts_start.sh[959]: Running greenboot Wanted Health Check Scripts
Sep 17 06:58:48 localhost greenboot[944]: Script '00_wanted_scripts_start.sh' SUCCESS
Sep 17 06:58:48 localhost systemd[1]: Started greenboot Health Checks Runner.
Sep 17 06:58:48 localhost systemd[1]: Reached target Boot Completion Check.
Sep 17 06:58:48 localhost systemd[1]: Starting Mark boot as successful in grubenv...
Sep 17 06:58:48 localhost systemd[1]: Starting greenboot MotD Generator...
Sep 17 06:58:48 localhost systemd[1]: Started Mark boot as successful in grubenv.
Sep 17 06:58:48 localhost greenboot-status[979]: Boot Status is GREEN - Health Check SUCCESS
Sep 17 06:58:48 localhost systemd[1]: Started greenboot MotD Generator.

Comment 10 errata-xmlrpc 2021-11-09 18:47:01 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 (osbuild bug fix and enhancement update), 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/RHBA-2021:4273