osbuild-composer icon indicating copy to clipboard operation
osbuild-composer copied to clipboard

simplified-installer: add 5 seconds grub timeout

Open runcom opened this issue 3 years ago • 3 comments

Leverage the new option in the grub2.iso stage basically and set a sane timeout

~~Depends on https://github.com/osbuild/osbuild/pull/1175~~

Signed-off-by: Antonio Murdaca [email protected]

This pull request includes:

  • [ ] adequate testing for the new functionality or fixed issue
  • [ ] adequate documentation informing people about the change such as
    • [ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

runcom avatar Nov 11 '22 11:11 runcom

Updated the manifests.

achilleas-k avatar Nov 16 '22 12:11 achilleas-k

Hi! I reproduced edge-simplified-installer locally but is failing. I have not found the root cause in following files:

$ cat /tmp/tmp.L7oHUofX65/compose-info-edge-083bf2bc-e226-4ecb-8056-66be4f8c7748.json | grep -i fail
"queue_status": "**FAILED**"
        
$ sudo vim /var/lib/osbuild-composer/jobs/342d0840-7e60-416c-a785-4e663a8f0194.json
...
"job_error":{"id":10,"reason":**"osbuild build failed"**}},"channel":"","queued_at":"2022-11-17T11:12:45.466793489-05:00","started_at":"2022-11-17T11:12:45.472472462-05:00","finished_at":"2022-11-17T11:12:52.004292669-05:00","expires_at":"0001-01-01T00:00:00Z","retries":0}

$ sudo journalctl -xeu [email protected] | grep 342d0840-7e60-416c-a785-4e663a8f0194
Nov 17 11:12:51 rhel-9-1-221117 osbuild-worker[20903]: time="2022-11-17T11:12:51-05:00" level=info msg="Running job '342d0840-7e60-416c-a785-4e663a8f0194' (osbuild)\n"
Nov 17 11:12:52 rhel-9-1-221117 osbuild-worker[20903]: time="2022-11-17T11:12:52-05:00" level=error msg=**"osbuild job failed: osbuild build failed"** jobId=342d0840-7e60-416c-a785-4e663a8f0194
Nov 17 11:12:52 rhel-9-1-221117 osbuild-worker[20903]: time="2022-11-17T11:12:52-05:00" level=info msg="Job '342d0840-7e60-416c-a785-4e663a8f0194' (osbuild) finished"

Is there any additional file to get more clues about root cause?

mcattamoredhat avatar Nov 17 '22 16:11 mcattamoredhat

Not sure what's wrong. Did a rebase on main and we can see what happens if it fails again.

achilleas-k avatar Nov 18 '22 15:11 achilleas-k

closing for now and afaict, the same default 60s timeout is in Anaconda (at least from reading 9 code here in osbuild-composer)

runcom avatar Dec 19 '22 13:12 runcom

Hi @runcom, is it planned to implement this feature in a new PR?

mcattamoredhat avatar Dec 20 '22 15:12 mcattamoredhat

Yeah probably

runcom avatar Dec 21 '22 07:12 runcom