Bug 1097869
| Summary: | Sahara dashboard does not show tabs | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Luigi Toscano <ltoscano> | ||||||||||
| Component: | python-django-sahara | Assignee: | Michael McCune <mimccune> | ||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Luigi Toscano <ltoscano> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | high | ||||||||||||
| Version: | 5.0 (RHEL 7) | CC: | dnavale, jliberma, kroberts, matt, mimccune, mrunge, mruzicka, rhos-maint, sclewis, scohen, sgraf, tnovacik, trusnak, yeylon | ||||||||||
| Target Milestone: | z3 | Keywords: | TechPreview, ZStream | ||||||||||
| Target Release: | 5.0 (RHEL 7) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | python-django-sahara-2014.1.2-2.el7ost | Doc Type: | Technology Preview | ||||||||||
| Doc Text: |
With this update, python-django-sahara package has been updated. As a result, the menu, submenus for Data Processing (sahara) are displayed in the Red Hat theme.
|
Story Points: | --- | ||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2014-12-02 15:24:20 UTC | Type: | Bug | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Embargoed: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Luigi Toscano
2014-05-14 18:10:09 UTC
Created attachment 895563 [details]
Image of the current status
The attached image shows the current status.
Created attachment 895564 [details]
Image of the clean Sahara dashboard
Image of the clean dashboard.
The clean dashboard is available by forcibly (--nodeps) removing redhat-access-plugin-openstack and openstack-dashboard-theme, so I think it's style-related. openstack-dashboard-theme-2014.1-4.el7ost.noarch This is an issue with the openstack-dashboard-theme or python-django-sahara component(Panels not in a PanelGroup do not show up with openstack-dashboard-theme installed). I remedied this in the redhat-access-plugin-openstack by adding a horizon.PanelGroup to my dashboard.py like so:
class ActionPanels(horizon.PanelGroup):
slug = "redhat_access_plugin_openstack"
name = _("Actions Panel")
panels = ('search', 'log', 'support')
class Redhat_Access(horizon.Dashboard):
name = _("Red Hat Access")
slug = "redhat_access_plugin_openstack"
panels = (ActionPanels,)
default_panel = 'search'
nav = False
horizon.register(Redhat_Access)
I tried this with redhat-access-plugin-openstack.noarch-5.0.0-2.el7ost as described in comment #5. The code in dashboard.py is the same as in comment: # cat /usr/share/openstack-dashboard/openstack_dashboard/dashboards/redhat_access_plugin_openstack/dashboard.py from django.utils.translation import ugettext_lazy as _ import horizon class ActionPanels(horizon.PanelGroup): slug = "redhat_access_plugin_openstack" name = _("Actions Panel") panels = ('search', 'log', 'support') class Redhat_Access(horizon.Dashboard): name = _("Red Hat Access") slug = "redhat_access_plugin_openstack" panels = (ActionPanels,) default_panel = 'search' nav = False horizon.register(Redhat_Access) The sahara tabs are still not visible. I've got a patch put together for this, I don't think we will be able to get an upstream change as this is very specific to the RHOS theme. Also, this package will become obsolete in Juno as the code has been merged into Horizon. Hi, would it be possible to get that patch as a hotfix so we can test it at a customer with Icehouse? (In reply to Matt Ruzicka from comment #9) > Hi, would it be possible to get that patch as a hotfix so we can test it at > a customer with Icehouse? hi Matt, as per our conversation i am attaching an rpm to test out. keep in mind that this has only gone through "works on my machine" validation ;) Created attachment 945167 [details]
preview RPM for this fix
To track this BZ since it spurred into an email thread, the customer installed this patch and it has been working well for them. Would like to see if this can be added into the main distribution to ensure it persists over upgrades. Thanks. The new package fixes the menu so that the menu submenus for the Data Processing entry are properly displayed and can be used to move between pages. Verified on python-django-sahara-2014.1.2-2.el7ost.noarch. Created attachment 957635 [details]
Image of the working dashboard after the patch
The working dashboard, python-django-sahara-2014.1.2-2, for reference.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1935.html |