| Summary: | Got traceback while migration with -c option | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | spandey |
| Component: | subscription-manager | Assignee: | Chris Duryee <cduryee> |
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.8 | CC: | cduryee, jmolet, jsefler, kbanerje, skallesh, spandey, syeghiay, wpoteat |
| Target Milestone: | beta | ||
| Target Release: | 5.8 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-0.98.9-1.el5 | Doc Type: | Bug Fix |
| Doc Text: |
No description necessary
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 06:43:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 715031, 771700, 772019 | ||
|
Description
spandey
2011-12-01 11:18:17 UTC
Sachin, I was unable to log in to stage with any of the stage_test_X accounts, but I tried instead with qa. I was unable to reproduce the issue though. Can you send me your entitlement certs, and your redhat.repo file? Hi Chris I am using following rpm for migration data. https://brewweb.devel.redhat.com/taskinfo?taskID=3842353 [root@localhost ~]# cat /etc/sysconfig/rhn/up2date | grep serverURL serverURL[comment]=Remote server URL serverURL=https://xmlrpc.rhn.code.stage.redhat.com/XMLRPC disallowConfChanges=noReboot;sslCACert;useNoSSLForPackages;noSSLServerURL;serverURL;disallowConfChanges; [root@localhost ~]# cat /etc/rhsm/rhsm.conf | grep hostname # Server hostname: hostname = subscription.rhn.stage.redhat.com Again i am able to repro issue [root@spandey ~]# cat /redhat.repo # # Certificate-Based Repositories # Managed by (rhsm) subscription-manager # # If this file is empty and this system is subscribed consider # a "yum repolist" to refresh available repos # [root@spandey ~]# Sachin, I'm still unable to reproduce this, I tried a few different things but I'm not able to get it to repro. Are you around at 10:00am eastern tomorrow? Maybe I can ssh to your machine and see what is causing this. Again i am able to repro this this issue using following rpm : client rhel5.8 subscription-manager-migration-0.98.7-1.git.1.c08872a.el5_7 subscription-manager-gnome-0.98.7-1.git.1.c08872a.el5_7 subscription-manager-firstboot-0.98.7-1.git.1.c08872a.el5_7 subscription-manager-migration-data-1.6-1.el5 subscription-manager-0.98.7-1.git.1.c08872a.el5_7 python-rhsm-0.98.6-1.git.1.4074010.el5_7 The system has been registered with id: df72d615-07ca-4af7-a143-bf7c302a16ce System 'dhcp193-126.pnq.redhat.com' successfully registered to Certificate-based RHN. Attempting to auto-subscribe to appropriate subscriptions ... Installed Product Current Status: ProductName: Red Hat Enterprise Linux Server Status: Not Subscribed Successfully subscribed. Please visit https://access.redhat.com/management/consumers/df72d615-07ca-4af7-a143-bf7c302a16ce to view the details, and to make changes if necessary. Traceback (most recent call last): File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 396, in ? main() File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 393, in main enableExtraChannels(subscribedChannels) File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 354, in enableExtraChannels repofile.set(rhsmChannel, 'enabled', '1') File "/usr/lib/python2.4/site-packages/iniparse/compat.py", line 159, in set raise NoSectionError(section) ConfigParser.NoSectionError: No section: 'rhel-5-server-supplementary' How to reproduce issue: * register system with classic * in web UI, enable supplemental channels * run migration with "-n" option so autosubscribe does not occur, OR make autosubscribe not cover the user's products by altering system's available entitlements 4ae251f 0.98.9+ verified using following rpm subscription-manager-migration-data-1.7-1.el5 subscription-manager-firstboot-0.99.2-1.git.7.d4c703a.el5_7 subscription-manager-migration-0.99.2-1.git.7.d4c703a.el5_7 subscription-manager-0.99.2-1.git.7.d4c703a.el5_7 subscription-manager-gnome-0.99.2-1.git.7.d4c703a.el5_7 working fine resolving defect as 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:
No description necessary
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/RHBA-2012-0154.html |