Skip to content

deploy failed: qemu-kvm-one no such file or directory #6810

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

Open
3 tasks
tetra12 opened this issue Dec 4, 2024 · 5 comments
Open
3 tasks

deploy failed: qemu-kvm-one no such file or directory #6810

tetra12 opened this issue Dec 4, 2024 · 5 comments

Comments

@tetra12
Copy link

tetra12 commented Dec 4, 2024

Issue

Can't deploy Alpine or Ubuntu VM due to the following error:

...
Wed Dec  4 18:07:39 2024 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/3/deployment.0
Wed Dec  4 18:07:39 2024 [Z0][VMM][I]: error: Cannot check QEMU binary /usr/bin/qemu-kvm-one: No such file or directory

Description
One Sunstone fails to run a KVM VM due to a missing binary : qemu-kvm-one

If I install it manually with: sudo apt install -y qemu-kvm-one, it returns an error due to configuration failure. More on this in #6209

To Reproduce

  1. Setup Ubuntu 24.04.1
  2. Setup KVM
  3. Install OpenNebula 6.10
  4. Setup Linstor DS

Expected behavior
A clear and concise description of what you expected to happen.

Details

  • OS: Ubuntu 24.04.1
  • Affected Component: [e.g. Sunstone, Scheduler, or Storage] Core, KVM, Sunstone
  • Hypervisor: [e.g. KVM] KVM
  • Version: 6.10.0-1
  • Linstor Data Store

Screenshot from 2024-12-04 18-20-48

  • Download Ubuntu 22.04 Minimal from the Market place
  • Start a VM from the image
  • Specify Linstor system store for the VM
  • Run VM and find the Boot Failure Status with the error specified

Additional context
Pls find more details here: #6209

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
@xorel
Copy link
Member

xorel commented Dec 4, 2024

This symlink should be created in postinst script of opennebula-node-kvm package

/usr/bin/qemu-kvm-one: symbolic link to /usr/bin/qemu-system-x86_64

Was the package correctly installed?

@tetra12
Copy link
Author

tetra12 commented Dec 4, 2024

This symlink should be created in postinst script of opennebula-node-kvm package

/usr/bin/qemu-kvm-one: symbolic link to /usr/bin/qemu-system-x86_64

Was the package correctly installed?

The package was installed and reinstalled carefully, according to your docs. The symlink was NOT created

@tetra12
Copy link
Author

tetra12 commented Dec 4, 2024

This symlink should be created in postinst script of opennebula-node-kvm package

As per #6209 installing opennebula-node-kvm on Ubuntu 24.04.1 fails on post-install

@xorel
Copy link
Member

xorel commented Dec 4, 2024

To create the symlink you can run /usr/bin/qemu-kvm-one-gen

@tetra12
Copy link
Author

tetra12 commented Dec 4, 2024

To create the symlink you can run /usr/bin/qemu-kvm-one-gen

Thanks, I fixed with ln -s. This fixed my issue. How about fixing opennebula-node-kvm post install ? 🙄

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

No branches or pull requests

2 participants