← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1251310] Re: admin instances details link does not work reliably

 

Admin page only list instances in current project  here

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1251310

Title:
  admin instances details link does not work reliably

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  In the admin instances page, instances may get listed that are in
  several projects, and the api calls contain an admin=true flag to be
  able to list instances everywhere.

  However, the details link is produced like this:
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/instances/tables.py#L91

  When you examine the view this points to, it is a project view:
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/instances/urls.py#L36

  The project views make api calls where admin=true is not specified such as this:
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/views.py#L220

  This means if you click on a server instance in an outside project the
  details page may not work correctly.

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