Project

Profile

Help

Story #5891

Story #5890: [Epic] The ansible-pulp installer needs to handle multiple versions of Pulp

As a user, I can use ansible-pulp to perform a micro update to Pulp 3

Added by mdepaulo@redhat.com 10 months ago. Updated 9 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 64
Quarter:

Description

This task is to cover the use-case of a user having say Pulp 3.0.0 installed, but running ansible-pulp to update it to 3.0.1.

Required changes that have been identified:
1. Providing a variable on whether to update pulp or not during pip / pypi install.
2. Making sure the handlers are attached to all the necessary tasks, such as pip install/update tasks:
example of 1 handler: https://github.com/pulp/ansible-pulp/search?q=%22Restart+pulpcore-api.service%22&unscoped_q=%22Restart+pulpcore-api.service%22

Associated revisions

Revision 0c0f33f8 View on GitHub
Added by Mike DePaulo 9 months ago

Story: As a user, I can use ansible-pulp to perform a micro update to Pulp 3

Implementation includes:

  1. Variables for controlling pip upgrading or not for pulpcore and the plugins.
  2. Adding handler for restarting Pulp on pip changes.
  3. Fixing the changed_when condition for pip install tasks.

fixes: #5891 As a user, I can use ansible-pulp to perform a micro update to Pulp 3 https://pulp.plan.io/issues/5891

Fix handlers

Revision 0c0f33f8 View on GitHub
Added by Mike DePaulo 9 months ago

Story: As a user, I can use ansible-pulp to perform a micro update to Pulp 3

Implementation includes:

  1. Variables for controlling pip upgrading or not for pulpcore and the plugins.
  2. Adding handler for restarting Pulp on pip changes.
  3. Fixing the changed_when condition for pip install tasks.

fixes: #5891 As a user, I can use ansible-pulp to perform a micro update to Pulp 3 https://pulp.plan.io/issues/5891

Fix handlers

History

#1 Updated by mdepaulo@redhat.com 10 months ago

  • Assignee set to mdepaulo@redhat.com
  • Sprint Candidate changed from No to Yes
  • Sprint set to Sprint 63

#2 Updated by dkliban@redhat.com 10 months ago

  • Groomed changed from No to Yes

#3 Updated by rchan 9 months ago

  • Sprint changed from Sprint 63 to Sprint 64

#4 Updated by Anonymous 9 months ago

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

#5 Updated by mdepaulo@redhat.com 9 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

ansible-pulp 3.0.1 has this.

Please register to edit this issue

Also available in: Atom PDF