Project

Profile

Help

Issue #4970

closed

Collection - RepositoryDistribution does not provide url to consume to cosume content from Pulp

Added by kersom almost 5 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 56
Quarter:

Description

An ansible/collection distribution does not have a url that one can consume content from Pulp easily.

{'_created': '2019-06-13T19:23:35.909675Z',
 '_href': '/pulp/api/v3/distributions/ansible/ansible/fc54c057-bd10-46f9-84aa-6968def7c36e/',
 'base_path': '92afef62-ab7c-458f-9199-4f8ce27447f0',
 'base_url': '192.168.122.111:24816/pulp/content/92afef62-ab7c-458f-9199-4f8ce27447f0',
 'content_guard': None,
 'name': '75d710c1-d995-4ef1-a981-60c925b9e679',
 'repository': '/pulp/api/v3/repositories/e7e09c87-6d3c-4514-afc4-a1b6ee4ea176/',
 'repository_version': None}

See: https://pulp-ansible.readthedocs.io/en/latest/workflows/mazer-client.html#install-a-collection-hosted-by-pulp-using-mazer

url: http://localhost:24817/pulp_ansible/galaxy/dev

This is assuming you have the Collection content exposed at a Distribution created with base_path=dev (as in the example above).

Extra steps required in order to build the url to consume content using mazer.

Also available in: Atom PDF