I don't know if this is working as expected or not but the documentation mentions using image properties in Glance to specify a default image.
https://wikitech.wikimedia.org/wiki/Portal:Cloud_VPS/Admin/VM_images#How_To_Deploy
$ openstack image show 7c6371d1-8411-48c7-bf73-2ef6d6ff2a15 +------------------+------------------------------------------------------+ | Field | Value | +------------------+------------------------------------------------------+ | checksum | 101ff716e8cb8b6a5ae0ed2618e632d8 | | container_format | ovf | | created_at | 2018-11-22T06:43:07Z | | disk_format | qcow2 | | file | /v2/images/7c6371d1-8411-48c7-bf73-2ef6d6ff2a15/file | | id | 7c6371d1-8411-48c7-bf73-2ef6d6ff2a15 | | min_disk | 0 | | min_ram | 0 | | name | debian-9.6-stretch | | owner | admin | | properties | default='true', show='true' | <--- | protected | False | | schema | /v2/schemas/image | | size | 2081751040 | | status | active | | tags | | | updated_at | 2018-11-22T07:01:11Z | | virtual_size | None | | visibility | public | +------------------+------------------------------------------------------+
However, when creating a new instance, no image is allocated by default:
Questions:
- Are the "default" and "show" properties still used?
- If not, how to have an image be selected as the default in Horizon?
- OpenStack can activate/deactivate images, is that what the property "show" was used for in the past? Is it still required?