Bug 1358750
| Summary: | RHEL5 SW nightly client osad should require SW nightly client version of rhnlib | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Jan Hutař <jhutar> |
| Component: | Clients | Assignee: | Tomáš Kašpárek <tkasparek> |
| Status: | CLOSED EOL | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.5 | CC: | jdobes |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-10 16:16:33 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1564160 | ||
This is fixed in current nightly code - osad requires rhnlib >= 2.8.3. But nightly isn't built for RHEL 5 anymore, closing this bug. |
Description of problem: In file /usr/share/rhn/osad/rhn_log.py (from package osa-common-5.11.71-1.el5 from SW nightly client repo) we require module rhn.i18n, which is in /usr/lib/python2.4/site-packages/rhn/i18n.py. This file is present in rhnlib-2.5.87-1.el5 (from SW nightly client repo), but is missing in rhnlib-2.5.22.1-3.el5_9 (RHEL5 package). There should be dependency which would disallow you to have osa-common-5.11.71-1.el5 and rhnlib-2.5.22.1-3.el5_9 installed (i.e. osa-dispatcher from SW nightly client, rhnlib from RHEL). Actual results: When you have osa-dispatcher from SW nightly client and rhnlib from RHEL, you get: # service osad restart Shutting down osad: [FAILED] Starting osad: Unable to load module osad No module named i18n [FAILED] That is kinda masking this: # /usr/sbin/osad -h Traceback (most recent call last): File "/usr/sbin/osad", line 26, in ? import osad.osad File "/usr/share/rhn/osad/osad.py", line 38, in ? from rhn_log import set_debug_level, log_debug, die, set_logfile File "/usr/share/rhn/osad/rhn_log.py", line 20, in ? from rhn.i18n import bstr ImportError: No module named i18n Expected results: Should be possible to start osad installed without dependency issues.