1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | ubuntu@blackboxsw-bastion:~$ openstack image show ubuntu-released/ubuntu-xenial-16.04-i386-server-20170330-root.tar.gz
+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum | 497ad1722bbed7f955732ac844629e24 |
| container_format | bare |
| created_at | 2017-04-07T11:26:31Z |
| disk_format | root-tar |
| file | /v2/images/af17468a-3774-43f1-8ba8-5757f6e8cc13/file |
| id | af17468a-3774-43f1-8ba8-5757f6e8cc13 |
| min_disk | 0 |
| min_ram | 0 |
| name | ubuntu-released/ubuntu-xenial-16.04-i386-server-20170330-root.tar.gz |
| owner | cb00c386e9a94ce196ba4e6e3c99d942 |
| properties | architecture='i686', content_id='com.canonical.serverstack.serverstack:ubuntu:released', |
| | direct_url='rbd://9f63f914-1ae6-11e7-922d-00163e397f92/glance/af17468a-3774-43f1-8ba8-5757f6e8cc13/snap', hypervisor_type='lxc', |
| | item_name='root.tar.gz', locations='[{'url': 'rbd://9f63f914-1ae6-11e7-922d-00163e397f92/glance/af17468a-3774-43f1-8ba8-5757f6e8cc13/snap', |
| | 'metadata': {}}]', os_distro='ubuntu', os_version='16.04', product_name='com.ubuntu.cloud:server:16.04:i386', simplestreams_metadata='{"aliases": |
| | "16.04,default,lts,x,xenial", "arch": "i386", "ftype": "root.tar.gz", "label": "release", "md5": "497ad1722bbed7f955732ac844629e24", "os": |
| | "ubuntu", "pubname": "ubuntu-xenial-16.04-i386-server-20170330", "release": "xenial", "release_codename": "Xenial Xerus", "release_title": "16.04 |
| | LTS", "sha256": "d164e8d293ee22ae6fbe80be9c5e76d35770fee34fdc8af10deb094e03ad0661", "size": "237812093", "support_eol": "2021-04-21", "supported": |
| | "True", "version": "16.04"}', source_content_id='com.ubuntu.cloud:released:download', version_name='20170330' |
| protected | False |
| schema | /v2/schemas/image |
| size | 237812093 |
| status | active |
| tags | |
| updated_at | 2017-04-07T11:26:40Z |
| virtual_size | None |
| visibility | public |
+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
ubuntu@blackboxsw-bastion:~$ openstack image create --disk-format raw --container-format bare --file $imagefile bbsw/$ref-image.tar.gz;
+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum | f7017ea07d8ee5d776c1743336b2f463 |
| container_format | bare |
| created_at | 2017-05-02T22:00:19Z |
| disk_format | raw |
| file | /v2/images/33adad32-d95f-47cc-be79-f17155477c40/file |
| id | 33adad32-d95f-47cc-be79-f17155477c40 |
| min_disk | 0 |
| min_ram | 0 |
| name | bbsw/zesty-proposed-image.tar.gz |
| owner | e0eb2d253881491abf92bd522bba9f32 |
| properties | direct_url='rbd://9f63f914-1ae6-11e7-922d-00163e397f92/glance/33adad32-d95f-47cc-be79-f17155477c40/snap', locations='[{'metadata': {}, 'url': |
| | 'rbd://9f63f914-1ae6-11e7-922d-00163e397f92/glance/33adad32-d95f-47cc-be79-f17155477c40/snap'}]' |
| protected | False |
| schema | /v2/schemas/image |
| size | 239255298 |
| status | active |
| tags | |
| updated_at | 2017-05-02T22:00:29Z |
| virtual_size | None |
| visibility | shared |
+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
ubuntu@blackboxsw-bastion:~$
|