nova command is wrong - Launch an instance from an image in OpenStack End User Guide  - havana

Bug #1285559 reported by ZhiQiang Fan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
ZhiQiang Fan

Bug Description

nova boot --flavor FLAVOR_ID --image IMAGE_ID --key_name KEY_NAME \
  --user-data mydata.file --security_group SEC_GROUP NAME_FOR_INSTANCE \
  --meta KEY=VALUE --meta
                    KEY=VALUE \
                    SERVER_NAME

the command is formatted ugly, and more important, the NAME_FOR_INSTANCE and SERVER_NAME are duplicate which will trigger cli error.

so does

nova boot --image ubuntu-cloudimage --flavor 1 \
  --file /root/.ssh/authorized_keys=special_authorized_keysfile

which is missing server name...

I found this when I investigate nova boot from volume command
-----------------------------------
Built: 2014-02-27T05:42:44 00:00
git SHA: 21ddb7fefaef9c8dcd40fa9859defb7474e8d3c8
URL: http://docs.openstack.org/user-guide/content/launch_from_image.html
source File: file:/home/jenkins/workspace/openstack-user-guide/doc/common/section_cli_nova_boot.xml
xml:id: launch_from_image

ZhiQiang Fan (aji-zqfan)
Changed in openstack-manuals:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
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/76823

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/76823
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=bf47d9f73000b613157bdaa4cbd60bdd2e7cbba9
Submitter: Jenkins
Branch: master

commit bf47d9f73000b613157bdaa4cbd60bdd2e7cbba9
Author: ZhiQiang Fan <email address hidden>
Date: Thu Feb 27 19:09:13 2014 +0800

    Fix incorrect nova boot command

    nova boot need a positional parameter for server name, but the example
    for user guide section of nova boot is wrong, we should fix it.

    Note that I also correct the output according to the parameter.

    Change-Id: I5f41d5fdd15ea274222e35705002fc56317f4989
    Closes-Bug: #1285559

Changed in openstack-manuals:
status: In Progress → Fix Committed
Changed in openstack-manuals:
importance: Undecided → Medium
milestone: none → icehouse
status: Fix Committed → 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.