For now, I have managed to workaround this by creating the Octavia disk image with the following manual steps.
# Download stock ubuntu image sudo wget -O ubuntu-20.04-server-cloudimg-amd64.img \ https://<INTERNAL_MIRROR_URL>/ubuntu-20.04-server-cloudimg-amd64.img
# Create amphora image amphora_img_name="amphora-haproxy-ubuntu-20.04" sudo octavia-diskimage-retrofit -d \ -m 'deb http://<INTERNAL_MIRROR_URL> focal multiverse main restricted universe' \ -c 'deb http://<INTERNAL_MIRROR_URL> focal-updates multiverse main restricted universe' \ -u ussuri \ ubuntu-20.04-server-cloudimg-amd64.img \ ${amphora_img_name}.qcow2
# Convert the image to RAW format sudo qemu-img convert \ -f qcow2 -O raw \ ${amphora_img_name}.qcow2 \ ${amphora_img_name}.raw
# Upload the image to Glance mkdir -p $HOME/octavia-images/ openstack image create --tag octavia-amphora \ --container-format bare \ --disk-format raw \ --protected \ --file ${amphora_img_name}.raw \ ${amphora_img_name}
For now, I have managed to workaround this by creating the Octavia disk image with the following manual steps.
# Download stock ubuntu image 20.04-server- cloudimg- amd64.img \ MIRROR_ URL>/ubuntu- 20.04-server- cloudimg- amd64.img
sudo wget -O ubuntu-
https://<INTERNAL_
# Create amphora image img_name= "amphora- haproxy- ubuntu- 20.04" diskimage- retrofit -d \ MIRROR_ URL> focal multiverse main restricted universe' \ MIRROR_ URL> focal-updates multiverse main restricted universe' \ 20.04-server- cloudimg- amd64.img \ img_name} .qcow2
amphora_
sudo octavia-
-m 'deb http://<INTERNAL_
-c 'deb http://<INTERNAL_
-u ussuri \
ubuntu-
${amphora_
# Convert the image to RAW format img_name} .qcow2 \ img_name} .raw
sudo qemu-img convert \
-f qcow2 -O raw \
${amphora_
${amphora_
# Upload the image to Glance images/ format bare \ img_name} .raw \ img_name}
mkdir -p $HOME/octavia-
openstack image create --tag octavia-amphora \
--container-
--disk-format raw \
--protected \
--file ${amphora_
${amphora_