Bug 2075642 - add an option to reboot once onboarding is complete
Summary: add an option to reboot once onboarding is complete
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: fido-device-onboard
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.3
Assignee: idiez
QA Contact: Xiaofeng Wang
Eliane Ramos Pereira
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-14 18:31 UTC by Ben Breard
Modified: 2023-06-27 07:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-27 07:37:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-119021 0 None None None 2022-04-14 18:36:48 UTC

Description Ben Breard 2022-04-14 18:31:23 UTC
Description of problem:

There's no clear way to reboot a system once onboarding is complete. There should be an optional way to define this behavior in the serviceinfo_api_server.yml config.

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

fdo-owner-onboarding-server-0.4.5-1.el9_0.x86_64




Additional info:

If a command triggers a reboot, it's not clear if this will interrupt the onboarding process and start a boot loop. Also, it's unclear if commands are run in any order, regardless, executing a reboot command, or nesting it as an option for an rpm-ostree --reboot shouldn't be necessary, nor should scheduling an @ job.

Comment 1 idiez 2023-03-03 10:20:43 UTC
Done upstream: https://github.com/fedora-iot/fido-device-onboard-rs/pull/410


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