Error when trying to show details of cluster from other tenants (is_public = True)

Bug #1588795 reported by yacine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned
Sahara
Fix Released
High
Vitalii Gridnev

Bug Description

Error with sahara-dashboard

To reproduce:

-1 create a cluster
-2 make it public
-3 change your tenant
-4 try to click on the previously created cluster to show details.

Error:

Error during template rendering

In template /home/horizon/horizon/.venv/local/lib/python2.7/site-packages/sahara_dashboard/content/data_processing/clusters/templates/clusters/_details.html, error at line 32
Reverse for 'plugin-details' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: [u'project/data_processing/jobs/plugin/(?P<plugin_id>[^/]+)$']

Tags: dashboard
Changed in horizon:
status: New → Invalid
Revision history for this message
Vitalii Gridnev (vgridnev) wrote :

What openstack version do you have?

Revision history for this message
yacine (yacine-saibi) wrote : Re: [Bug 1588795] Re: Error when trying to show details of cluster from other tenants (is_public = True)

Sahara: Mitaka
Horizon: Mitaka

----- Original Message -----
From: "Vitaly Gridnev" <email address hidden>
To: "yacine saibi" <email address hidden>
Sent: Thursday, June 30, 2016 1:07:27 PM
Subject: [Bug 1588795] Re: Error when trying to show details of cluster from other tenants (is_public = True)

What openstack version do you have?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1588795

Title:
  Error when trying to show details of cluster from other tenants
  (is_public = True)

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in Sahara:
  New

Bug description:
  Error with sahara-dashboard

  To reproduce:

  -1 create a cluster
  -2 make it public
  -3 change your tenant
  -4 try to click on the previously created cluster to show details.

  Error:

  Error during template rendering

  In template /home/horizon/horizon/.venv/local/lib/python2.7/site-packages/sahara_dashboard/content/data_processing/clusters/templates/clusters/_details.html, error at line 32
  Reverse for 'plugin-details' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: [u'project/data_processing/jobs/plugin/(?P<plugin_id>[^/]+)$']

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

Changed in sahara:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Vitaly Gridnev (vgridnev)
milestone: none → newton-2
Changed in sahara:
assignee: Vitaly Gridnev (vgridnev) → nobody
Changed in sahara:
milestone: newton-2 → newton-3
Changed in sahara:
assignee: nobody → Vitaly Gridnev (vgridnev)
Changed in sahara:
assignee: Vitaly Gridnev (vgridnev) → nobody
Changed in sahara:
assignee: nobody → Vitaly Gridnev (vgridnev)
Revision history for this message
Vitalii Gridnev (vgridnev) wrote :
Changed in sahara:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara-dashboard (master)

Reviewed: https://review.openstack.org/342689
Committed: https://git.openstack.org/cgit/openstack/sahara-dashboard/commit/?id=d288c54073e8b7f11060b612d35865685f86e9e0
Submitter: Jenkins
Branch: master

commit d288c54073e8b7f11060b612d35865685f86e9e0
Author: Vitaly Gridnev <email address hidden>
Date: Fri Jul 15 12:09:29 2016 +0300

    be safer on retrieving objects

    when object is public, there is no guarantee that
    all resources are shared between tenants. so, it's
    better to safer on case of retrieving additional information
    about cluster details.

    Change-Id: Ib0d9b4d324f40504d3540d2716df64dd8e206af5
    Closes-bug: 1588795

Changed in sahara:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/sahara-dashboard 5.0.0.0b3

This issue was fixed in the openstack/sahara-dashboard 5.0.0.0b3 development milestone.

Luigi Toscano (ltoscano)
tags: added: dashboard
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.