Project

Profile

Help

Story #2102

Easier way to configure Crane to serve both V1 and V2

Added by twaugh about 4 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Crane:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

In order to configure Crane to serve both V1 and V2 content, one has to make a directory containing symlinks to both the 'v1' and 'v2' directories Pulp publishes to. Older versions of Crane did not follow the symlinks when watching for changes, so Pulp published directories had to be moved around as well.

It would be nice if Crane could serve both V1 and V2 without needing specific configuration.


Related issues

Blocked by Docker Support - Story #2099: As a user, I can sync v2 schema manifestsCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by dkliban@redhat.com about 4 years ago

  • Sprint Candidate changed from No to Yes
  • Tags 2.11 added

#2 Updated by amacdona@redhat.com about 4 years ago

  • Blocked by Story #2099: As a user, I can sync v2 schema manifests added

#3 Updated by mhrivnak almost 4 years ago

  • Tags deleted (2.11)

I think I understand what you're asking for, but please chime in if I'm misinterpreting your request.

I think if you want crane to serve both v1 and v2 content direct from pulp, you can just make these two symlinks:

ln -s /var/lib/pulp/published/docker/v1/web /var/lib/crane/metadata/v1
ln -s /var/lib/pulp/published/docker/v2/web /var/lib/crane/metadata/v2

Then it will serve all of your published repos via v1 and v2.

Especially considering that v1 content is nearly extinct at this point, I'm not sure it's worth trying to do something to make that even easier. What do you think?

#4 Updated by twaugh almost 4 years ago

That seems fair.

#5 Updated by amacdona@redhat.com about 2 years ago

  • Sprint Candidate changed from Yes to No

#6 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#7 Updated by bmbouter over 1 year ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#8 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF