← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1380866] Re: Can not show instances info by appointed tenant

 

this issue from novaclient

** Project changed: nova => python-novaclient

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

Title:
  Can not show instances info by appointed tenant

Status in Python client library for Nova:
  New

Bug description:
  Use CLI (nova list --tenant TENANT) to obtain some tenant's instances-list. But as a result, it displays as same as CLI (nova list, no appointed tenant).
  I want to get instances list within tenant "xwj01". But it shows intances-list within tenant "admin"(source file).
  [root@2C5_04_SBCW_09 ~(keystone_admin)]# nova list --tenant xwj01
  +--------------------------------------+-----------------+--------+------------+-------------+----------+
  | ID                                   | Name            | Status | Task State | Power State | Networks |
  +--------------------------------------+-----------------+--------+------------+-------------+----------+
  | 214663a3-655f-4a12-b742-2a0b134404d9 | OMP_252_1_1_9   | ACTIVE | -          | Shutdown    |          |
  | f2728602-8e86-40a2-b98a-118722bf1f21 | OMP_253_15_3_11 | ERROR  | -          | Shutdown    |          |
  | 45ddd1d1-923a-49a0-8a31-f36301e8c2f9 | OMP_253_15_3_12 | ACTIVE | -          | Running     |          |
  | 48bc15cd-6fa5-4f6a-adbe-488142df3a78 | PP_252_1_1_11   | ACTIVE | -          | Running     |          |
  +--------------------------------------+-----------------+--------+------------+-------------+----------+
  Actually, instances-list:
  [root@2C5_04_SBCW_09 ~(keystone_xwj01)]# nova list
  +--------------------------------------+------------------+--------+------------+-------------+------------------------------------------------------+
  | ID                                   | Name             | Status | Task State | Power State | Networks                                             |
  +--------------------------------------+------------------+--------+------------+-------------+------------------------------------------------------+
  | 2626100a-12c3-4eb6-8be6-d483d2942b5e | centos_6.4_mini  | ACTIVE | -          | Running     | net_xian=1.1.1.13                                    |
  | b1235830-1d01-4bdf-9195-fca41268f769 | net01_nat_to_ext | ACTIVE | -          | Running     | net01=192.168.103.4, 128.0.0.18                      |
  | ddaa0a9c-ef25-434d-8f80-4db7bf8198e8 | net02_nat_to_ext | ACTIVE | -          | Running     | net01=192.168.103.5, 128.0.0.19; net02=192.168.104.5 |
  | ceb12e6e-d551-4884-98eb-6fb9064c0dcd | rear2_nosriov_01 | ACTIVE | -          | Running     |                                                      |
  | 421e799b-8ef1-45df-a0e9-aaa0771cff7c | rear2_sriov_01   | ACTIVE | -          | Running     |                                                      |
  | f859d4e2-4e80-4e96-876e-d5f00fbd8704 | rear3_nosriov_01 | ACTIVE | -          | Running     |                                                      |
  | 71efba66-89ae-4461-9393-919108729fe0 | rear3_sriov_01   | ACTIVE | -          | Running     |                                                      |
  | a30ad2b7-8373-4936-85fb-f3dee30653e5 | rear3_sriov_01   | ACTIVE | -          | Running     |                                                      |
  | 35da5794-2604-41e8-931e-b6d9c6a5855b | windowxp         | ACTIVE | -          | Running     | net_xian=1.1.1.14                                    |
  +--------------------------------------+------------------+--------+------------+-------------+------------------------------------------------------+

  nova : icehouse, 2014.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-novaclient/+bug/1380866/+subscriptions


References