Project

Profile

Help

Story #7751

closed

As an user I want to sync collections and their dependencies

Added by fao89 about 4 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
GalaxyNG
Sprint:
Quarter:
Q1-2021

Description

pulp-ansible does not sync collection dependencies.

pulp.pulp_installer collection depends on ansible.posix when trying to install pulp.pulp_installer it fails due to 404 on ansible.posix

(pulp) [vagrant@pulp3-source-fedora31 pulp_ansible]$ ansible-galaxy collection install pulp.pulp_installer -c -s http://pulp3-source-fedora31.fedora.example.com/pulp_ansible/galaxy/c8dfb750-2e25-483e-bf60-46a77e896c1d -p /tmp/tmpsenw0bck
Starting galaxy collection install process
[WARNING]: The specified collections path '/tmp/tmpsenw0bck' is not part of the configured
Ansible collections paths '/home/vagrant/.ansible/collections:/usr/share/ansible/collections'.
The installed collection won't be picked up in an Ansible run.
Process install dependency map
ERROR! Failed to find collection ansible.posix:*
Oct 26 20:27:22 pulp3-source-fedora31.fedora.example.com gunicorn[32895]: 127.0.0.1 - admin [26/Oct/2020:20:27:22 +0000] "GET /pulp_ansible/galaxy/c8dfb750-2e25-483e-bf60-46a77e896c1d HTTP/1.0" 404 77 "-" "ansible-galaxy/2.10.2 (Linux; python:3.7.9)"
Oct 26 20:27:22 pulp3-source-fedora31.fedora.example.com gunicorn[32895]: 127.0.0.1 - admin [26/Oct/2020:20:27:22 +0000] "GET /pulp_ansible/galaxy/c8dfb750-2e25-483e-bf60-46a77e896c1d/api HTTP/1.0" 301 0 "-" "ansible-galaxy/2.10.2 (Linux; python:3.7.9)"
Oct 26 20:27:22 pulp3-source-fedora31.fedora.example.com gunicorn[32895]: 127.0.0.1 - admin [26/Oct/2020:20:27:22 +0000] "GET /pulp_ansible/galaxy/c8dfb750-2e25-483e-bf60-46a77e896c1d/api/ HTTP/1.0" 200 69 "-" "ansible-galaxy/2.10.2 (Linux; python:3.7.9)"
Oct 26 20:27:22 pulp3-source-fedora31.fedora.example.com gunicorn[32895]: 127.0.0.1 - admin [26/Oct/2020:20:27:22 +0000] "GET /pulp_ansible/galaxy/c8dfb750-2e25-483e-bf60-46a77e896c1d/api/v2/collections/pulp/pulp_installer/versions/ HTTP/1.0" 200 9063 "-" "ansible-galaxy/2.10.2 (Linux; python:3.7.9)"
Oct 26 20:27:22 pulp3-source-fedora31.fedora.example.com gunicorn[32895]: 127.0.0.1 - admin [26/Oct/2020:20:27:22 +0000] "GET /pulp_ansible/galaxy/c8dfb750-2e25-483e-bf60-46a77e896c1d/api/v2/collections/pulp/pulp_installer/versions/3.8.0/ HTTP/1.0" 200 1065 "-" "ansible-galaxy/2.10.2 (Linux; python:3.7.9)"
Oct 26 20:27:22 pulp3-source-fedora31.fedora.example.com gunicorn[32895]: pulp: django.request:WARNING: Not Found: /pulp_ansible/galaxy/c8dfb750-2e25-483e-bf60-46a77e896c1d/api/v2/collections/ansible/posix/versions/
Oct 26 20:27:22 pulp3-source-fedora31.fedora.example.com gunicorn[32895]: 127.0.0.1 - admin [26/Oct/2020:20:27:22 +0000] "GET /pulp_ansible/galaxy/c8dfb750-2e25-483e-bf60-46a77e896c1d/api/v2/collections/ansible/posix/versions/ HTTP/1.0" 404 23 "-" "ansible-galaxy/2.10.2 (Linux; python:3.7.9)"

Related issues

Related to Ansible Plugin - Refactor #7777: As a developer I want collections sync machinery easier to maintainCLOSED - CURRENTRELEASEbmbouter

Actions
Actions #1

Updated by fao89 about 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
  • Sprint set to Sprint 84
  • Quarter set to Q4-2020
Actions #2

Updated by pulpbot about 4 years ago

  • Status changed from ASSIGNED to POST
Actions #3

Updated by rchan about 4 years ago

  • Sprint changed from Sprint 84 to Sprint 85
Actions #4

Updated by fao89 about 4 years ago

  • Status changed from POST to NEW
  • Assignee deleted (fao89)

I believe this needs to be a sub task of sync rewrite

Actions #5

Updated by fao89 about 4 years ago

  • Parent issue set to #7777
Actions #6

Updated by fao89 about 4 years ago

  • Parent issue deleted (#7777)
Actions #7

Updated by fao89 about 4 years ago

  • Related to Refactor #7777: As a developer I want collections sync machinery easier to maintain added
Actions #8

Updated by rchan about 4 years ago

  • Sprint changed from Sprint 85 to Sprint 86
Actions #9

Updated by rchan almost 4 years ago

  • Sprint changed from Sprint 86 to Sprint 87
Actions #10

Updated by fao89 almost 4 years ago

  • Sprint deleted (Sprint 87)
  • Quarter changed from Q4-2020 to Q1-2021
Actions #11

Updated by fao89 over 3 years ago

  • Sprint/Milestone set to 1.0.0 - Candidates
Actions #12

Updated by fao89 over 3 years ago

  • Tags GalaxyNG added
Actions #13

Updated by pulpbot over 3 years ago

  • Status changed from NEW to POST

Added by gerrod over 3 years ago

Revision 49c3621a | View on GitHub

Added full syncing of collection dependencies

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

Actions #14

Updated by gerrod over 3 years ago

  • Status changed from POST to MODIFIED
Actions #15

Updated by fao89 over 3 years ago

  • Sprint/Milestone changed from 1.0.0 - Candidates to 0.8.0
Actions #16

Updated by fao89 over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #17

Updated by daviddavis over 3 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0
  • Severity deleted (2. Medium)
  • Triaged deleted (No)

Also available in: Atom PDF