Hide Forgot
Description of problem: Registering a 6.2 client with no updates fails during the package profile upload. How reproducible: Always Steps to Reproduce: 1. Install a 6.2 system with no updates 2. Try to register with an activation key Actual results: Error: [root@client ~]# subscription-manager register --activationkey=jsherrill --force --org=EmptyOrg The system with UUID f56797ef-9e73-4972-943f-5dd46737d57a has been unregistered The system has been registered with id: f23e9424-2ce3-4d3a-9403-e372831aa54d Error updating system data, see /var/log/rhsm/rhsm.log for more details. Expected results: Registers normally Additional info: It appears that version of rhsm does not upload the client cert along with the package profile
https://github.com/Katello/katello/pull/3209 If you would like to test on your katello server, you should be able to run: cd /usr/share/katello wget https://github.com/Katello/katello/pull/3209.patch path -p1 < 3209.patch service katello restart
3rd command should be path -p1 < 3209.patch not 'path'
grrr patch -p1 < 3209.patch I think my keyboard is broken
The above does not work on mdp2 due to a conflict, attaching an mdp2 version of the patch.
Created attachment 813771 [details] mdp2 version of patch
Verified with Snap7 MDP2: katello-all-1.4.6-47.el6sat.noarch katello-cli-1.4.3-27.el6sat.noarch katello-glue-pulp-1.4.6-47.el6sat.noarch katello-qpid-broker-key-pair-1.0-1.noarch katello-selinux-1.4.4-4.el6sat.noarch katello-candlepin-cert-key-pair-1.0-1.noarch pulp-katello-plugins-0.2-1.el6sat.noarch katello-configure-foreman-1.4.7-7.el6sat.noarch ruby193-rubygem-katello_api-0.0.3-4.el6sat.noarch katello-glue-candlepin-1.4.6-47.el6sat.noarch ruby193-rubygem-katello-foreman-engine-0.0.12-3.el6sat.noarch katello-foreman-all-1.4.6-47.el6sat.noarch ruby193-rubygem-foreman-katello-engine-0.0.17-6.el6sat.noarch katello-configure-1.4.7-7.el6sat.noarch signo-katello-0.0.23-2.el6sat.noarch katello-glue-elasticsearch-1.4.6-47.el6sat.noarch katello-1.4.6-47.el6sat.noarch katello-qpid-client-key-pair-1.0-1.noarch katello-common-1.4.6-47.el6sat.noarch katello-certs-tools-1.4.4-1.el6sat.noarch katello-cli-common-1.4.3-27.el6sat.noarch Installed a rhel6.2 client and without updates. [root@perceptor ~]# cat /etc/redhat-release Red Hat Enterprise Linux Client release 6.2 (Santiago) [root@perceptor ~]# rpm -qa | grep subscription-manager subscription-manager-gnome-0.96.17-1.el6.x86_64 subscription-manager-0.96.17-1.el6.x86_64 subscription-manager-firstboot-0.96.17-1.el6.x86_64 Later, I registered it with activation key 'ak1'. The system was registered successfully. [root@perceptor ~]# subscription-manager register --activationkey ak1 --force --org ACME_Corporation The system has been registered with id: a4a7be64-f7d8-4c0a-9bb3-8119f2f26552 I can consume the contents on client too.
This was verified and delivered with MDP2. Closing it out.
This was delivered and verified with MDP2. Closing the bug.