RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 671052 - Missing module import in rhn-channel
Summary: Missing module import in rhn-channel
Keywords:
Status: CLOSED DUPLICATE of bug 651857
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rhn-client-tools
Version: 6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-20 04:17 UTC by Mathieu Bridon
Modified: 2011-01-20 09:16 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-20 09:16:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mathieu Bridon 2011-01-20 04:17:12 UTC
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.

Comment 2 Milan Zázrivec 2011-01-20 09:16:21 UTC
The described problem will be fixed in RHEL-6.1

*** This bug has been marked as a duplicate of bug 651857 ***


Note You need to log in before you can comment on or make changes to this bug.