Nova documentation on creating flavors has depreceated examples

Bug #1623908 reported by Gábor Antal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Gábor Antal

Bug Description

In the admin-guide/compute-flavors [1][2], there is deprecated example, the example is (below "Is Public"):

    $ openstack flavor create --private p1.medium auto 512 40 4

Pasting it in, gives you an error:

$ openstack flavor create --private p1.medium auto 512 40 4
usage: openstack flavor create [-h] [-f {json,shell,table,value,yaml}]
                               [-c COLUMN] [--max-width <integer>]
                               [--noindent] [--prefix PREFIX] [--id <id>]
                               [--ram <size-mb>] [--disk <size-gb>]
                               [--ephemeral <size-gb>] [--swap <size-gb>]
                               [--vcpus <vcpus>] [--rxtx-factor <factor>]
                               [--public | --private] [--property <key=value>]
                               [--project <project>]
                               [--project-domain <project-domain>]
                               <flavor-name>
openstack flavor create: error: unrecognized arguments: auto 512 40 4

[1]: http://docs.openstack.org/admin-guide/compute-flavors.html
[2]: https://github.com/openstack/openstack-manuals/blob/master/doc/admin-guide/source/compute-flavors.rst

Tags: admin-guide
Changed in nova:
assignee: nobody → Gábor Antal (gabor.antal)
Revision history for this message
Sean Dague (sdague) wrote :

The documentation actually exists in the openstack-manuals not in Nova

no longer affects: nova
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Gábor Antal (gabor.antal) wrote :

Sean: Sorry for that. Thanks for correcting.

The patchset is uploaded, here's the link:
https://review.openstack.org/#/c/370840/

Changed in openstack-manuals:
assignee: nobody → Gábor Antal (gabor.antal)
tags: added: admin-guide
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

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

commit bd9c910ad77337849c76924fd34ac8156c339492
Author: Gábor Antal <email address hidden>
Date: Thu Sep 15 15:38:06 2016 +0200

    [admin-guide] Replace deprecated example in flavor creating

    Creating a flavor via command-line had a deprecated command,
    which will not work on current release (neither works on
    devstack master branch). In this patchset, old command is
    replaced with a working one.

    Change-Id: Id66c91f9062dfceb47b93017875d23a31ded5535
    Closes-Bug: #1623908

Changed in openstack-manuals:
status: Confirmed → 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.