On Thu, Sep 05, 2024 at 04:35:39PM +0000, Tony Lombardo wrote:
> However, I do get the error message that vhd-util isn't available.
>
> "vhd output format specified but no vhd-util executable found."
>
> I read the commit where this was deprecated in favor of qemu-img
>
https://opendev.org/openstack/diskimage-builder/commit/a3e9e7f89e1059ae09296177f147346c7eda4cf3
Unfortunately that was later reverted with
b52b560fb05102312361a1ce47d71a5de5c19e94
There is a writeup on the VHD situation at
https://docs.openstack.org/diskimage-builder/latest/developer/vhd_creation.html
It's been a while since I dug into it, but the VHD for Xenserver,
particularly what we need for images on the RAX clouds we have as CI
resources, can only effectively be made with the old patched tools.
If you need a VPC format (still given a .vhd extension AFAIK) for
... Azure I guess? ... you might have success outputting a .raw and
then using qemu-img to convert manually? But DIB will want to use
vhd-utils by default.
If you need Xen format, we do maintain a PPA of the tools at
https://launchpad.net/~openstack-ci-core/+archive/ubuntu/vhd-util
Hope that helps,
-i