Bug 718093
Summary: | Note the need for optional channel to install mrg management group | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | james labocki <jlabocki> |
Component: | cumin | Assignee: | Trevor McKay <tmckay> |
Status: | CLOSED ERRATA | QA Contact: | Stanislav Graf <sgraf> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | Development | CC: | ltoscano, matt, sgraf |
Target Milestone: | 2.1 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cumin-0.1.5068-1 | Doc Type: | Bug Fix |
Doc Text: |
Previously, the cumin package had a dependency on the dejavu-lgc-sans-fonts package, which is only available through an optional Red Hat Network channel. As a consequence, the Cumin web console could not be installed on Red Hat Enterprise Linux 6 using only the non-optional Red Hat Network channels. With this update, the dependency has been changed to the liberation-sans-fonts package and Cumin now installs correctly in the described scenario.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-23 17:27:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 743350 |
Description
james labocki
2011-06-30 23:28:35 UTC
I vote for adding this to installation manual. Without an advice that some extra channels ("RHEL Server High Availability" and "RHEL Server Optional") are required, I was stuck with a simple installation of MRG-M. The manual is too vague and general. oops, please ignore comment 1, I posted it to wrong wrong tab in firefox..:( See bug 694457 for why dejavu-lgc-fonts is a dep on EL6. Origin of this is cairo needs a font (fontconfig based) installed otherwise the png graphic generation will fail. Reproduce by installing cumin and yum removing all installed fonts (including rpm -e --nodeps dejavu...). Once the system is purged of fonts, restart cumin and, with a flash-disabled browser, navigate to a screen with a graph. For instance, Inventory->a system. In place of the graph, "stats" will be displayed. Going directly to the graphic link (copy image location, open new window to location), will display something along the lines of - Traceback (most recent call last): File "/usr/share/cumin/python/wooly/wsgiserver/__init__.py", line 1250, in communicate req.respond() File "/usr/share/cumin/python/wooly/wsgiserver/__init__.py", line 663, in respond self._respond() File "/usr/share/cumin/python/wooly/wsgiserver/__init__.py", line 669, in _respond response = self.wsgi_app(env, self.start_response) File "/usr/share/cumin/python/wooly/server.py", line 83, in service_request status, headers, content = self.service_page_request(page, env) File "/usr/share/cumin/python/wooly/server.py", line 130, in service_page_request content = page.service_error(session) File "/usr/share/cumin/python/wooly/__init__.py", line 484, in service_error return self.render(session) File "/usr/share/cumin/python/wooly/__init__.py", line 314, in render string = self.do_render(session, *args) File "/usr/share/cumin/python/cumin/stat.py", line 584, in do_render chart.plot_x_axis(x_intervals, x_step) File "/usr/share/cumin/python/cumin/charts.py", line 345, in plot_x_axis cr.show_text(text) MemoryError The cairo code in cumin does not specifically select a font for use in drawing graphs, so pretty much any font installed will work. dejavu-lgc-sans-fonts would work, except it is part of the EL6 -optional package set. I tested liberation-fonts on EL5 and liberation-sans-fonts on EL6 with success. No change needed on EL5. Change dejavu-lgc-sans-fonts to liberation-sans-fonts on EL6. Verification should make sure that no dependencies are coming from the -optional channel. Changed the dependency for el6 in cumin.spec to liberation-sans-fonts. Reproduction: RHEL5 # yum install cumin OK # rpm -q cumin cumin-0.1.4916-1.el5 # yum deplist $(rpm -q cumin) dependency: dejavu-lgc-fonts provider: dejavu-lgc-fonts.noarch 2.10-1 i386# yum list available --showduplicates dejavu-lgc-fonts dejavu-lgc-fonts.noarch 2.10-1 rhel-i386-server-5 x86_64# yum list available --showduplicates dejavu-lgc-fonts dejavu-lgc-fonts.noarch 2.10-1 rhel-x86_64-server-5 RHEL6 i386# yum install cumin Error: Package: cumin-0.1.4916-1.el6.noarch (rhel-i386-server-6-mrg-management-2) Requires: dejavu-lgc-sans-fonts x86_64# yum install cumin Error: Package: cumin-0.1.4916-1.el6.noarch (rhel-x86_64-server-6-mrg-management-2) Requires: dejavu-lgc-sans-fonts # yum deplist cumin dependency: dejavu-lgc-sans-fonts Unsatisfied dependency # yum list available --showduplicates dejavu-lgc-sans-fonts Error: No matching Packages to list Verification: RHEL5 # yum update OK # rpm -q cumin cumin-0.1.5068-1.el5 # yum deplist $(rpm -q cumin) dependency: dejavu-lgc-fonts provider: dejavu-lgc-fonts.noarch 2.10-1 i386# yum list available --showduplicates dejavu-lgc-fonts dejavu-lgc-fonts.noarch 2.10-1 rhel-i386-server-5 x86_64# yum list available --showduplicates dejavu-lgc-fonts dejavu-lgc-fonts.noarch 2.10-1 rhel-x86_64-server-5 # cumin-admin upgrade-schema OK RHEL6 # yum install cumin OK # rpm -q cumin cumin-0.1.5068-1.el6.noarch # yum deplist $(rpm -q cumin) dependency: liberation-sans-fonts provider: liberation-sans-fonts.noarch 1.05.1.20090721-4.el6 # yum list available --showduplicates liberation-sans-fonts.noarch liberation-sans-fonts.noarch 1.05.1.20090721-4.el6 rhel-i386-server-6 # yum list available --showduplicates liberation-sans-fonts.noarch liberation-sans-fonts.noarch 1.05.1.20090721-4.el6 rhel-x86_64-server-6 Verify graphs: Restart cumin and, with a flash-disabled browser, navigate to a screen with a graph. For instance, Inventory->a system. In place of the graph, "stats" isn't displayed - there is a proper PNG graph. Going directly to the graphic link (copy image location, open new window to location), verify image is PNG, image is displayed properly. OK ---> VERIFIED Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause Cumin had a dependency on the dejavu-lgc-sans-fonts package in the the RHEL 6 rpm. This package is only available through an optional RHN channel. Consequence Cumin would not install on RHEL 6 using only the non-optional RHN channels. Fix The dependency for RHEL 6 was changed to the liberation-sans-fonts package. Result Cumin will install on RHEL 6 using only non-optional RHN channels. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,11 +1 @@ -Cause +Previously, the cumin package had a dependency on the dejavu-lgc-sans-fonts package, which is only available through an optional Red Hat Network channel. As a consequence, the Cumin web console could not be installed on Red Hat Enterprise Linux 6 using only the non-optional Red Hat Network channels. With this update, the dependency has been changed to the liberation-sans-fonts package and Cumin now installs correctly in the described scenario.- Cumin had a dependency on the dejavu-lgc-sans-fonts package in the the RHEL 6 rpm. This package is only available through an optional RHN channel. - -Consequence - Cumin would not install on RHEL 6 using only the non-optional RHN channels. - -Fix - The dependency for RHEL 6 was changed to the liberation-sans-fonts package. - -Result - Cumin will install on RHEL 6 using only non-optional RHN channels. 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. http://rhn.redhat.com/errata/RHEA-2012-0045.html |