Skip to content

Handle sudo requirements for virt-v2v #80

@dann1

Description

@dann1

Running virt-v2v on ubuntu2404 as a non root user yields the error

DEBUG INFO: libguestfs error: /usr/bin/supermin exited with error status 1

An easy way to avoid this is to run oneswap as root. This being said, oneswap is a wrapper that issues API Calls to both vCenter and OpenNebula with an in between operation with virt-v2v. Only running virt-v2v as root is necessary.

The goal is to

  • Within oneswap, verify the OS and append sudo to the execution of virt-v2v based on the OS.
  • On OpenNebula 7.0+, oneswap is distributed as a package called opennebula-swap. Handle the sudoers file to include virt-v2v support.
  • Mention this nuance on the documentation (wiki or one docs)

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions