Bug 2218206

Summary: [RFE] RFE to include an option for ostree local system updates to upload .tar file and manage unzip process into a given location.
Product: Red Hat Enterprise Linux 9 Reporter: dialvare
Component: cockpitAssignee: Martin Pitt <mpitt>
Status: NEW --- QA Contact: Jan Ščotka <jscotka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: release-test-team, tgunders
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dialvare 2023-06-28 13:00:23 UTC
When performing ostree local updates, users need to upload the .tar file generated with the Edge Commit to a server and then unpack them into an specific directory. The request is for including this functionality in the UI so the upload and unpackaging processes can be handled by cockpit.

Something like: adding a "upload commit" option in the UI, and when there's a new commit staged a "reboot into it" option.

Comment 2 Martin Pitt 2023-06-30 07:03:54 UTC
> the .tar file generated with the Edge Commit

Hmm, that feels like a sad user experience. You have to download a huge tarball from the system that builds the edge image to some laptop/workstation, and upload it again to the destination machine?

What other output options does your image build process offer? Is that the image builder on cloud.redhat.com (Sorry, I'm not very familiar with it), or a self-hosted instance?. In my experience, OSTree builds result in either some http-accessible OSTree repository (classic), or pushing it as OCI container image into some registry [1], which is relatively new, but super convenient. We are working on cockpit-ostree support for the latter [2].

CC'ing Tom as the image builder lead for your interest, maybe you also have some ideas about how this should look like.

[1] https://fedoraproject.org/wiki/Changes/OstreeNativeContainerStable
[2] https://issues.redhat.com/browse/COCKPIT-928