Actions
Bug #6367
closedBug 1112664 - 'Access denied' when registering using --consumerid
Description
Created attachment 911709 [details]
relevant part of /var/log/foreman/production.log
Description of problem:
I created a content-host profile on sat6 using hammer and wanted to register and attach a client machine to the existing profile. The registration process failed with 'Access denied'.
Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140620.0
How reproducible:
always
1. on sat6 server:
- hammer content-host create --organization-id 1 --name try
Name: try
ID: 08044f08-ec92-4215-a2dc-3cb4f524c31f
Description: Initial Registration Params
Location: None
Lifecycle Environment: Library
Content View: Default Organization View
Entitlement Status: valid
Release Version:
Autoheal: true
Content host created
2. on the client machine:- rpm -qa katello-ca-consumer* #
- rpm -Uvh http://ibm-x3650-05.ovirt.rhts.eng.bos.redhat.com/pub/katello-ca-consumer-latest.noarch.rpm
Retrieving http://ibm-x3650-05.ovirt.rhts.eng.bos.redhat.com/pub/katello-ca-consumer-latest.noarch.rpm
Preparing... ########################################### [100%]
1:katello-ca-consumer-ibm########################################### [100%] # - rpm -qa katello-ca-consumer*katello-ca-consumer-ibm-x3650-05.ovirt.rhts.eng.bos.redhat.com-1.0-1 #
- subscription-manager register --consumerid 08044f08-ec92-4215-a2dc-3cb4f524c31f --force
Username: admin
Password:
Access denied
Actual results:
Access denied
Expected results:
Successful registration and attachment with the existing profile
Additional info:
Relevant part of /var/log/foreman/production.log in attachment.
This is a real blocker for system profile migration from Sat5.
Actions