Bug 2115100

Summary: Script '01_update_platforms_check.sh' FAILURE (exit code '1'). Continuing...
Product: Red Hat Enterprise Linux 9 Reporter: Micah Abbott <miabbott>
Component: greenbootAssignee: Sayan <saypaul>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: amurdaca, cglombek, extras-qa, gmarr, jnoguera, jorgeml, miabbott, pwhalen
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2062455 Environment:
Last Closed: 2023-03-02 16:34:04 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: 2062455, 2171154    
Bug Blocks: 1269538    

Description Micah Abbott 2022-08-03 20:16:57 UTC
I'm observing this on a RHEL9 Edge installs, too

```
$ ssh -l core 192.168.122.228
Warning: Permanently added '192.168.122.228' (ED25519) to the list of known hosts.
Script '01_update_platforms_check.sh' FAILURE (exit code '1'). Continuing...
Boot Status is GREEN - Health Check SUCCESS
Last login: Wed Aug  3 16:13:53 2022 from 192.168.122.1
[core@miabbott-rhel9-edge-vm ~]$ rpm-ostree status
State: idle
Deployments:
● rhel-edge:rhel/9/x86_64/edge
                   Version: 9.0 (2022-08-03T15:57:40Z)
                    Commit: f4dc8ebd10ee208707849aed1bdc4739c1c8aba82fd8b044d56f4c3afdefc3a3
[core@miabbott-rhel9-edge-vm ~]$ rpm -q greenboot
greenboot-0.14.0-3.el9.x86_64
```

+++ This bug was initially created as a clone of Bug #2062455 +++

Description of problem:
After upgrading to latest F35, greenboot fails with following error:
"Script '01_update_platforms_check.sh' FAILURE (exit code '1'). Continuing..."


Version-Release number of selected component (if applicable):
Fedora-IoT-35-20220302.0 (any arch)
greenboot-0.14.0-1.fc35.aarch64
greenboot-default-health-checks-0.14.0-1.fc35.aarch64

How reproducible:
Every time

Steps to Reproduce:
1. Install version of Fedora-IoT-35-20220302.0 (any arch)
2. ssh into newly-installed IoT system
3. View greenboot failure upon ssh-ing in

Additional info:
See attached log

--- Additional comment from Paul Whalen on 2022-03-09 21:54:08 UTC ---

Running the script manually after log in works

bash /usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh
We can connect to all update platforms

--- Additional comment from Micah Abbott on 2022-08-03 20:15:35 UTC ---

I'm gonna clone this for RHEL because I'm seeing the same failure on RHEL9 Edge installs.

Comment 1 Micah Abbott 2023-03-02 16:34:04 UTC
Let's call this as a duplicate of 2170924

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