Manage volumes in Administrator Guide is using out-of-date commands

Bug #1628820 reported by Lujin Luo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Undecided
Lujin Luo

Bug Description

This page contains the following 2 bugs. For the ease of reading, both CLI outputs can also be seen here http://paste.openstack.org/show/583428/

1. $ nova image-list
$ nova image-list
WARNING: Command image-list is deprecated and will be removed after Nova 15.0.0 is released. Use python-glanceclient or openstackclient instead.
ERROR (VersionNotFoundForAPIMethod): API version 'API Version Major: 2, Minor: 37' is not supported on 'list' method.

We should use $ glance image-list instead.
$ glance image-list
+--------------------------------------+---------------------------------+
| ID | Name |
+--------------------------------------+---------------------------------+
| c2833699-594f-4651-a1e3-b7b6bb31dc8c | cirros-0.3.4-x86_64-uec |
| 28d3d4fb-a2b0-46e9-aef8-07a931c8986b | cirros-0.3.4-x86_64-uec-kernel |
| 832962d2-cabd-4dd2-b2e4-00944fe8b84e | cirros-0.3.4-x86_64-uec-ramdisk |
+--------------------------------------+---------------------------------+

2. $ cinder create 8 --display-name my-new-volume \
> --image-id c2833699-594f-4651-a1e3-b7b6bb31dc8c \
> --availability-zone nova
+--------------------------------+--------------------------------------+
| Property | Value |
+--------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2016-09-29T08:12:58.000000 |
| description | None |
| encrypted | False |
| id | 31e440f4-fd3d-43c9-8345-fd3eb4dca33d |
| metadata | {} |
| migration_status | None |
| multiattach | False |
| name | my-new-volume |
| os-vol-host-attr:host | None |
| os-vol-mig-status-attr:migstat | None |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | 29c09e68e6f741afa952a837e29c700b |
| replication_status | disabled |
| size | 8 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| updated_at | None |
| user_id | 6ab5800949644c3e8fb86aaeab8275c8 |
| volume_type | lvmdriver-1 |
+--------------------------------+--------------------------------------+

Additional properties are added in the above output.
-----------------------------------
Release: 0.9 on 2016-09-29 06:29
SHA: 6d5e22348e7f15d17a2eb828aa0d6bf44c50ef1d
Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/admin-guide/source/common/cli-manage-volumes.rst
URL: http://docs.openstack.org/admin-guide/common/cli-manage-volumes.html

Tags: admin-guide
Lujin Luo (luo-lujin)
Changed in openstack-manuals:
assignee: nobody → Lujin Luo (luo-lujin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/379271

Changed in openstack-manuals:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/379271
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=0778e2b66df005f1bbc4c7f67676c5002e1b2520
Submitter: Jenkins
Branch: master

commit 0778e2b66df005f1bbc4c7f67676c5002e1b2520
Author: Lujin Luo <email address hidden>
Date: Thu Sep 29 17:34:20 2016 +0900

    [admin-guide] Fixes command and output of command in admin guide

    In OpenStack command-line clients section, manage volumes subsection,
    $ nova image-list is deprecated and the output of $ cinder create
    is updated.

    This patch uses $ glance image-list to replace $ nova image-list
    and updates the output of $ cinder create to latest version.

    Change-Id: I5eaf923aefce2eb056f5426393e6e71684cb1013
    Closes-Bug: #1628820

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.