Project

Profile

Help

Issue #4970

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

Added by kersom about 2 years ago. Updated 9 months 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.

Associated revisions

Revision 3c065bcf View on GitHub
Added by Fabricio Aguiar almost 2 years ago

adding mazer_url to AnsibleDistribution

closes #4970

History

#1 Updated by kersom about 2 years ago

  • Subject changed from Collection - RepostoryDistribution does not provide url to consume to cosume content from Pulp to Collection - RepositoryDistribution does not provide url to consume to cosume content from Pulp

#2 Updated by daviddavis almost 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 56

Remove the field base_url and add a field called mazer_url.

#3 Updated by fao89 almost 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89

#4 Updated by fao89 almost 2 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by Anonymous almost 2 years ago

  • Status changed from POST to MODIFIED

#6 Updated by kersom almost 2 years ago

The current tests were modified to use this newly added field.

#7 Updated by fao89 10 months ago

  • Sprint/Milestone set to 0.2.0

#8 Updated by bmbouter 9 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF