← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1623908] [NEW] Nova documentation on creating flavors has depreceated examples

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
     Assignee: Gábor Antal (gabor.antal)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Gábor Antal (gabor.antal)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1623908

Title:
  Nova documentation on creating flavors has depreceated examples

Status in OpenStack Compute (nova):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1623908/+subscriptions


Follow ups