← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1926043] [NEW] Dashboard / Project / Instances error when role member

 

Public bug reported:

>From ubuntu cloud-archive install of Victoria horizon.
User with 'member' role only logs in.
Go to Project / Instances
Choose an instance the user created
Dashboard error page occurs
Logs show Dashboard attempting to access AttributeError: OS-EXT-SRV-ATTR:instance_name
As a 'member' the user can not view this variable.
openstack CLI correctly just doesn't return it.

Proposed fix:
openstack_dashboard/api/base.py line 142
raise

change to

return ""

With this modification the instances page correctly loads for the user.

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Dashboard / Project / Instances error when role member

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  From ubuntu cloud-archive install of Victoria horizon.
  User with 'member' role only logs in.
  Go to Project / Instances
  Choose an instance the user created
  Dashboard error page occurs
  Logs show Dashboard attempting to access AttributeError: OS-EXT-SRV-ATTR:instance_name
  As a 'member' the user can not view this variable.
  openstack CLI correctly just doesn't return it.

  Proposed fix:
  openstack_dashboard/api/base.py line 142
  raise

  change to

  return ""

  With this modification the instances page correctly loads for the
  user.

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


Follow ups