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

Failed to boot after upgrade from 2.0.0-rc2 to 2.0.0 #175

Open
ghysler opened this issue Mar 22, 2024 · 9 comments
Open

Failed to boot after upgrade from 2.0.0-rc2 to 2.0.0 #175

ghysler opened this issue Mar 22, 2024 · 9 comments

Comments

@ghysler
Copy link

ghysler commented Mar 22, 2024

**BurmillaOS Version: 2.0.0-rc2

Where are you running BurmillaOS? Proxmox

Which processor architecture you are using? x64

Do you use some extra hardware? (GPU, etc)? no.

Which console you use (default, ubuntu, centos, etc..) Default.

Do you use some service(s) which are not enabled by default? qemu-guest-agent

Have you installed some extra tools to console? No.

Do you use some other customizations? No.

Please share copy of your cloud-init (remember remove all sensitive data first)

# sudo ros config export output
hostname: a.b.c
rancher:
  console: default
  docker:
    engine: docker-20.10.22
  environment:
    EXTRA_CMDLINE: /init
  network:
    interfaces:
      eth0:
        address: x.x.x.x/24
        gateway: x.x.x.x
  services:
    console:
      labels:
      - io.docker.compose.rebuild=false
      - io.rancher.os.after=network
      - io.rancher.os.console=default
      - io.rancher.os.scope=system
  services_include:
    qemu-guest-agent: true
  state:
    dev: LABEL=RANCHER_STATE
    wait: true
  upgrade:
    url: https://raw.githubusercontent.com/burmilla/releases/v2.0.x/releases.yml
ssh_authorized_keys:
- ssh-rsa pubkey

After upgrading to the final version of 2.0.0, BurmillaOS will not completely boot. I am unable to reach the VM via network, but also the console is not functional (no login prompt). If I select to boot 2.0.0-rc2 from GRUB, it boots successfully. Do I have to perform additional steps when upgrading from rc2?

Screenshot of console after booting 2.0.0 final attached.

Clipboarder 2024 03 22

@olljanat
Copy link
Member

Yes, these 2.0.0 rc1 and rc2 are special cases which had some changes included which made upgrading from older versions more tricky. Those was reverted like mentioned #161 (comment)

From these versions, please look upgrade guide in https://github.com/burmilla/os/releases/tag/v2.0.0-rc1

@ghysler
Copy link
Author

ghysler commented Mar 23, 2024

I'm not sure I'm following. I am currently running rc2 and trying to upgrade to the final version. The instructions you shared are for upgrading from 1.9.x to 2.0.0-rcx, right?
Anyway I attempted to use these instructions to upgrade to 2.0.0 final, but the result is the same: stuck during boot.

How can I revert the changes from the upgrade to rc2?

@olljanat
Copy link
Member

I mean that there is need to do those extra steps mentioned on that release notes to force console rebuild when upgrading from rc1 or rc2.

@olljanat
Copy link
Member

How can I revert the changes from the upgrade to rc2?

You should see previous versions option in boot menu.

@ghysler
Copy link
Author

ghysler commented Mar 24, 2024

The only options I have in my boot menu are for 2.0.0-rc2 and 2.0.0-final.

Apparently I needed to reboot the system before disabling console rebuild again with the command mentioned on the 2.0.0-rc1 release notes. Somehow I was under the impression the reboot should be performed only after disabling console rebuild.

It would have been nice to see clear update instructions on the current release, for users coming from rc1/rc2. Anyway, I am running 2.0.0 now :) Thanks for your prompt reply.

@ghysler ghysler closed this as completed Mar 24, 2024
@olljanat
Copy link
Member

Apparently I needed to reboot the system before disabling console rebuild again with the command mentioned on the 2.0.0-rc1 release notes. Somehow I was under the impression the reboot should be performed only after disabling console rebuild.

Yes, upgrade is only completed by reboot.

It would have been nice to see clear update instructions on the current release, for users coming from rc1/rc2.

Not sure that how many actually read those release notes but let's leave this issue open for a while so those coming from those two versions can see it.

@olljanat olljanat reopened this Mar 24, 2024
@tai-ss
Copy link

tai-ss commented Mar 30, 2024

One thing that's not mentioned anywhere in the documentation is 2.0.0 changed console to tty1, whereas 2.0.0-rc2 used tty0. This made me wonder why the console never came up when I did an upgrade. Only after doing a clean install did I see the console change.

@olljanat
Copy link
Member

@tai-ss on which platform you are running BurmillaOS? There should be console on all TTYs even on this upgrade scenario.

@tai-ss
Copy link

tai-ss commented Mar 30, 2024 via email

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