Bug 816188
| Summary: | Katello timeouts when syncing very small repo | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Lukas Zapletal <lzap> |
| Component: | WebUI | Assignee: | Lukas Zapletal <lzap> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Nightly | CC: | bkearney, cwelton, inecas, mmccune |
| 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: | Environment: | ||
| Last Closed: | 2014-07-02 14:06:02 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: | |||
|
Description
Lukas Zapletal
2012-04-25 13:15:55 UTC
One additional note - if you run changeset suite, the error does not show ALWAYS. I had to put some IO stress to see it again. I simulated this using yum clean all; yum makecache in a bash loop. I noticed when I comment out this configuration variable: #post_sync_url = https://localhost/katello/api/repositories/sync_complete I dont see the issue anymore. There was already a bug causing this troubles, see https://bugzilla.redhat.com/show_bug.cgi?id=807720 but seemed resolved in recent Pulp builds. I have another reproducer, just create a product with 10+ repos (even small) in it and sync it. Timeout guaranteed: URL=http://lzap.fedorapeople.org/fakerepos/zoo5/ alias kk='/usr/bin/katello -u admin -p admin' kk client remember --option org --value ACME_Corporation kk provider create --name provider kk product create --name product --provider provider kk repo create --url $URL --product product --name zoo_A kk repo create --url $URL --product product --name zoo_B kk repo create --url $URL --product product --name zoo_C kk repo create --url $URL --product product --name zoo_D kk repo create --url $URL --product product --name zoo_E kk repo create --url $URL --product product --name zoo_F kk repo create --url $URL --product product --name zoo_G kk repo create --url $URL --product product --name zoo_G kk product synchronize --name product Ok to successfully reproduce this, you need to have ONE THIN instance configured. It works like a charm with TWO+ THIN instances. This could be considered as workaround, but I guess we should still fix this somehow. I can imagine with two thins, two users could sync in parallel and hit it. The same for N users. Assigning to me, will tune our installer to setup 2 instances minimum. So I confirm pulp-1.1.4-1.el6.noarch fixes this issue, but I will configure two thins as minimum anyway. Moving to Sat6 to be tracked there. Upstream bugs are moving to redmine. This is a really old bug, but considering this verified in Satellite-6.0.3-RHEL-6-20140508.1 I synced/promoted a repo containing only one rpm and it seemed to be OK. This was delivered with 6.0.3, which is the Satellite 6 Beta. |