Project

General

Profile

Bug #21050

Cannot provision a Katello Managed docker container

Added by Partha Aji almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

When using the docker container UI the tag information is not being set correctly.
0) Setup docker compute resource + Sync docker images
1) Containers -> Create Container
2) Select lifecycle environment, CV, repository, Tag, Smart Proxy
3) Click next step

Note the tag info while getting propagated in the Put request does not get stored in the database making it always choose the latest.
This is a side effect of https://github.com/Katello/katello/pull/6775 as part of Issue http://projects.theforeman.org/issues/19468

Associated revisions

Revision 113b5798 (diff)
Added by Partha Aji over 4 years ago

Fixes #21050 - Container Create uses correct Tag

This commit includes fixes related to container creation and tag
selection. The container repository name was not being used to provision
the container image and instead the repo name was being used which
implies that containers were never able to provision in the first place.

More over this fix make the container create use DockerMetaTag instead
of DockerTag. This fixes the issue where the wrong tag would get applied
to the repository.

History

#1 Updated by The Foreman Bot almost 5 years ago

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

#2 Updated by Justin Sherrill almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 250

#3 Updated by Brad Buckingham over 4 years ago

  • Target version changed from 217 to 225

#4 Updated by Partha Aji over 4 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Partha Aji over 4 years ago

  • Bugzilla link set to 1503827

Also available in: Atom PDF