Good morning and thank you for the reply. Unfortunately, I tried the URL you provided and got a file not found. But I think I have an idea of what you are getting at.

Thanks again!
-Tony

--
Tony Lombardo
Systems Administrator
Division of Public Safety
Access Control Department
Cornell University

From: Tony Breeds <tony@bakeyournoodle.com>
Sent: Thursday, September 5, 2024 11:12 PM
To: Ian Wienand <iwienand@redhat.com>
Cc: Tony Lombardo <ajl44@cornell.edu>; openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org>
Subject: Re: Using diskimage-creator for vhd format
 
Hi,
   I recently had to do something similar  I found it helpful to
create an ubuntu:focal container and install/run vhd-util in there.
This is far from a sustainable solution but it worked.

This is roughly what I did: https://paste.opendev.org/show/bkiqlHWvdgAAw227k2D

On Fri, 6 Sept 2024 at 08:26, Ian Wienand <iwienand@redhat.com> wrote:
>
> 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
>


--
Yours Tony.