Bug 1451003
Summary: | subscription-manager identity reports redundant UUID info in the name field | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 7.4 | CC: | jhnidek, khowell, redakkan, skallesh |
Target Milestone: | rc | Keywords: | Regression, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | subscription-manager-1.19.15-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 19:23:41 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: |
Description
John Sefler
2017-05-15 14:36:25 UTC
This issue is also observed in the stdout feedback given to user of the rhn-migrate-classic-to-rhsm tool.... [root@jsefler-rhel7 ~]# rhn-migrate-classic-to-rhsm --no-auto --no-proxy Legacy username: rhsm-client Legacy password: Destination username: testuser1 Destination password: Org: admin 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. Stopping and disabling legacy services... Attempting to register system to destination server... Registering to: jsefler-candlepin7.usersys.redhat.com:8443/candlepin The system has been registered with ID: 43040b27-e1fe-440c-a3aa-f43a6cd13bc0 System '43040b27-e1fe-440c-a3aa-f43a6cd13bc0, jsefler-rhel7server.usersys.redhat.com' successfully registered. ^^^ Notice the last two lines of feedback. Expected the system identity to report 'jsefler-rhel7server.usersys.redhat.com'; not both the UUID and name. Reproducer: [root@dhcp71-27 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 2.1.0-1 subscription management rules: 5.23 subscription-manager: 1.19.14-1.el7 python-rhsm: 1.19.6-1.el7 [root@dhcp71-27 ~]# subscription-manager register --force --serverurl skallesh-candlepin.usersys.redhat.com:8443/candlepin Registering to: skallesh-candlepin.usersys.redhat.com:8443/candlepin Username: admin Password: Organization: admin The system has been registered with ID: 69be5dc8-8cad-43a8-a637-7e13671c709e [root@dhcp71-27 ~]# subscription-manager identity system identity: 69be5dc8-8cad-43a8-a637-7e13671c709e name: 69be5dc8-8cad-43a8-a637-7e13671c709e, dhcp71-27.rhts.eng.bos.redhat.com org name: Admin Owner org ID: admin Verification: [root@dhcp71-27 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 2.1.0-1 subscription management rules: 5.23 subscription-manager: 1.19.16-1.el7 python-rhsm: 1.19.7-1.el7 [root@dhcp71-27 ~]# subscription-manager register --force Unregistering from: skallesh-candlepin.usersys.redhat.com:8443/candlepin The system with UUID 63b19d73-e821-4e1c-958b-0e0afd6eb2ac has been unregistered All local data removed Registering to: skallesh-candlepin.usersys.redhat.com:8443/candlepin Username: admin Password: Organization: admin The system has been registered with ID: 788dc1e2-6a85-4c1e-b812-fa0cffb36e4f [root@dhcp71-27 ~]# subscription-manager identity system identity: 788dc1e2-6a85-4c1e-b812-fa0cffb36e4f name: dhcp71-27.rhts.eng.bos.redhat.com org name: Admin Owner org ID: admin [root@hp-dl380pgen8-02-vm-11 ~]# rhn-migrate-classic-to-rhsm --no-auto --no-proxy Legacy username: rhsm-client Legacy password: Destination username: shwetha_tier1_test 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. Stopping and disabling legacy services... rhnsd.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig rhnsd off Attempting to register system to destination server... Registering to: subscription.rhsm.stage.redhat.com:443/subscription The system has been registered with ID: af5ff06b-6b39-412a-8711-3a2037b00aa2 System 'hp-dl380pgen8-02-vm-11.lab.bos.redhat.com' successfully registered. 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://access.redhat.com/errata/RHBA-2017:2083 |