nova cli flavors commands do not use ephemeral_gb

Bug #932423 reported by Anthony Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
High
Anthony Young

Bug Description

Due to this change: https://blueprints.launchpad.net/nova/+spec/disk-configuration-parity some parts of the flavors cli need to be reworked.

Steps to reproduce:

$ nova flavor-list

Expected:

Display both root_gb and ephemeral_gb for each flavor.

Actual:

+----+-----------+-----------+------+----------+-------+-------------+
| ID | Name | Memory_MB | Swap | Local_GB | VCPUs | RXTX_Factor |
+----+-----------+-----------+------+----------+-------+-------------+
| 1 | m1.tiny | 512 | | 0 | 1 | 1.0 |
| 2 | m1.small | 2048 | | 10 | 1 | 1.0 |
| 3 | m1.medium | 4096 | | 10 | 2 | 1.0 |
| 4 | m1.large | 8192 | | 10 | 4 | 1.0 |
| 5 | m1.xlarge | 16384 | | 10 | 8 | 1.0 |
+----+-----------+-----------+------+----------+-------+-------------+

Only local_gb is displayed. Furthermore:

$ nova flavor-create
usage: nova flavor-create [--swap <swap>] [--rxtx-factor <factor>]
                          <name> <id> <ram> <disk> <vcpus>

This command should specify root_gb and ephemeral_gb.

tags: added: python-novaclient
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → High
milestone: none → essex-4
status: New → Confirmed
Changed in nova:
assignee: nobody → Anthony Young (sleepsonthefloor)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

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

Reviewed: https://review.openstack.org/4366
Committed: http://github.com/openstack/python-novaclient/commit/97eaa1f56fd32c168f98d45e1d5464f9ca851a58
Submitter: Jenkins
Branch: master

commit 97eaa1f56fd32c168f98d45e1d5464f9ca851a58
Author: Anthony Young <email address hidden>
Date: Tue Feb 21 13:21:31 2012 -0800

    Add support for ephemeral_gb to novaclient.

     * Fixes bug 932423

    Change-Id: I57620db469f34aaf1ae61c6ef116a21ac9787e40

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-4 → 2012.1
Thierry Carrez (ttx)
affects: nova → python-novaclient
Changed in python-novaclient:
milestone: 2012.1 → none
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.