Description of problem: If you register a consumer to a server and then change the server in consumer.conf and restart the agent, pulp-consumer status shows that it is registered to the new server when actually it is not. Version-Release number of selected component (if applicable): [root@rhel5-pulp ~]# rpm -q pulp-consumer-client pulp-consumer-client-2.2.0-0.32.beta.el5 [root@rhel5-pulp ~]# How reproducible: Steps to Reproduce: 1.Register a consumer to server A 2. Edit consumer.conf and change the server to Server B 3. Restart pulp-agent 4. Run pulp-consumer status 5. See that the message says it is registered to Server B But if you check on server B you can see that it is not. Actual results: Expected results: Additional info:
This is still the case as of pulp 2.4.3. $ pulp-consumer status This consumer is registered to the server [pulp.example.com] with the ID [testconsumer]. <edit /etc/pulp/consumer/consumer.conf to point to new-hostname.example.com> <restart goferd> $ pulp-consumer status This consumer is registered to the server [new-hostname.example.com] with the ID [testconsumer]. Maybe the hostname could be read from the issuer field in /etc/pki/pulp/consumer/consumer-cert.pem?
Moved to https://pulp.plan.io/issues/368