Project

Profile

Help

Issue #6669

closed

pulp_installer does not support plugins having both the version and the upgrade vars specified

Added by mdepaulo@redhat.com over 4 years ago. Updated over 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:
Documentation
Sprint:
Sprint 73
Quarter:

Description

This is a commonly reported issue by users.

If a user specifies both the version and upgrade vars for a plugin under pulp_install_plugins, pulp_installer fails.

(This might be only when the upgrade var is set to true).

This is because even though a command like pip install --upgrade pulp-file=0.3.0 is valid, the ansible pip module refuses to let you specify version and state=latest (state=latest maps to pip --upgrade, and to our upgrade: true).

I was hoping that specifying both would upgrade all dependencies.

We should probably address this omitting or specifying false for upgrade, whenever version is set.

Make sure to update the pulp role's README.md for this.

Actions #1

Updated by mdepaulo@redhat.com over 4 years ago

  • Description updated (diff)
Actions #2

Updated by fao89 over 4 years ago

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

Updated by mdepaulo@redhat.com over 4 years ago

  • Description updated (diff)
Actions #4

Updated by mdepaulo@redhat.com over 4 years ago

  • Description updated (diff)
Actions #5

Updated by bmbouter over 4 years ago

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

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 72 to Sprint 73
Actions #7

Updated by fao89 over 4 years ago

  • Status changed from NEW to ASSIGNED
Actions #8

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar over 4 years ago

Revision 506d13cc | View on GitHub

Document the conflict between version and upgrade

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

Added by Fabricio Aguiar over 4 years ago

Revision 506d13cc | View on GitHub

Document the conflict between version and upgrade

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

Actions #9

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
Actions #10

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF