Issue #1625
closedsearch by _id does not work in applicability calculation for repos
Description
In id_list ObjectIds are expected rather than their dict/operator representation {"$oid": ...}
This issue only affects applicability calculation for repos if parallel flag is set to true.
$ curl -H "Accept: application/json" -X POST -d '{"repo_criteria":{"filters":{ "id": {"$in":["myrepo"]}}}, "parallel": true}' -k -u admin:admin 'https://localhost/pulp/api/v2/repositories/actions/content/regenerate_applicability/'
Update:
Steps to reproduce.
1. create repo, sync it
2. create consumer
3. bind consumer to repo
4. create profile for consumer which will contain at least one rpm from the repo
5. generate applicability for consumer (record in the repo_profile_applicability will appear)
6. increase version of the package in the repo
7. generate applicability for your repo with parallel flag set to true
The applicability won't be regenerated.
Updated by jortel@redhat.com almost 9 years ago
- Severity changed from 2. Medium to 3. High
- Platform Release set to 2.8.0
- Triaged changed from No to Yes
Updated by amacdona@redhat.com almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
Updated by amacdona@redhat.com almost 9 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
amacdona@redhat.com)
Updated by ttereshc almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
Updated by ttereshc almost 9 years ago
- Status changed from ASSIGNED to POST
Added by ttereshc almost 9 years ago
Added by ttereshc almost 9 years ago
Revision 0cf73129 | View on GitHub
Fix applicability calculation for repos if parallel flag is set to true.
Updated by ttereshc almost 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|0cf731295a5c69847dcb3fa1cb9d942b4d6e369d.
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Fix applicability calculation for repos if parallel flag is set to true.
closes #1625 https://pulp.plan.io/issues/1625