← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1538002] Re: incorrect info returned when show aggregate info

 

bug skimming
------------------
It looks like the python-openstackclient handles empty values different than the python-novalient CLI. As the Nova API returns the values as is and the python-novaclient handles it as expected, I thing the issue (if any) is in the python-openstackclient.

** Also affects: python-openstackclient
   Importance: Undecided
       Status: New

** Changed in: nova
       Status: New => Invalid

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

Title:
  incorrect info returned when show aggregate info

Status in OpenStack Compute (nova):
  Invalid
Status in python-openstackclient:
  New

Bug description:
  [Summary]
  incorrect info returned when show aggregate info

  [Topo]
  devstack all-in-one node

  [Description and expect result]
  correct info returned when show aggregate info

  [Reproduceable or not]
  reproduceable 

  [Recreate Steps]
  1) create an aggregate, availability_zone is not specified:
  root@45-59:~# openstack aggregate create agg1
  +-------------------+----------------------------+
  | Field             | Value                      |
  +-------------------+----------------------------+
  | availability_zone | None                       |
  | created_at        | 2016-01-26T14:23:24.000000 |
  | deleted           | False                      |
  | deleted_at        | None                       |
  | id                | 6                          |
  | name              | agg1                       |
  | updated_at        | None                       |
  +-------------------+----------------------------+
  root@45-59:~# 
  root@45-59:~# 
  root@45-59:~# openstack aggregate list
  +----+------+-------------------+
  | ID | Name | Availability Zone |
  +----+------+-------------------+
  |  6 | agg1 | None              |  >>>>ISSUE, availability_zone is shown as "None"
  +----+------+-------------------+
  root@45-59:~#

  ISSUE: availability_zone can be shown as "-"

  2)below is nova cmd for reference:
  root@45-59:~# nova aggregate-details agg1
  +----+------+-------------------+-------+----------+
  | Id | Name | Availability Zone | Hosts | Metadata |
  +----+------+-------------------+-------+----------+
  | 6  | agg1 | -                 |       |          |
  +----+------+-------------------+-------+----------+
  root@45-59:~# 
  root@45-59:~# nova aggregate-list
  +----+------+-------------------+
  | Id | Name | Availability Zone |
  +----+------+-------------------+
  | 6  | agg1 | -                 |
  +----+------+-------------------+
  root@45-59:~#

  
  [Configration]
  reproduceable bug, no need

  [logs]
  reproduceable bug, no need

  [Root cause anlyze or debug inf]
  reproduceable bug

  [Attachment]
  None

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


References