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

Qemu instance fails to reboot during build operations #3580

Open
eccentrichead opened this issue Aug 7, 2024 · 0 comments
Open

Qemu instance fails to reboot during build operations #3580

eccentrichead opened this issue Aug 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eccentrichead
Copy link

What happened: When using image-builder to build an ubuntu22.04 image with kubernetes 1.28 release, the build process remains stuck post the Qemu instance boot up. If left unattended at this stage, the process eventually times outs waiting for the SSH connection to appear and subsequent ansible playbook execution fails causing the whole operation to fail.

What you expected to happen:
The Qemu build instance should reboot automatically during the build operation once the packages are installed.

How to reproduce it (as minimally and precisely as possible):

$ image-builder build --os ubuntu --os-version 22.04 --hypervisor baremetal --release-channel 1-28 --files-config file.json -v8
  • Login into the Qemu instance with ssviewer to the 127.0.0x:xxxx ip port.
  • The process in side qemu instance will get stuck post the CHANGE ens4 messages and the whole build operation will continue to wait.
    qemu-terminal
  • At this point if we wait, the process inside the qemu instance will timeout and drop to shell. In the shell a simple reboot command will cause the next step of build process to execute and complete successfully with the required image generated.
    Anything else we need to know?:

Environment:

  • EKS Anywhere Release: 0.18.2
  • EKS Distro Release: ubuntu 22.04
@eccentrichead eccentrichead added the bug Something isn't working label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant