Description of problem: Version-Release number of selected component (if applicable): How reproducible: 100% Prerequisite : Candlepin : standalone candlepin (10.16.120.139) configured via fog machine Client : RHEL6 client with SM version 66 Steps to repro : 1) Login to client console with valid credentials 2) execute following command on console to find pool list [root@sachrhel6 ~]# subscription-manager-cli list --available | grep Pool PoolId: 4 PoolId: 9 PoolId: 6 PoolId: 2 PoolId: 5 PoolId: 1 PoolId: 7 PoolId: 10 Note : pool id 3 and 8 is not available subscribe for pool id 3 & 8 with following command subscription-manager-cli subscribe –pool=3 subscription-manager-cli subscribe –pool=8 Expected Result : Proper Message should display invalid pool id Actual Result : Following message getting displayed while subscribe pool = 3 rulefailed.consumer.type.mismatch cert is downloaded in rhsm.log file while subscribe pool=8 Find the attached rhsm.log
Looking at the rules, consumer type is an error, while wrong arch is just a warning. So I think it's doing the right thing as per the rules. Not sure if arch mismatch should be en error or a warning. I've got a patch to change it to something like: [adrian@alikins subscription-manager]$ PYTHONPATH=src/ sudo python src/managercli.py subscribe --pool 3 Unable to subscribe to pool 3: rulefailed.consumer.type.mismatch Is that close enough? To get much more info, we need to return more info about why the rules failed in the entitlement exception from the server.