$ glance image-create --store az0 --disk-format raw --container-format bare --name cirros-test --file cirros-0.5.2-x86_64-disk.raw [90/1841] +------------------+----------------------------------------------------------------------------------+ | Property | Value | +------------------+----------------------------------------------------------------------------------+ | checksum | 318f4eb47a165b55db0be707e0ecbf63 | | container_format | bare | | created_at | 2024-07-25T18:07:55Z | | disk_format | raw | | id | 52a78b29-1a7c-4b58-bc1c-e331f72f579d | | min_disk | 0 | | min_ram | 0 | | name | cirros-test | | os_hash_algo | sha512 | | os_hash_value | a3fd523ada34f4e4a8d2cd1eeb94a6c1b05aabd63b3e0ff2c6522f3fd2f221d79569e8c2fffa92c2 | | | 7d4a6e8e832771cb035c6d162f7a0192ae3896b168ecba51 | | os_hidden | False | | owner | 59c9c998801d4a97a63013ecd959916a | | protected | False | | size | 117440512 | | status | active | | stores | az0 | | tags | [] | | updated_at | 2024-07-25T18:07:59Z | | virtual_size | 117440512 | | visibility | shared | +------------------+----------------------------------------------------------------------------------+ $ $ openstack server create --flavor m1.nano --image 52a78b29-1a7c-4b58-bc1c-e331f72f579d --nic net-id=public test2-to-az2-j3 --availability-zone az1 +-------------------------------------+----------------------------------------------------+ | Field | Value | +-------------------------------------+----------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | az1 | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name | | | OS-EXT-STS:power_state | NOSTATE | | OS-EXT-STS:task_state | scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | | | adminPass | v78978e5JwFb | | config_drive | | | created | 2024-07-25T18:08:33Z | | flavor | m1.nano (b942f633-bb3e-4b21-9e25-ccceb93b403c) | | hostId | | | id | bb265cc8-4506-4977-a836-f9791e2feb50 | | image | cirros-test (52a78b29-1a7c-4b58-bc1c-e331f72f579d) | | key_name | None | | name | test2-to-az2-j3 | | progress | 0 | | project_id | 59c9c998801d4a97a63013ecd959916a | | properties | | | security_groups | name='default' | | status | BUILD | | updated | 2024-07-25T18:08:33Z | | user_id | 21af015f36374818accb2f069c0e6352 | | volumes_attached | | +-------------------------------------+----------------------------------------------------+ $ $ glance image-list --include-stores +--------------------------------------+----------------------------------+-------------+ | ID | Name | Stores | +--------------------------------------+----------------------------------+-------------+ | e07f91ff-2962-4079-bec8-190a3c01a84f | abhi-test | az0,az2,az1 | | 12345678-aaaa-bbbb-cccc-0123456789ab | cirros-0.5.2-x86_64-disk.img | az0,az1,az2 | | 87654321-aaaa-bbbb-cccc-0123456789ab | cirros-0.5.2-x86_64-disk.img_alt | az0,az1,az2 | | 2a54930f-1201-41ef-8c8e-931134a3f89e | cirros-0.6.2-x86_64-disk.img | az0 | | 5b898a2d-8abe-4d2b-b2aa-49fb842f019b | cirros-0.6.2-x86_64-disk.img_alt | az0 | | 52a78b29-1a7c-4b58-bc1c-e331f72f579d | cirros-test | az0,az1 | | 2d20dbbf-4f29-46cc-a75d-7ea72957ac38 | tempest-backup-1-1458602772 | az2 | | 314961e3-d694-49e2-9712-d5a6f6faac3f | tempest-backup-1-190692845 | az1 | +--------------------------------------+----------------------------------+-------------+ $ image was copied to az1 $ openstack server create --flavor m1.nano --image 52a78b29-1a7c-4b58-bc1c-e331f72f579d --nic net-id=public test2-to-az2-j3 --availability-zone az2 [4/1841] +-------------------------------------+----------------------------------------------------+ | Field | Value | +-------------------------------------+----------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | az2 | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name | | | OS-EXT-STS:power_state | NOSTATE | | OS-EXT-STS:task_state | scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | | | adminPass | uQbAXABPjck2 | | config_drive | | | created | 2024-07-25T18:09:18Z | | flavor | m1.nano (b942f633-bb3e-4b21-9e25-ccceb93b403c) | | hostId | | | id | 0f203a45-2eb5-4a25-bfd6-8b9f78a63390 | | image | cirros-test (52a78b29-1a7c-4b58-bc1c-e331f72f579d) | | key_name | None | | name | test2-to-az2-j3 | | progress | 0 | | project_id | 59c9c998801d4a97a63013ecd959916a | | properties | | | security_groups | name='default' | | status | BUILD | | updated | 2024-07-25T18:09:18Z | | user_id | 21af015f36374818accb2f069c0e6352 | | volumes_attached | | +-------------------------------------+----------------------------------------------------+ $ $ glance image-list --include-stores +--------------------------------------+----------------------------------+-------------+ | ID | Name | Stores | +--------------------------------------+----------------------------------+-------------+ | e07f91ff-2962-4079-bec8-190a3c01a84f | abhi-test | az0,az2,az1 | | 12345678-aaaa-bbbb-cccc-0123456789ab | cirros-0.5.2-x86_64-disk.img | az0,az1,az2 | | 87654321-aaaa-bbbb-cccc-0123456789ab | cirros-0.5.2-x86_64-disk.img_alt | az0,az1,az2 | | 2a54930f-1201-41ef-8c8e-931134a3f89e | cirros-0.6.2-x86_64-disk.img | az0 | | 5b898a2d-8abe-4d2b-b2aa-49fb842f019b | cirros-0.6.2-x86_64-disk.img_alt | az0 | | 52a78b29-1a7c-4b58-bc1c-e331f72f579d | cirros-test | az0,az1,az2 | | 2d20dbbf-4f29-46cc-a75d-7ea72957ac38 | tempest-backup-1-1458602772 | az2 | | 314961e3-d694-49e2-9712-d5a6f6faac3f | tempest-backup-1-190692845 | az1 | +--------------------------------------+----------------------------------+-------------+ $ image was copied to az2