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 1367676 - Error 'Problem creating unit Consumer' when registering to ppc64
Summary: Error 'Problem creating unit Consumer' when registering to ppc64
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-17 08:32 UTC by qianzhan
Modified: 2017-05-22 13:44 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 08:10:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhsm.log (89.19 KB, text/plain)
2016-08-17 08:34 UTC, qianzhan
no flags Details
foreman-debug-fnRX5.tar.xz (583.63 KB, application/x-xz)
2016-09-06 05:49 UTC, qianzhan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1367657 0 high CLOSED an empty error dialog message can appear in subscription-manager-gui when the server response message contains a pair of... 2021-02-22 00:41:40 UTC

Internal Links: 1367657

Description qianzhan 2016-08-17 08:32:59 UTC
Description of problem:
Error 'Problem creating unit Consumer' when registering to ppc64

Version-Release number of selected component (if applicable):
subscription-manager: 1.17.10-1.el7
python-rhsm: 1.17.6-1.el7

How reproducible:
50%

Steps to Reproduce:
1. Install RHEL-7.3-server-ppc64-Beta-1.0 (RHEL-7.3-20160811.0)
2. Register and auto-attach successfully. The remove all subscriptions and unregister.
3. Try to register again, and error happens:

[root@ibm-p8-kvm-09-guest-04 ~]# subscription-manager register
Registering to: ibm-x3650-01.ovirt.rhts.eng.bos.redhat.com:443/rhsm
Username: admin
Password: 

Problem creating unit Consumer<id=8a90c4a8568da2550156979b1568040c, uuid=0c53d5f2-cc40-4e02-863a-80e07bc274d9, type=system, name=ibm-p8-kvm-09-guest-04.lab4.eng.bos.redhat.com>


Actual results:
As step 3, the error does not happen when first registration.

Expected results:
Registration should always be smoothly.

Additional info:
Please see attachment 'rhsm.log'

Comment 1 qianzhan 2016-08-17 08:34:05 UTC
Created attachment 1191490 [details]
rhsm.log

Comment 3 qianzhan 2016-08-19 05:52:26 UTC
The bug happened on RHEL-7.3-server-ppc64le-Beta-1.1 when register the system second time in GUI against Satellite-6.2.0-RHEL-7-20160817.0

Comment 4 Chris Snyder 2016-08-19 21:45:10 UTC
Please attach the foreman-debug output from the satellite server at the time of the error.

Comment 5 qianzhan 2016-08-22 03:12:54 UTC
I tried again both on RHEL-7.3-server-ppc64le-Beta-1.1 and RHEL-7.3-server-ppc64-Beta-1.1, but this bug can not be reproduced. So close this bug As WORKSFORME. If this bug happens again, I will attach the foreman-debug output.

Comment 6 qianzhan 2016-09-06 05:49:20 UTC
This bug is reproduced with RHEL-7.3-server-ppc64-snapshot-2.0 and Satellite-6.2.0-RHEL-7-20160831.0, so reopen it. 
I ran 'foreman-debug' on satellite after this bug happened again. Please see attachment 'foreman-debug-fnRX5.tar.xz'.

Comment 7 qianzhan 2016-09-06 05:49:42 UTC
Created attachment 1198068 [details]
foreman-debug-fnRX5.tar.xz

Comment 8 Kevin Howell 2016-09-07 20:01:07 UTC
We see there is an issue. Can you please run `rhsm-debug system` and attach the resulting zip file? Also, if we could get access to the system in order to reproduce/validate/debug, that would be helpful.

Comment 9 qianzhan 2016-09-08 05:37:45 UTC
(In reply to Kevin Howell from comment #8)
> We see there is an issue. Can you please run `rhsm-debug system` and attach
> the resulting zip file? Also, if we could get access to the system in order
> to reproduce/validate/debug, that would be helpful.

This bug is not always reproduced. I tried 2 times to reproduce it, but failed today. I prefer to keep it as NEW and retest it with next RHEL7.3 build.

Comment 10 Liushihui 2016-09-14 02:22:11 UTC
It still exist on RHEL-7.3-20160908.3-server-ppc64l4(snapshot3). 
[root@ibm-p8-kvm-03-guest-02 virt-who.d]# subscription-manager  register --username=admin --password=admin
Registering to: ibm-x3655-04.ovirt.rhts.eng.bos.redhat.com:443/rhsm
Problem creating unit Consumer<id=8a90c4e35722a9a60157267b88340875, uuid=02cbad3a-51c9-40cf-8de3-c3bda40ce8d6, type=system, name=ibm-p8-kvm-03-guest-02.rhts.eng.bos.redhat.com>

Comment 12 qianzhan 2016-09-29 08:10:01 UTC
This bug does not exists on RHEL-7.3-Server-PPC64-Snapshot-5.0 and RHEL-7.3-Server-PPC64le-Snapshot-5.0 against Satellite-6.2.0-RHEL-7-20160907.6:

[root@ibm-p8-rhevm-10 ~]# subscription-manager register
Registering to: hp-dl580g7-02.rhts.eng.bos.redhat.com:443/rhsm
Username: admin
Password: 
The system has been registered with ID: 8c17576b-9803-4f7b-8cd7-4b61d6b7947e 
[root@ibm-p8-rhevm-10 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.0.0.78-Unknown
subscription management rules: 5.15.2
subscription-manager: 1.17.15-1.el7
python-rhsm: 1.17.9-1.el7

So close this bug. If it can be reproduced, I will reopen it.

Comment 13 Kevin Howell 2017-05-22 13:44:44 UTC
Clearing needinfo for now. Please change as necessary if we reopen.


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