Bug 1463819

Summary: Orphaned qpid journal files when unregistering a content host
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: QpidAssignee: Mike Cressman <mcressma>
Status: CLOSED ERRATA QA Contact: Radovan Drazny <rdrazny>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.8CC: bbuckingham, bkearney, jcallaha, kim.vdriet, mcressma, mmccune, pmoravec, rdrazny, vwariyal
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1443470 Environment:
Last Closed: 2018-02-21 12:57:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Radovan Drazny 2017-09-20 13:25:02 UTC
Verified on Satellite 6.3, qpid-cpp-server-1.36.0-9.el7 using the reproducer from the original report. 

On a Satellite client the following loop was running:

while true; 
do 
  subscription-manager register --org="Default_Organization" --username=admin --password=nimda 
  sleep 5
  systemctl restart goferd
  sleep 5
  subscription-manager unregister
done

Monitoring the /var/lib/qpidd/.qpidd/qls/p001/efp/2048k/in_use dir on the Sat 6.3 server using following commands:

ls in_use | wc -l
du -ks in_use

The directory wasn't completely stable, but the number of files and present and consumed disk space always went down after a short (and not too high) spike, so qpid server was cleaning up old files and not leaving orphans. 

VERIFIED

Comment 5 errata-xmlrpc 2018-02-21 12:57:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0338