Use 'openstack image show' to replace 'nova image-show'
The command 'nova image-show' is deprecated and will be removed after Nova 15.0.0 is released, so this patch use 'openstack image show' to replace it for cleanup. Implements: blueprint use-openstack-command Change-Id: I5c9887556ba362f516d046e20a73de857fbd52a4
This commit is contained in:
parent
17ea5d33bb
commit
e5560a1c59
@ -146,7 +146,7 @@ Create an instance snapshot
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ nova image-create volumeTwoImage snapshotOfVolumeImage
|
$ nova image-create volumeTwoImage snapshotOfVolumeImage
|
||||||
$ nova image-show snapshotOfVolumeImage
|
$ openstack image show snapshotOfVolumeImage
|
||||||
|
|
||||||
Pause, suspend, stop, rescue, resize, rebuild, reboot an instance
|
Pause, suspend, stop, rescue, resize, rebuild, reboot an instance
|
||||||
-----------------------------------------------------------------
|
-----------------------------------------------------------------
|
||||||
|
@ -163,23 +163,29 @@ the volume to boot an instance.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ nova image-show 98901246-af9...
|
$ openstack image show 98901246-af9...
|
||||||
+---------------------------------+--------------------------------------+
|
+------------------+------------------------------------------------------+
|
||||||
| Property | Value |
|
| Field | Value |
|
||||||
+---------------------------------+--------------------------------------+
|
+------------------+------------------------------------------------------+
|
||||||
| OS-EXT-IMG-SIZE:size | 25165824 |
|
| checksum | ee1eca47dc88f4879d8a229cc70a07c6 |
|
||||||
| created | 2016-03-11T16:39:25Z |
|
| container_format | bare |
|
||||||
| id | 98901246-af9... |
|
| created_at | 2016-10-08T14:59:05Z |
|
||||||
| metadata cinder_img_volume_type | storage_backend1 |
|
| disk_format | qcow2 |
|
||||||
| metadata kernel_id | 759e3e20-83b... |
|
| file | /v2/images/9fef3b2d-c35d-4b61-bea8-09cc6dc41829/file |
|
||||||
| metadata ramdisk_id | 5a8b526f-d5c... |
|
| id | 98901246-af9d-4b61-bea8-09cc6dc41829 |
|
||||||
| minDisk | 0 |
|
| min_disk | 0 |
|
||||||
| minRam | 0 |
|
| min_ram | 0 |
|
||||||
| name | cirros-0.3.4-x86_64-uec |
|
| name | cirros-0.3.4-x86_64-uec |
|
||||||
| progress | 100 |
|
| owner | 8d8ef3cdf2b54c25831cbb409ad9ae86 |
|
||||||
| status | ACTIVE |
|
| protected | False |
|
||||||
| updated | 2016-03-17T22:55:03Z |
|
| schema | /v2/schemas/image |
|
||||||
+---------------------------------+--------------------------------------+
|
| size | 13287936 |
|
||||||
|
| status | active |
|
||||||
|
| tags | |
|
||||||
|
| updated_at | 2016-10-19T09:12:52Z |
|
||||||
|
| virtual_size | None |
|
||||||
|
| visibility | public |
|
||||||
|
+------------------+------------------------------------------------------+
|
||||||
|
|
||||||
#. List the available flavors.
|
#. List the available flavors.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user