Project

Profile

Help

Issue #4794

Pulp handles incompatible plugins poorly

Added by mdepaulo@redhat.com over 1 year ago. Updated 10 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
CI/CD
Sprint:
Quarter:

Description

As I was discussing with dkilban on IRC, Pulp does not handle plugins being incompatible with its current version very well.

Here is a partial snippet of logs from my container for pulp-api (which calls makemigrations and migrate before starting pulp-api), and a complete snippet:
https://pastebin.com/nmhNdHAd
https://pastebin.com/My1ZSBwj

When this error occurs, I can access /pulp/api/v3/, but not /pulp/api/v3/status/ . It yields HTTP 500 error.


Related issues

Related to Pulp - Issue #4562: Source installs should fail if a plugin requires a newer version of pulpcore-plugin or pulpcore than is checked outNEW<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Has duplicate Pulp - Issue #4829: Can't access API docsCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 8d80fc9f View on GitHub
Added by dkliban@redhat.com over 1 year ago

Problem: OpenAPI schema can't be generated for some plugins

Solution: generate schema from Views without querysets

This patch also skips generating schema for views without models associated with them.

fixes: #4794 https://pulp.plan.io/issues/4794

History

#1 Updated by amacdona@redhat.com over 1 year ago

  • Related to Issue #4562: Source installs should fail if a plugin requires a newer version of pulpcore-plugin or pulpcore than is checked out added

#2 Updated by amacdona@redhat.com over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Triaged changed from No to Yes

#3 Updated by dkliban@redhat.com over 1 year ago

  • Has duplicate Issue #4829: Can't access API docs added

#4 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from ASSIGNED to MODIFIED

#5 Updated by fao89 10 months ago

  • Tags CI/CD added

#6 Updated by bmbouter 10 months ago

  • Sprint/Milestone set to 3.0.0

#7 Updated by bmbouter 10 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF