Skip to content
Snippets Groups Projects

Document image upload

Merged Tomáš Sapák requested to merge image_upload into master
1 file
+ 30
0
Compare changes
  • Side-by-side
  • Inline
+ 30
0
@@ -68,3 +68,33 @@ The OpenStack orchestration service can be used to deploy and manage complex vir
including basic auto-scaling and self-healing.
For details, refer to [the official documentation](https://docs.openstack.org/heat-dashboard/rocky/user/index.html).
## Image upload
We don't support uploading own images by default. MetaCentrum Cloud images are optimized for running in the cloud and we recommend users
to customize them instead of building own images from scratch. If you need upload custom image, please contact user support for appropriate permissions.
Instructions for uploading custom image:
1. Upload only images in RAW format (not qcow2, vmdk, etc.).
2. Upload is supported only through OpenStack [CLI](https://cloud.gitlab-pages.ics.muni.cz/documentation/cli/) with Application Credentials.
3. Each image needs to contain metadata:
```
hw_scsi_model=virtio-scsi
hw_disk_bus=scsi
hw_rng_model=virtio
hw_qemu_guest_agent=yes
os_require_quiesce=yes
```
Following needs to be setup correctly (consult official [documentation](https://docs.openstack.org/glance/rocky/admin/useful-image-properties.html#image-property-keys-and-values))
or instances won't start:
```
os_type=linux # example
os_distro=ubuntu # example
```
4. Images should contain cloud-init, qemu-guest-agent and grow-part tools
5. OpenStack will resize instance after start. Image shouldn't contain any empty partitions or free space
Loading