Actions
Bug #9580
closedLoading Activation keys list slow
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1196742
Description of problem:
The Activion keys list is slow. It contains also a lot of not relevant data for the Katello users. E.g. the fields productAttributes and providedProducts are 33% of the data returned:
- time curl -K /opt/hoici/etc/sat6/curl-hoici.conf "-HContent-Type: application/json" "-d{\"per_page\":9999}" -XGET https://localhost/katello/api/v2/organizations/4/activation_keys > act.json
real 0m17.244s
user 0m0.125s
sys 0m0.041s
- ls
l act.json1 root root 484619 Feb 26 16:06 act.json
-rw-r--r- - hoi-json act.json --get ALL | wc -l
14412 - hoi-json act.json --get ALL | egrep -v '(productAttributes|providedProducts)' | wc -l
5786
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Create 50 Activation keys
2. List activation keys
3.
Actual results:
Slow and big response in 20+ seconds
Expected results:
Result in 3 seconds and small response body with relevant data
Additional info:
Similiar to the BZ1177609 and BZ1161636
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 67
- Pull request https://github.com/Katello/katello/pull/5061 added
- Pull request deleted (
)
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release set to 23
- Triaged changed from No to Yes
Updated by Walden Raines almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|2f7e0e560b95b6c6082a35a5f6b5e9ab1230d516.
Actions