Project

Profile

Help

Issue #4562

closed

Source installs should fail if a plugin requires a newer version of pulpcore-plugin or pulpcore than is checked out

Added by amacdona@redhat.com over 5 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Dev Environment
Sprint:
Quarter:

Description

This occurs when:
- A plugin is being installed
- pulpcore-plugin is being installed from source
- the plugin requires version X of pulpcore-plugin
- checked out pulpcore-plugin is older than X

When these factors are all true, pulpcore-plugin is installed from PyPI, which is surprising. If pulp_plugin_source_dir is set, and pulpcore-plugin is installed during the plugin installation, the installer should raise an error.

An alternate implementation could be to check the requirements of each plugin early in the installation. If they are not compatible, it could fail quickly.


Related issues

Related to Pulp - Issue #4794: Pulp handles incompatible plugins poorlyCLOSED - CURRENTRELEASEdkliban@redhat.comActions
Actions #1

Updated by amacdona@redhat.com over 5 years ago

  • Tags Dev Environment, Pulp 3, Pulp 3 installer added
Actions #2

Updated by amacdona@redhat.com over 5 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 50
Actions #3

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 50 to Sprint 51
Actions #4

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 51 to Sprint 52
Actions #5

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #6

Updated by amacdona@redhat.com over 5 years ago

  • Related to Issue #4793: Locking does not work as expected with Publications added
Actions #7

Updated by amacdona@redhat.com over 5 years ago

  • Related to deleted (Issue #4793: Locking does not work as expected with Publications)
Actions #8

Updated by amacdona@redhat.com over 5 years ago

  • Related to Issue #4794: Pulp handles incompatible plugins poorly added
Actions #9

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 52 to Sprint 53
Actions #10

Updated by amacdona@redhat.com over 5 years ago

  • Sprint changed from Sprint 53 to Sprint 54
Actions #11

Updated by ttereshc over 5 years ago

  • Sprint deleted (Sprint 54)
Actions #12

Updated by rchan over 5 years ago

This issue won't get moved forward to Sprint 55 because it impacts developers only and isn't a high enough priority given other stakeholder needs. Will consider later.

Actions #13

Updated by bmbouter over 4 years ago

  • Category set to Installer - Moved to GitHub issues
  • Tags deleted (Pulp 3 installer)
Actions #14

Updated by dkliban@redhat.com about 4 years ago

  • Status changed from NEW to CLOSED - CURRENTRELEASE

The installer does not allow plugins to upgrade pulpcore and as a result it halts installation. The constraints file is used for this.

Also available in: Atom PDF