Bug 1551396
| Summary: | Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Wei Liu <weiliu> | ||||
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 6.10 | CC: | csnyder, jhnidek, qianzhan, skallesh, weiliu, yuxisun | ||||
| Target Milestone: | rc | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-03-08 12:10:49 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: | |||||||
| Attachments: |
|
||||||
|
Description
Wei Liu
2018-03-05 03:17:24 UTC
By the way,the exit code after registration is 70,not 0. [root@dhcp-129-198 rhsm]# subscription-manager register Registering to: subscription.rhsm.stage.redhat.com:443/subscription Username: rnew_test Password: The system has been registered with ID: 9f53460d-045c-493f-b019-a5701f94c2ad The registered system name is: dhcp-129-198.nay.redhat.com Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details. [root@dhcp-129-198 rhsm]# echo $? 70 register with auto-attach fails to attach subscriptions but registers the system [root@localhost ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 2.2.2-1 subscription management rules: 5.26 subscription-manager: 1.20.10-2.el6 [root@localhost ~]# subscription-manager register --force --auto-attach Unregistering from: subscription.rhsm.stage.redhat.com:443/subscription The system with UUID e0251cb2-a640-4ded-b1bb-ad4daeb3a795 has been unregistered All local data removed Registering to: subscription.rhsm.stage.redhat.com:443/subscription Username: shwetha_tier1_test Password: The system has been registered with ID: 83611b10-3d50-4c71-b887-eb10e8c74c8d The registered system name is: localhost.localdomain Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details. [root@localhost ~]# subscription-manager list --consumed No consumed subscription pools were found. [root@localhost ~]# subscription-manager identity system identity: 83611b10-3d50-4c71-b887-eb10e8c74c8d name: localhost.localdomain org name: 11343157 org ID: 11343157 Chris,
Its fixed with following version of RHSM build from master,
[root@localhost ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.2.2-1
subscription management rules: 5.26
subscription-manager: 1.20.10-3.git.0.05d130a.el6
[root@localhost ~]# subscription-manager register --force
Unregistering from: subscription.rhsm.stage.redhat.com:443/subscription
The system with UUID 7d7788f0-3133-4325-984d-b81f05e243f2 has been unregistered
All local data removed
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: shwetha_tier1_test
Password:
The system has been registered with ID: fc29ef07-790f-41ea-90f3-d2a507464df6
The registered system name is: localhost.localdomain
[root@localhost ~]# subscription-manager register --force --auto-attach
Unregistering from: subscription.rhsm.stage.redhat.com:443/subscription
The system with UUID fc29ef07-790f-41ea-90f3-d2a507464df6 has been unregistered
All local data removed
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: shwetha_tier1_test
Password:
The system has been registered with ID: 8aeb2866-adfb-4acd-b183-1fd7a23989c5
The registered system name is: localhost.localdomain
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed
[root@localhost ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat OpenStack Platform, Premium (2-sockets) L3-Only
Provides: Red Hat Beta
Red Hat OpenStack
Red Hat Ceph Storage
Red Hat Enterprise Linux Atomic Host
Red Hat Enterprise Linux Atomic Host Beta
Oracle Java (for RHEL Server)
Red Hat Ceph Storage Calamari
Red Hat OpenStack Beta
Red Hat Ceph Storage MON
Red Hat CloudForms
Red Hat Single Sign-On
Red Hat Software Collections (for RHEL Server)
Oracle Java (for RHEL Server) - Extended Update Support
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise MRG Messaging
dotNET on RHEL (for RHEL Server)
Red Hat Enterprise Linux Server - Extended Update Support
dotNET on RHEL Beta (for RHEL Server)
Red Hat Enterprise Linux High Availability (for RHEL Server)
Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Server
SKU: MCT2898
Contract:
Account: 6114661
Serial: 4570919985344707929
Pool ID: 8a99f98961f90e410162007a34525e39
Provides Management: No
Active: True
Quantity Used: 1
Service Level: Premium
Service Type: L3
Status Details: Subscription is current
Subscription Type: Standard
Starts: 03/07/2018
Ends: 03/21/2018
System Type: Virtual
I can confirm that this is duplicate of 1551465. *** This bug has been marked as a duplicate of bug 1551465 *** |