Bug 1375659 - Upgrade to 6.2 does not delete $(fqdn):event queue what can end up in 503 error in WebUI
Summary: Upgrade to 6.2 does not delete $(fqdn):event queue what can end up in 503 err...
Keywords:
Status: CLOSED DUPLICATE of bug 1382524
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-13 15:39 UTC by Pavel Moravec
Modified: 2021-08-30 12:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-02 10:12:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1364980 0 medium CLOSED upgrade does not remove gutterball tomcat web application 2021-08-30 12:32:59 UTC
Red Hat Knowledge Base (Solution) 2608341 0 None None None 2016-09-13 15:39:52 UTC

Internal Links: 1364980

Description Pavel Moravec 2016-09-13 15:39:25 UTC
Description of problem:
It has been noticed in several cases that upgrade from 6.1.9 to 6.2 removed gutterball bits (thats ok) but did not remove its queue $(fqdn):event in qpid broker.

Since candlepin sends events to that queue even in 6.2, the queue gets full after some time, causing candlepin either slowed down or raising errors (I can explain why if interested). That has severe impact to whole Satellite, like performance down, or even WebUI returning 503 (passenger serves only rhsm/candlepin requests until they timeout).

The upgrade has to delete the queue in either way. It is safe for candlepin, since candlepin sends the events to a qpid exchange that routes the messages to the queue - candlepin itself does not know about presence of the queue at all.


Version-Release number of selected component (if applicable):
Sat 6.2

How reproducible:
??? (maybe 100%)


Steps to Reproduce:
1. Install Sat6.1.9
2. Upgrade to 6.2
3. qpid-stat -q --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b amqps://localhost:5671 | grep :event



Actual results:
3. returns:
  pmoravec-sat61-rhel7.gsslab.brq.redhat.com:event                                     Y                     81    81      0    6.93m  6.93m       0         0     2

And the counters (81 in above example) are rising over the time (just trigger some candlepin work for that)


Expected results:
3. returns nothing


Additional info:

Comment 3 Chris Roberts 2016-11-02 10:09:22 UTC
Fixed with PR https://github.com/Katello/katello-installer/pull/409

Comment 4 Chris Roberts 2016-11-02 10:12:09 UTC

*** This bug has been marked as a duplicate of bug 1382524 ***


Note You need to log in before you can comment on or make changes to this bug.