vSphere configuration reference: example glance command has incorrect parameters

Bug #1322269 reported by adoom42
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Stephen Gordon

Bug Description

This command is mentioned under "Convert and load images":
$ glance image-create name="ubuntu-thick-scsi" disk_format=vmdk \
container_format=bare is_public=true \
--property vmware_adaptertype="lsiLogic" \
--property vmware_disktype="preallocated" \
--property vmware_ostype="ubuntu64Guest" < ubuntuLTS-flat.vmdk

If you copy/paste the command, it fails because several parameters are missing the preceding dashes.
glance: error: unrecognized arguments: name=ubuntu-thick-scsi disk_format=vmdk container_format=bare is_public=true

Correct command:
$ glance image-create --name="ubuntu-thick-scsi" --disk_format=vmdk \
--container_format=bare --is_public=true \
--property vmware_adaptertype="lsiLogic" \
--property vmware_disktype="preallocated" \
--property vmware_ostype="ubuntu64Guest" < ubuntuLTS-flat.vmdk

The page has two other commands whose parameters are also missing dashes.

Under Supported Image Types:
$ glance image-create name="ubuntu-sparse" disk_format=vmdk \
container_format=bare is_public=true \
--property vmware_disktype="sparse" \
--property vmware_ostype="ubuntu64Guest" < ubuntuLTS-sparse.vmdk

Under Tag VMware Images:
$ glance image-create name="ubuntu-thick-scsi" disk_format=vmdk \
container_format=bare is_public=true \
--property vmware_adaptertype="lsiLogic" \
--property vmware_disktype="preallocated" \
--property hypervisor_type="vmware" \
--property vmware_ostype="ubuntu64Guest" < ubuntuLTS-flat.vmdk

-----------------------------------
Built: 2014-05-16T14:15:45 00:00
git SHA: ed92ea154f460d78c24ec7323da3a649591a801a
URL: http://docs.openstack.org/icehouse/config-reference/content/vmware.html
source File: file:/home/jenkins/workspace/openstack-manuals-tox-doc-publishdocs/doc/config-reference/compute/section_hypervisor_vmware.xml
xml:id: vmware

Stephen Gordon (sgordon)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Stephen Gordon (sgordon)
milestone: none → icehouse
summary: - vSphere configuration reference: example glace command has incorrect
+ vSphere configuration reference: example glance command has incorrect
parameters
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/96442

Changed in openstack-manuals:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/96464

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/96442
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=9369ad4f9d8105d116dfbf5d82d3ce0ac7fd2ab3
Submitter: Jenkins
Branch: master

commit 9369ad4f9d8105d116dfbf5d82d3ce0ac7fd2ab3
Author: Stephen Gordon <email address hidden>
Date: Thu May 29 08:29:25 2014 -0400

    Fix parameters in VMware glance configuration

    A number of parameters in the VMware glance configuration commands were
    missing the preceding dashes. This prevented the commands from running
    successfully.

    Closes-Bug: #1322269
    Change-Id: I226423f89e9d3bd515440acdd9a1e4f3d8c0941c
    backport: icehouse

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

Reviewed: https://review.openstack.org/96464
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=068b85e573516a003c6fc63b336735c7108bcfbc
Submitter: Jenkins
Branch: stable/icehouse

commit 068b85e573516a003c6fc63b336735c7108bcfbc
Author: Stephen Gordon <email address hidden>
Date: Thu May 29 08:29:25 2014 -0400

    Fix parameters in VMware glance configuration

    Cherry-picked from https://review.openstack.org/#/c/96442/

    A number of parameters in the VMware glance configuration commands were
    missing the preceding dashes. This prevented the commands from running
    successfully.

    Change-Id: I0dd6ee20aec2447b3e9a8d923c93dcd51a2d882f
    Closes-Bug: #1322269

tags: added: in-stable-icehouse
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.