Project

General

Profile

Bug #14305

Cannot publish content view with docker repository.

Added by Zach Huntington-Meath over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
High
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

How to replicate:

1. Create a new docker repository (I used the default url: https://registry-1.docker.io/ and busybox as upstream repository name.)

2. Sync the new repository.

3. Create a new content view and assign it the docker repository.

4. Publish the content view, it should give the error: Validation failed: Repository URL or Upstream Name is empty. Both are required for syncing from the upstream.

Associated revisions

Revision f14fdf83 (diff)
Added by Brad Buckingham over 4 years ago

fixes #14305 - docker repos in content views should not require url and upstream name

This commit fixes an error that occurs during content view publishing
of views containing docker repositories. The error was on the validation
that required every docker repository to have a url and upstream_docker_name.
This validation is primarily needed for repositories in the library
that are used for syncing/mirroring that content from the upstream
repository; however, in the case of the content view repositories, they
are simply cloned from repos managed by katello.

Revision 9a00d448
Added by Brad Buckingham over 4 years ago

Merge pull request #5908 from bbuckingham/issue-14305

fixes #14305 - docker repos in content views should not require url and upstream name

History

#1 Updated by Zach Huntington-Meath over 4 years ago

  • Bugzilla link set to 1319908

#2 Updated by Brad Buckingham over 4 years ago

  • Category set to Content Views
  • Assignee set to Brad Buckingham
  • Priority changed from Normal to High

#3 Updated by The Foreman Bot over 4 years ago

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

#4 Updated by Brad Buckingham over 4 years ago

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

#5 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 86

Also available in: Atom PDF