← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1567317] [NEW] wrong link to attached vm from volumes list

 

Public bug reported:

1. log in as 'demo' user
2. create instance 'test'
3. create volume 'test_volume'
4. via Manage attachments dialogue, attach 'test_volume' to 'test' instance
5. log out
6. log in as 'admin'
7. navigate Admin - System - Volumes
8. click to link 'test' (name of VM) under 'Attached To' column

Now let's think about to terminate VM, that has 'test_volume' attached.

Current results:
you are redirected to:
/dashboard/project/instances/uuid-of-instace/

It is wrong, because 'admin' user is part of 'admin' project only. 'demo' user is member of 'demo' project only as well. So the link shows everything as expected, but if you try to terminate instance by drop-down menu, you will not see any notification (success neither failure) and actually you are redirected to:
/dashboard/project/instances/

Expected result:
click to VM name in list of volumes will navigate user to:
/dashboard/admin/instances/uuid-of-instace/detail

Attempt to terminate the VM will be succeded, notification would be displayed and user will land on:
/dashboard/admin/instances/

** 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/1567317

Title:
  wrong link to attached vm from volumes list

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  1. log in as 'demo' user
  2. create instance 'test'
  3. create volume 'test_volume'
  4. via Manage attachments dialogue, attach 'test_volume' to 'test' instance
  5. log out
  6. log in as 'admin'
  7. navigate Admin - System - Volumes
  8. click to link 'test' (name of VM) under 'Attached To' column

  Now let's think about to terminate VM, that has 'test_volume'
  attached.

  Current results:
  you are redirected to:
  /dashboard/project/instances/uuid-of-instace/

  It is wrong, because 'admin' user is part of 'admin' project only. 'demo' user is member of 'demo' project only as well. So the link shows everything as expected, but if you try to terminate instance by drop-down menu, you will not see any notification (success neither failure) and actually you are redirected to:
  /dashboard/project/instances/

  Expected result:
  click to VM name in list of volumes will navigate user to:
  /dashboard/admin/instances/uuid-of-instace/detail

  Attempt to terminate the VM will be succeded, notification would be displayed and user will land on:
  /dashboard/admin/instances/

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


Follow ups