Description of problem: Version-Release number of selected component (if applicable): Candlepin used : prad.rdu.redhat.com client with subscription manager version 21 How reproducible: 100% Steps to Repro : Login to client host with valid credentials. Edit /etc/rhsm/rhsm.conf for prad.rdu.redhat.com Execute Following command on client console subscription-manager-cli register --username=redhat –password=redhat subscription-manager-cli register --username=sach –password=sach subscription-manager-cli register --username=test –password=test subscription-manager-cli register --username=test123 –password=test123 subscription-manager-cli register --username=admin –password=redhat subscription-manager-cli register --username=sachin –password=sachin Expected Result : At second time registration message should display for Already registered Actual Result : At every registration step creates new entry in canplepin Host At every step certificate present in /etc/pki/consumer reloaded. we can find multiple entry of client host at following URL http://prad.rdu.redhat.com:8080/candlepin/consumers
Based on conversations, here are the plans of how we will address this. <PLAN> The goal should be to warn the customer of what is going on, but give them flexibility to override the warnings. To this end: 1) If an identity cert exists on the machine, then the cli will warn the user if they attempt to register again. This warning will be in form of a system out message telling them to pass in --force to actually do th If the user passes in --force on the cli it will not warn. 2) Same model on the GUI. Warn i there is an indentity cert. Allow them to overide 3) Add a new feature to CP will support duplicate checking based on a configurable set of facts. Users can turn this on or not. That way, the clients just slap down whetever they get back. </PLAN> This bug should be closed when (1) is in place.
k.. lets get this tested.. on_qa
Working as expected so i am changing the status of ON_QA to verified
Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING