Bug 1171808
Summary: | rhn-migrate-classic-to-rhsm throws gaierror: [Errno -2] Name or service not known | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Adrian Likins <alikins> | |
Component: | subscription-manager | Assignee: | candlepin-bugs | |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7.1 | CC: | bkearney, jesusr, jkurik, jsefler, tlavigne, wpoteat | |
Target Milestone: | rc | Keywords: | Regression, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 1131213 | |||
: | 1172203 1172489 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-05 13:16:22 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: | 1131213 | |||
Bug Blocks: | 1014343, 1172203, 1172489 |
Comment 1
Adrian Likins
2014-12-08 16:25:05 UTC
Verifying Version.... [root@jsefler-os7 ~]# rpm -q subscription-manager-migration subscription-manager-migration-1.13.16-1.el7.x86_64 [root@jsefler-os7 ~]# rhnreg_ks --serverUrl=https://sat-56-server.usersys.redhat.com/XMLRPC --username=admin --password=***** --norhnsd --nohardware --nopackages --novirtinfo [root@jsefler-os7 ~]# rhn-channel --list rhel-x86_64-server-7 [root@jsefler-os7 ~]# subscription-manager config --server.hostname=foo.redhat.com --server.port=123 --server.prefix=/bar [root@jsefler-os7 ~]# subscription-manager config | head -5 [server] hostname = foo.redhat.com insecure = [0] port = 123 prefix = /bar [root@jsefler-os7 ~]# rhn-migrate-classic-to-rhsm --destination-url=subscription.rhn.stage.redhat.com:443/subscription Legacy username: admin Legacy password: Destination username: stage_auto_testuser Destination password: Retrieving existing legacy subscription information... +-----------------------------------------------------+ System is currently subscribed to these legacy channels: +-----------------------------------------------------+ rhel-x86_64-server-7 +-----------------------------------------------------+ Installing product certificates for these legacy channels: +-----------------------------------------------------+ rhel-x86_64-server-7 Product certificates installed successfully to /etc/pki/product. Preparing to unregister system from legacy server... System successfully unregistered from legacy server. Attempting to register system to destination server... The system has been registered with ID: bdbbe5c6-4d8b-49b7-ab0c-dd491966f133 Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed System 'jsefler-os7.usersys.redhat.com' successfully registered. [root@jsefler-os7 ~]# [root@jsefler-os7 ~]# subscription-manager config | head -5 [server] hostname = subscription.rhn.stage.redhat.com insecure = [0] port = [443] prefix = [/subscription] [root@jsefler-os7 ~]# VERIFIED: Specifying the --destination-url for rhn-migrate-classic-to-rhsm will override the values set in rhsm.conf 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. https://rhn.redhat.com/errata/RHBA-2015-0502.html |