Bug 965216

Summary: when subscription-manager register with --consumerid the installed products are not being sent
Product: Red Hat Enterprise Linux 6 Reporter: Kedar Bidarkar <kbidarka>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4CC: tomckay, wpoteat
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-23 18:19:37 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 Flags
katello log none

Description Kedar Bidarkar 2013-05-20 17:57:15 UTC
Description of problem:

On registering a system via consumerid, the installed products are not being sent.

This was realised while adding a system first via the Katello UI and then registering the system via --consumerid.


Version-Release number of selected component (if applicable):

[root@xyz ~]# rpm -qav | grep -i subscription-manager
subscription-manager-1.1.23-1.el6.x86_64


How reproducible:


Steps to Reproduce:
1. Add a system to the UI, Systems -> New Systems
2. Now move to the system and register that system using the below command.
subscription-manager register --user admin --password admin --consumerid UUID
3. Move to UI to find, 
"the installed products are not being sent".

Actual results:
On registering the client via --consumerid 
"the installed products are not being sent by subscription-manager"
as seen from the below screenshots.

Expected results:
"the installed products info must be sent by subscription-manager" when registering via --consumerid.

Additional info:

Comment 1 Kedar Bidarkar 2013-05-20 17:59:22 UTC
Created attachment 750687 [details]
system_registered_with_consumerid

Comment 2 Kedar Bidarkar 2013-05-20 18:00:23 UTC
Created attachment 750688 [details]
system_registered_via_activation_keys

Comment 4 Tom McKay 2013-05-22 12:53:10 UTC
Created attachment 751718 [details]
katello log

This is the katello log from the sub-mgr register with consumer id. Note that the installed products are never sent. Even during a heal and cert check the installed products are not resent.

Comment 5 Tom McKay 2013-05-22 12:54:29 UTC
Registering client system rhel 6.4

[root@rhel64-sys1 ~]# rpm -qa | grep rhsm
python-rhsm-1.1.8-1.el6.x86_64
[root@rhel64-sys1 ~]# rpm -qa | grep subscr
subscription-manager-1.1.23-1.el6.x86_64

Comment 6 William Poteat 2013-05-23 18:19:37 UTC
This issue no longer exists in 

subscription-manager: 1.8.8-1.git.0.2ca28df.fc16
python-rhsm: 1.8.11-1.git.1.7236cc2.fc16