← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1356431] [NEW] nova list --tenant <name> doesn't list tenant images

 

Public bug reported:

When I want to list the instances for a project I run
# nova list --tenant my_tenant

+--------------------------------------+----------+--------+------------+-------------+------------------+
| ID                                   | Name     | Status | Task State | Power State | Networks         |
+--------------------------------------+----------+--------+------------+-------------+------------------+
+--------------------------------------+----------+--------+------------+-------------+------------------+

In return, I don't get the correct instances I booted under my project.
However, the instance does exists under --all-tenants.

# nova list --all-tenants

+--------------------------------------+----------+--------+------------+-------------+------------------+
| ID                                   | Name     | Status | Task State | Power State | Networks         |
+--------------------------------------+----------+--------+------------+-------------+------------------+
| 8c8e5e10-d799-420b-9ea5-0a99feb3e40a | my_vm | ACTIVE | -          | Running     | private=10.0.0.3 |
+--------------------------------------+----------+--------+------------+-------------+------------------+


Steps to reproduce:
# keystone tenant-create --name my_tenant
# keystone user-role-add --user admin --role Member --tenant my_tenant
# OS_TENANT_NAME=my_tenant nova boot --image cirros-0.3.2-x86_64-uec --flavor m1.micro my_vm
# nova list --tenant my_tenant
# nova list --all-tenants

** Affects: nova
     Importance: Undecided
     Assignee: Ryan Hallisey (rthall14)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Ryan Hallisey (rthall14)

** Changed in: nova
       Status: New => In Progress

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

Title:
  nova list --tenant <name> doesn't list tenant images

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  When I want to list the instances for a project I run
  # nova list --tenant my_tenant

  +--------------------------------------+----------+--------+------------+-------------+------------------+
  | ID                                   | Name     | Status | Task State | Power State | Networks         |
  +--------------------------------------+----------+--------+------------+-------------+------------------+
  +--------------------------------------+----------+--------+------------+-------------+------------------+

  In return, I don't get the correct instances I booted under my project.
  However, the instance does exists under --all-tenants.

  # nova list --all-tenants

  +--------------------------------------+----------+--------+------------+-------------+------------------+
  | ID                                   | Name     | Status | Task State | Power State | Networks         |
  +--------------------------------------+----------+--------+------------+-------------+------------------+
  | 8c8e5e10-d799-420b-9ea5-0a99feb3e40a | my_vm | ACTIVE | -          | Running     | private=10.0.0.3 |
  +--------------------------------------+----------+--------+------------+-------------+------------------+

  
  Steps to reproduce:
  # keystone tenant-create --name my_tenant
  # keystone user-role-add --user admin --role Member --tenant my_tenant
  # OS_TENANT_NAME=my_tenant nova boot --image cirros-0.3.2-x86_64-uec --flavor m1.micro my_vm
  # nova list --tenant my_tenant
  # nova list --all-tenants

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


Follow ups

References