Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script '01_update_platforms_check.sh' FAILURE in greenboot-healthcheck.service log #147

Open
yih-redhat opened this issue Aug 14, 2024 · 1 comment
Labels
enhancement New feature or request jira flow issues to jira

Comments

@yih-redhat
Copy link
Collaborator

Install greenboot in a bootc rhel9.5 image and provision a vm, boot vm and check greenboot log, found an error in log of greenboot-healthcheck.service.

● greenboot-healthcheck.service - greenboot Health Checks Runner
Loaded: loaded (/usr/lib/systemd/system/greenboot-healthcheck.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/greenboot-healthcheck.service.d
└─10-network-online.conf
Active: active (exited) since Wed 2024-08-14 06:26:25 UTC; 5min ago
Process: 853 ExecStart=/usr/libexec/greenboot/greenboot check (code=exited, status=0/SUCCESS)
Main PID: 853 (code=exited, status=0/SUCCESS)
CPU: 181ms

Aug 14 06:26:25 vm-2 greenboot[853]: Script '02_watchdog.sh' SUCCESS
Aug 14 06:26:25 vm-2 greenboot[853]: Running Wanted Health Check Scripts...
Aug 14 06:26:25 vm-2 00_wanted_scripts_start.sh[958]: Running greenboot Wanted Health Check Scripts
Aug 14 06:26:25 vm-2 greenboot[853]: Script '00_wanted_scripts_start.sh' SUCCESS
Aug 14 06:26:25 vm-2 01_update_platforms_check.sh[964]: grep: /etc/ostree/remotes.d/*: No such file or directory
Aug 14 06:26:25 vm-2 01_update_platforms_check.sh[962]: No update platforms found, this can be a mistake
Aug 14 06:26:25 vm-2 greenboot[853]: Script '01_update_platforms_check.sh' FAILURE (exit code '1'). Continuing...
Aug 14 06:26:25 vm-2 greenboot[853]: Running Required Health Check Scripts...
Aug 14 06:26:25 vm-2 greenboot[853]: Running Wanted Health Check Scripts...
Aug 14 06:26:25 vm-2 systemd[1]: Finished greenboot Health Checks Runner.

@say-paul
Copy link
Member

the above healthcheck may not work in image mode which points to a container, we may either need this to removed for both or use seperate approach for doing this.

@say-paul say-paul added enhancement New feature or request jira flow issues to jira labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jira flow issues to jira
Projects
None yet
Development

No branches or pull requests

2 participants