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

Unable to bootc switch again after migrating silverblue to fedora-bootc #855

Closed
Perpixel opened this issue Oct 29, 2024 · 5 comments
Closed
Labels
area/client Related to the client/CLI

Comments

@Perpixel
Copy link

Perpixel commented Oct 29, 2024

Hello, not sure if this is working as expected, but I'm trying to test migration from a rpm-ostree Silverblue system to bootc on a qemu vm before doing it to my own workstation.

  • Installed Silverblue:40, layered bootc. - OK
  • bootc switch quay.io/fedora/fedora-bootc:40 - OK
  • bootc switch quay.io/fedora/fedora-bootc:41 - OK
  • bootc switch --transport oci-archive /tmp/custom-fedora-bootc.tar.gz - Staged but gone on reboot
  • bootc switch quay.io/fedora/fedora-bootc:42 - Staged but gone on reboot

My system seems now stuck with only 2 deployments of fedora-bootc 40 and 41.

The documentation is not super clear on the right path to take to make this transition, so maybe it's just me?

Thanks

@Perpixel
Copy link
Author

Just did the same step again on a clean VM, and now it works... Only this time I started from Silverblue:41

@cgwalters cgwalters added question Further information is requested area/client Related to the client/CLI and removed question Further information is requested labels Oct 29, 2024
@Perpixel
Copy link
Author

I was able to repro this if anyone interested. On reboot it probably fail in the deployment and reboot because I got a grub selection screen.

Image
Image

@ryanabx
Copy link

ryanabx commented Nov 17, 2024

I'm also curious about this. Is there documentation about the recommended migration path from non-bootc managed images to bootc images?

@ryanabx
Copy link

ryanabx commented Nov 18, 2024

@cgwalters I noticed #137 recently got merged. Is the intended migration for existing ostree systems to use --replace-mode=alongside?

@cgwalters
Copy link
Collaborator

I'm also curious about this. Is there documentation about the recommended migration path from non-bootc managed images to bootc images?

We want it to basically just be switch. I think what you're running into here is basically https://bugzilla.redhat.com/show_bug.cgi?id=2308594

@cgwalters I noticed #137 recently got merged. Is the intended migration for existing ostree systems to use --replace-mode=alongside?

That's related for sure, but a bigger hammer as it will reset more things.

Anyways so I think this is a dup of #632

@cgwalters cgwalters closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client Related to the client/CLI
Projects
None yet
Development

No branches or pull requests

3 participants