Project

Profile

Help

Issue #1625

search by _id does not work in applicability calculation for repos

Added by ttereshc almost 5 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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.

Associated revisions

Revision 0cf73129 View on GitHub
Added by ttereshc almost 5 years ago

Fix applicability calculation for repos if parallel flag is set to true.

closes #1625 https://pulp.plan.io/issues/1625

Revision 0cf73129 View on GitHub
Added by ttereshc almost 5 years ago

Fix applicability calculation for repos if parallel flag is set to true.

closes #1625 https://pulp.plan.io/issues/1625

History

#1 Updated by jortel@redhat.com almost 5 years ago

  • Severity changed from 2. Medium to 3. High
  • Platform Release set to 2.8.0
  • Triaged changed from No to Yes

#2 Updated by amacdona@redhat.com almost 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to amacdona@redhat.com

#3 Updated by amacdona@redhat.com almost 5 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (amacdona@redhat.com)

#4 Updated by ttereshc almost 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#5 Updated by ttereshc almost 5 years ago

  • Description updated (diff)

#6 Updated by ttereshc almost 5 years ago

  • Status changed from ASSIGNED to POST

#7 Updated by ttereshc almost 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#8 Updated by dkliban@redhat.com almost 5 years ago

  • Status changed from MODIFIED to 5

#9 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF