Issue #368
closedconsumer status reports that its registered to a new server if you change the server without unregistering from another
Description
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 bug was cloned from Bugzilla Bug #1004777 +
Updated by cduryee about 8 years ago
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?
+ This comment was cloned from Bugzilla #1004777 comment 1 +
Updated by bmbouter almost 4 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 4 years ago
- Severity set to 1. Low
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.