Project

General

Profile

Actions

Bug #10107

closed

Timeout requesting rpm_ids from pulp during sync/publish/promote

Added by Justin Sherrill almost 10 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

This has been seen by a couple different users. Pulp seems to be timing out. we could request fewer ids for each request to try to alleviate the problem.

https://github.com/Katello/runcible/blob/855d43cb74ab066621ed4d1b0c3274d39a426259/lib/runcible/extensions/repository.rb#L129

```

---
- /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.35/lib/restclient_ext/request.rb:56:in
`rescue in transmit'
- /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.35/lib/restclient_ext/request.rb:11:in
`transmit'
- /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in
`execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in
`execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/resource.rb:67:in
`post'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/base.rb:91:in
`get_response'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/base.rb:82:in
`call'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/resources/repository.rb:161:in
`unit_search'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:151:in
`block in rpm_ids'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:139:in
`<<'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:139:in
`block (2 levels) in rpm_ids'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:138:in
`loop'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:138:in
`block in rpm_ids'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:145:in
`each'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:145:in
`each'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:145:in
`reduce'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:145:in
`rescue in rpm_ids'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.1/lib/runcible/extensions/repository.rb:130:in
`rpm_ids'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/glue/pulp/repo.rb:244:in
`package_ids'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/models/katello/glue/pulp/repo.rb:746:in
`package_lists_for_publish'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/actions/pulp/repository/purge_empty_package_groups.rb:24:in
`invoke_external_task'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.6/lib/dynflow/action/polling.rb:70:in
`initiate_external_action'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.6/lib/dynflow/action/polling.rb:12:in
`run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.6/lib/dynflow/action/cancellable.rb:9:in
`run'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/actions/pulp/abstract_async_task.rb:57:in
`run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.6/lib/dynflow/action.rb:456:in
`block (3 levels) in execute_run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.6/lib/dynflow/middleware/stack.rb:26:in
`call'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.6/lib/dynflow/middleware/stack.rb:26:in
`pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.6/lib/dynflow/middleware.rb:16:in
`pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/actions/middleware/remote_action.rb:28:in
`block in run'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/actions/middleware/remote_action.rb:58:in
`block (2 levels) in as_remote_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/katello/util/thread_session.rb:84:in
`pulp_config'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/actions/middleware/remote_action.rb:44:in
`as_pulp_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/actions/middleware/remote_action.rb:57:in
`block in as_remote_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/katello/util/thread_session.rb:91:in
`cp_config'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0/app/lib/actions/middleware/remote_action.rb:39:in
`as_cp_user'
```


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #10543: Composite Content View Promotions Fail with Resource Not Found ErrorsDuplicate05/18/2015Actions
Actions

Also available in: Atom PDF