Project

General

Profile

Actions

Bug #8409

closed

Failure when creating a container with an image not in the host

Added by Daniel Lobato Garcia over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If the compute resource docker host does not have the image, creation will fail, fog will return a 404.
The images should be pulled from the registry on creation asynchronously, and display progress like the orchestration progress bar displayed during host creation.


Related issues 1 (0 open1 closed)

Blocks Katello - Tracker #7125: Docker Content SupportClosedDavid Davis

Actions
Actions #1

Updated by Partha Aji over 9 years ago

Actions #2

Updated by Partha Aji over 9 years ago

Basically foreman-docker does not do a docker pull before trying to create a container with the pulled image. We need to add something that looks like
""
::Docker::Image.create({:fromImage => "registry:5000/<repo>", :tag => "latest"} )
""
before creating container

Actions #3

Updated by Daniel Lobato Garcia over 9 years ago

  • Priority changed from Normal to High
Actions #4

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-docker/pull/65 added
  • Pull request deleted ()
Actions #5

Updated by Daniel Lobato Garcia about 9 years ago

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

Updated by Dominic Cleal about 9 years ago

  • Status changed from Closed to Ready For Testing
Actions #7

Updated by David Davis about 9 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF