Merge "Docs: glance image-create returns an error issue"

This commit is contained in:
Zuul 2018-08-02 13:09:45 +00:00 committed by Gerrit Code Review
commit a3838009d3
1 changed files with 29 additions and 23 deletions

View File

@ -73,21 +73,27 @@ server is an instance where NFS shares are served.
.. code-block:: console .. code-block:: console
$ glance image-create \ $ curl https://tarballs.openstack.org/manila-image-elements/images/manila-service-image-master.qcow2 | \
--copy-from http://tarballs.openstack.org/manila-image-elements/images/manila-service-image-master.qcow2 \ glance image-create \
--name "manila-service-image" \ --name "manila-service-image" \
--disk-format qcow2 \ --disk-format qcow2 \
--container-format bare \ --container-format bare \
--visibility public --progress --visibility public --progress
[=============================>] 100% % Total % Received % Xferd Average Speed Time Time Time Current
+------------------+--------------------------------------+ Dload Upload Total Spent Left Speed
100 3008k 100 3008k 0 0 1042k 0 0:00:02 0:00:02 --:--:-- 1041k
+------------------+----------------------------------------------------------------------------------+
| Property | Value | | Property | Value |
+------------------+--------------------------------------+ +------------------+----------------------------------------------------------------------------------+
| checksum | 48a08e746cf0986e2bc32040a9183445 | | checksum | 48a08e746cf0986e2bc32040a9183445 |
| container_format | bare | | container_format | bare |
| created_at | 2016-01-26T19:52:24Z | | created_at | 2016-01-26T19:52:24Z |
| direct_url | rbd://3c3a4cbc-7331-4fc1-8cbb-79213b9cebff/images/ff97deff-b184-47f8-827c- |
| | 16c349c82720/snap |
| disk_format | qcow2 | | disk_format | qcow2 |
| id | 1fc7f29e-8fe6-44ef-9c3c-15217e83997c | | id | 1fc7f29e-8fe6-44ef-9c3c-15217e83997c |
| locations | [{"url": "rbd://3c3a4cbc-7331-4fc1-8cbb-79213b9cebff/images/ff97deff-b184-47f8 |
| | -827c-16c349c82720/snap", "metadata": {}}] |
| min_disk | 0 | | min_disk | 0 |
| min_ram | 0 | | min_ram | 0 |
| name | manila-service-image | | name | manila-service-image |
@ -99,7 +105,7 @@ server is an instance where NFS shares are served.
| updated_at | 2016-01-26T19:52:28Z | | updated_at | 2016-01-26T19:52:28Z |
| virtual_size | None | | virtual_size | None |
| visibility | public | | visibility | public |
+------------------+--------------------------------------+ +------------------+----------------------------------------------------------------------------------+
#. List available networks in order to get id and subnets of the private #. List available networks in order to get id and subnets of the private
network: network: