Bug 1159961
Summary: | pulp.agent.<uuid> queue not deleted when consumer is deleted | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.0.4 | CC: | bbuckingham, bkearney, bmbouter, cperry, cwelton, daviddavis, dkliban, erezende, ggainey, ipanova, jortel, mhrivnak, pcreech, pmoravec, pulp-bugs, pulp-qe-list, rchan, ttereshc |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1159303 | Environment: | |
Last Closed: | 2015-08-12 16:03:31 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: | |||
Bug Depends On: | 1159303 | ||
Bug Blocks: | 1145795 |
Description
Justin Sherrill
2014-11-03 18:02:35 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. Upstream has marked this as resolved in pulp 2.6.0 which is delivered by Satellite 6.1.0. I am moving this to ON_QA. So to test this you can run this command: qpid-stat --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b "amqps://$(hostname -f):5671" -q | grep pulp.agent this will print out all the qpid queues belonging to client agents. An example: pulp.agent.1204f585-f9ac-4871-953f-a3190da3f541 Y 0 0 0 0 0 0 1 1 the UUID here is the client consumer uuid (which you can get from running subscription-manager identity on a client). so to test this: 1. Register a content-host with subscription-manager 2. run 'subscription-manager identity' and record the UUID 3. Install katello-agent and make sure goferd is running (service goferd start) 3. Run the above command and verify that there is a queue with that UUID 4. Delete the content host either from the UI or from running 'subscription-manager unregister' 5. re-run that command and see if the queue is removed. It may take up to 10 minutes for that to happen. You may also want to simply re-register the same client a bunch of times (such as 20) and verify after 15 minutes that there are not 20 extra queues. The consumers being deleted should have their queues cleaned up. Verified in SNAP14 * ran the following in a loop on a client box. [root@mgmt5 ~]# cat multiregister.sh echo -n "Loop how many times? " read loopcount increment="0" while [ $increment -lt $loopcount ] do subscription-manager register --org="cswiii" --activationkey="ak-sat6-tools-rhel5-abc" --force subscription-manager identity >> identities.txt subscription-manager unregister ((increment+=1)) done * incremented re-registration 15 times. * ran the following on a sat host watch "qpid-stat --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b "amqps://$(hostname -f):5671" -q | grep pulp.agent|wc -l" the number of uuids steadily rose for a while, and then eventually/subsequently began to drop. I also cross-referenced the uuids placed in 'identities.txt' from the script above and assured they were no longer showing up in the output from the `qpid-stat` command above. This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015. |