juju bootstrap image does not work out of the box

Bug #1992338 reported by sharif uddin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MicroStack
New
Undecided
Unassigned

Bug Description

When uploading an image to use with juju to bootstrap a controller there is a missing step that needs to be done which is not mentioned

After the following command is run

OS_SERIES=focal
IMAGE_ID=$(curl \
   http://cloud-images.ubuntu.com/$OS_SERIES/current/$OS_SERIES-server-cloudimg-amd64.img | \
   microstack.openstack image create \
   --public --container-format=bare --disk-format=qcow2 \
   -f value -c id $OS_SERIES)

You will need to login to openstack, browse to your images and rename the image that got uploaded to include `-amd64`. without this the next part will not work.

juju bootstrap microstack microstack --bootstrap-series=$OS_SERIES \
--metadata-source=~/simplestreams \
--model-default network=test \
--model-default external-network=external \
--model-default use-floating-ip=true \
--config use-default-secgroup=true \
--config no-proxy=localhost,127.0.0.1,10.20.20.0/24,192.168.192.0/24 \
--config apt-no-proxy=localhost,127.0.0.1,10.20.20.0/24,192.168.192.0/24 \
--config juju-no-proxy=localhost,127.0.0.1,10.20.20.0/24,192.168.192.0/24 \
--config logging-config="<root>=TRACE;unit=TRACE" \
--debug \
--bootstrap-constraints cores=6 --constraints mem=6G

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.