Bug #15192
closedsubscription-manager using activation key is failing in katello 3.0 RC5
Description
Hi,
having got the boot disk based imaging working again (yay for reboots!! See bug# 15128) I imaged a machine successfully but it is having problems with subscription-manager
On the machine:
From the imaging process logs, I saw this:
Installed:
subscription-manager.x86_64 0:1.15.9-15.el7.centos.0.1
Dependency Installed:
libnl.x86_64 0:1.1.4-3.el7 m2crypto.x86_64 0:0.21.1-17.el7
python-dmidecode.x86_64 0:3.10.13-11.el7 python-ethtool.x86_64 0:0.8-5.el7
python-rhsm.x86_64 0:1.15.4-5.el7 usermode.x86_64 0:1.111-5.el7
Complete!
Retrieving http://wellkatellodev.niwa.local/pub/katello-ca-consumer-latest.noarch.rpm
Preparing... ########################################
Updating / installing...
katello-ca-consumer-wellkatellodev.niw########################################
Registering the System
undefined method `[]' for nil:NilClass
The system has been registered with ID: 7808f40d-42e1-4691-8bf5-6b761d17b2ae
Installing Katello Agent
Although the machine registered, it did not receive any repositories - i.e. /etc/yum.repos.d/redhat.repo did not exist
Given the kickstart failed, I tried re-registering with a different activation key
[root@testcislave01d ~]# subscription-manager register --org="NIWA" --activationkey="Standard Production Server" --force
The system with UUID 082bf247-b597-4d4e-9797-b1211a67ef4d has been unregistered
The system has been registered with ID: 4f81acfe-0acb-4d38-8eda-305a75d86f38
undefined method `[]' for nil:NilClass
[root@testcislave01d ~]#
production.log is attached.
Files