Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1530692 - qdrouterd segfault when processing bursts of goferd requests
qdrouterd segfault when processing bursts of goferd requests
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Qpid (Show other bugs)
6.2.11
Unspecified Unspecified
high Severity urgent (vote)
: Unspecified
: Unused
Assigned To: Mike Cressman
Roman Plevka
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-03 11:13 EST by pm-sat@redhat.com
Modified: 2018-02-21 07:58 EST (History)
8 users (show)

See Also:
Fixed In Version: qpid-dispatch-0.8.0-16.el7sat
Doc Type: Bug Fix
Doc Text:
When several goferd client connections tried to use qdrouterd on Satellite to link to qpidd, qdrouterd experienced a segmentation fault. This is now fixed.
Story Points: ---
Clone Of: 1491160
Environment:
Last Closed: 2018-02-21 07:58:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3251561 None None None 2018-01-03 11:13 EST
Red Hat Product Errata RHBA-2018:0338 normal SHIPPED_LIVE Red Hat Satellite 6.3 Tools 2018-02-21 14:30:02 EST

  None (edit)
Comment 2 Roman Plevka 2018-01-15 10:37:55 EST
VERIFIED
satellite-6.3.0-23.0.el7sat.noarch (snap 31)

I crafted a rhel docker image by installing katello-ca certs on it + installing katello-agent package from dogfood repo (without registering to satellite).

- every docker container built from this image runs the following script:

```
subscription-manager register --org="$ORG" --environment="Library" $AUTH
while [ ! -f /tmp/docker-handle/start ]; do
        echo "waiting"
        sleep 0.1
done
echo "Starting goferd in foreground."
goferd -f
```

there's a semaphore file checking (/tmp/docker-handle/start), allowing me to start multiple containers and make them start gofer at the same time, by touching the file inside the mounted share.

i started up the containers in the following loop:
```
for  i in {1..50};do
    sudo docker run -d -v /dev/log:/dev/log -v /tmp/docker-handle:/tmp/docker-handle -t rplevka-6.3
done
```

after they all started up, all appropriate host records appeared on satellite and there were no more /rhsm requests running, i touched the 'start' file, which made all containers to start the gofer, which created pulp.agent* queues at the same time.

i was verifying everything by watching number of queues:

qpid-stat --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b "amqps://localhost:5671" -q | grep -c pulp.agent

and also monitoring logs.
Comment 5 errata-xmlrpc 2018-02-21 07:58:46 EST
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

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