Bug 982547

Summary: After deployed a localcandlepin, register from client failed
Product: [Community] Candlepin Reporter: xingge <gxing>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: it-eng-bz, ldai, liliu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-29 02:40:21 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
rhsm.log when error happens
none
localcandlepin deploy script none

Description xingge 2013-07-09 09:27:12 UTC
Created attachment 770870 [details]
rhsm.log when error happens

Description of problem:
After deployed a localcandlepin, register from client failed

Version-Release number of selected component (if applicable):
Server: localcandlepin source code download form git hub.
Client: RHEL5.10

How reproducible:
always

Steps to Reproduce:
1.deploy the localcandlepin with the attached shell script

2.cp localcandlepin cert and change rhsm.conf at the rhel5.10
scp localcandlepin.redhat.com:/etc/candlepin/certs/candlepin-ca.crt /etc/rhsm/ca/candlepin-local.pem
subscription-manager config --server.hostname=localcandlepin.redhat.com --server.prefix='/candlepin' --server.port=8443 --rhsm.repo_ca_cert='/etc/rhsm/ca/candlepin-local.pem'

3.register the system
subscritpion-manager register --username=testuser2 --password=password

Actual results:
the output is :
certificate verify failed
or:
No such consumer type: system

Expected results:
the system should registered successfully

Additional info:

Comment 1 xingge 2013-07-09 09:28:17 UTC
Created attachment 770872 [details]
localcandlepin deploy script

Comment 2 Amanda Carter 2013-07-26 17:53:36 UTC
This isn't an IT issue, so moving to the proper place. That said, this is likely a config issue and not a bug that you can resolve by mailing entitlement-team-list instead.

Comment 3 xingge 2013-07-29 02:44:09 UTC
After deploy a new local candlepin the issue disappeared, so close this bug.