Project

General

Profile

Actions

Bug #6367

closed

Bug 1112664 - 'Access denied' when registering using --consumerid

Added by dustin tsang almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
API
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Steps to Reproduce:
1. on sat6 server:
  1. 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:
  1. rpm -qa katello-ca-consumer* #
  2. 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%] #
  3. rpm -qa katello-ca-consumer*katello-ca-consumer-ibm-x3650-05.ovirt.rhts.eng.bos.redhat.com-1.0-1 #
  4. 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 #1

Updated by Eric Helms almost 10 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by dustin tsang almost 10 years ago

  • Status changed from Assigned to Closed
Actions #3

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF