Project

Profile

Help

Issue #4970

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

Added by kersom 3 months ago. Updated about 1 month ago.

Status:
MODIFIED
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 56

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 about 2 months ago

adding mazer_url to AnsibleDistribution

closes #4970

History

#1 Updated by kersom 3 months 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 about 2 months 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 fabricio.aguiar about 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fabricio.aguiar

#4 Updated by fabricio.aguiar about 2 months ago

  • Status changed from ASSIGNED to POST

#5 Updated by Anonymous about 2 months ago

  • Status changed from POST to MODIFIED

#6 Updated by kersom about 1 month ago

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

Please register to edit this issue

Also available in: Atom PDF