Bug 671052
Summary: | Missing module import in rhn-channel | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mathieu Bridon <bochecha> |
Component: | rhn-client-tools | Assignee: | Milan Zázrivec <mzazrivec> |
Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-20 09:16:21 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: |
The described problem will be fixed in RHEL-6.1 *** This bug has been marked as a duplicate of bug 651857 *** |
Description of problem: # rhn-channel -c foobar Username: Password: Traceback (most recent call last): File "/usr/sbin/rhn-channel", line 98, in <module> main() File "/usr/sbin/rhn-channel", line 92, in main s = rhnserver.RhnServer() NameError: global name 'rhnserver' is not defined Version-Release number of selected component (if applicable): rhn-setup-1.0.0-39.el6.noarch How reproducible: Always The following fixes the issue: # diff spacewalk-channel{,.fixed} 42c42 < from up2date_client import up2dateAuth, config, up2dateErrors --- > from up2date_client import up2dateAuth, config, up2dateErrors, rhnserver And then I get the error message saying I forgot the --add option, which is the expected behavior.