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

[main] Doc issue in file modules/ROOT/pages/update-streams.adoc #707

Open
udf2457 opened this issue Feb 10, 2025 · 5 comments
Open

[main] Doc issue in file modules/ROOT/pages/update-streams.adoc #707

udf2457 opened this issue Feb 10, 2025 · 5 comments

Comments

@udf2457
Copy link

udf2457 commented Feb 10, 2025

Please add instructions for how to do this as part of an ignition file.

At present the docs outline the manual process to switch streams.

Clearly there could be scenarios where it would be useful to switch at deployment time via an ignition file, and it would be good to document this.

@hrismarin
Copy link
Contributor

I'm not sure I can fully understand this request.

If you intend to rebase to the next stream via Ignition config, while provisioning a machine using the stable stream image, why wouldn't you just install the system using the next steam image?

@udf2457
Copy link
Author

udf2457 commented Feb 12, 2025

@hrismarin Because many cloud providers only provide the stable image as standard.

So, given the choice of:

(a) Use the cloud provider's hosted stable image
(b) Upload, pay for storage of the next image, rinse and repeat for future releases ....

I suspect most people would pick (a) and switch streams, no ?

@dustymabe
Copy link
Member

@udf2457 I'm not sure if we should really document this case, but maybe?

Either way the process (right now) would look very similar to https://docs.fedoraproject.org/en-US/fedora-coreos/os-extensions/ except you just rpm-ostree rebase instead of rpm-ostree install

@udf2457
Copy link
Author

udf2457 commented Feb 12, 2025

Yeah, that's what I ended up doing. I was just wondering if there was a smarter way, but I guess not.

Perhaps the more useful thing to document would be to reword this note:

Switching between streams may introduce regressions or bugs due to skipping update barriers. If you experience a regression please attempt a rollback.

To perhaps highlight what what @hrismarin said above, i.e. the "preferred" way is for users to start from the desired image ? Or if not in that note, perhaps higher up the page ? At the moment grepping that page for "image" yields nothing when perhaps that option ought to be given more prominence ?

@hrismarin
Copy link
Contributor

I could add a paragraph clarifying that we can initially install each stream using the corresponding image. I can also include an example Butane config for rebasing to a different stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants