Project

General

Profile

Bug #16037

Enable katello docker registries to use other ports

Added by Partha Aji over 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Docker
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

https://github.com/Katello/katello/blob/master/app/models/katello/concerns/container_extensions.rb#L17 hard codes crane registry the port in the pull url. This means that value is not configurable causing all sorts of issues. We need to make it use a Settings var

        if Repository.where(:pulp_id => repository_name).count > 0
          manifest_capsule = self.capsule || CapsuleContent.default_capsule.capsule
          "#{URI(manifest_capsule.url).hostname}:5000/#{repo_url}" 
        else
          repo_url
        end


Related issues

Related to Katello - Bug #16051: Need to enable setting the crane port in puppet-capsuleDuplicate2016-08-10

Associated revisions

Revision 7be5d7f2 (diff)
Added by Partha Aji over 2 years ago

Fixes #16037 - Settings to setup pulp crane port

The pulp crane port used to be hard coded in Katello
Made it configurable.
Other settings will be added in the pulp-puppet/katello installers

Revision f4b2dace
Added by Partha Aji over 2 years ago

Merge pull request #6240 from parthaa/crane-port

Fixes #16037 - Settings to setup pulp crane port

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6240 added

#2 Updated by Partha Aji over 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Partha Aji over 2 years ago

  • Related to Bug #16051: Need to enable setting the crane port in puppet-capsule added

Also available in: Atom PDF