Magnum needs a image in glance to use when it spawns masters and workers. In openstack stein, we need to use (the outdated) Fedora Atomic 29 image.Yoga, Fedora CoreOS 35 is the version the project test against, and thus is the version we need to use
NOTE: Yoga needs this specific build of FCOS 35!
Code Block |
---|
# Download image wgetBrowse here httphttps://ftp-stud.hs-esslingen.de/pub/Mirrors/altbuilds.coreos.fedoraproject.org/atomic/stable/Fedora-29-updates-20191126.0/AtomicHost/x86_64/images/Fedora-AtomicHost-29-20191126.0.x86_64.raw.xzbrowser?stream=stable&arch=x86_64 # Decompress xz -d Fedora-AtomicHost-29-20191126.0.x86_64.raw.xz<image.qcow2.xz> # Convert qemu-img convert -f qcow2 -O raw <image.qcow2> <image.raw> # Upload to glance. Note the properties. These are important openstack image create \ --disk-format=raw \ --container-format=bare \ --file=Fedora-AtomicHost-29-20191126.0.x86_64.<imagw>.raw \ --min-disk 6<big enough> \ --property os_distro='fedora-atomiccoreos' \ --property hw_rng_model='virtio' \ --public \ --protected \ fedora-atomiccoreos<version>-lateststable |