← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1323541] Re: The swap measurement unit is not specified in the CLI table

 

** Changed in: python-novaclient
       Status: Fix Committed => Fix Released

-- 
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/1323541

Title:
  The swap measurement unit is not specified in the CLI table

Status in OpenStack Compute (Nova):
  Fix Released
Status in Python client library for Nova:
  Fix Released

Bug description:
  Description of problem:
  The measurement unit of the swap memory in the flavor is MB, unlike all the other disk's units, which are GB. 
  This might cause a confusion in the CLI when the unit is not specified:
   +--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
  | ID                                   | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
  +--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
  | 13eec680-fa84-4c8a-98ed-51ad564bb0c6 | m1.tiny   | 512       | 1    | 0         | 512  | 1     | 1.0         | True      |
  | 3                                    | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      |
  | 4                                    | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      |
  | 41f44ff1-b09c-4d14-948d-ead7cf2177a9 | m1.small  | 2048      | 20   | 40        |      | 1     | 1.0         | True      |
  | 5                                    | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      |
  +--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+

  Version-Release number of selected component (if applicable):
  openstack-nova-compute-2014.1-2.el7ost.noarch
  openstack-nova-cert-2014.1-2.el7ost.noarch
  openstack-nova-novncproxy-2014.1-2.el7ost.noarch
  python-novaclient-2.17.0-1.el7ost.noarch
  python-nova-2014.1-2.el7ost.noarch
  openstack-nova-api-2014.1-2.el7ost.noarch
  openstack-nova-network-2014.1-2.el7ost.noarch
  openstack-nova-console-2014.1-2.el7ost.noarch
  openstack-nova-scheduler-2014.1-2.el7ost.noarch
  openstack-nova-conductor-2014.1-2.el7ost.noarch
  openstack-nova-common-2014.1-2.el7ost.noarch

  
  How reproducible:
  100%

  Steps to Reproduce:
  1. add swap to a flavor
  2. run the CLI command:
  # nova flavor-list

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


References