Project

Profile

Help

Story #5891

closed

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 about 5 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
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

Actions #1

Updated by mdepaulo@redhat.com about 5 years ago

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

Updated by dkliban@redhat.com about 5 years ago

  • Groomed changed from No to Yes

Added by Mike DePaulo almost 5 years ago

Revision 0c0f33f8 | View on GitHub

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

Added by Mike DePaulo almost 5 years ago

Revision 0c0f33f8 | View on GitHub

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

Actions #3

Updated by rchan almost 5 years ago

  • Sprint changed from Sprint 63 to Sprint 64
Actions #4

Updated by Anonymous almost 5 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100
Actions #5

Updated by mdepaulo@redhat.com almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

ansible-pulp 3.0.1 has this.

Also available in: Atom PDF