Project

General

Profile

Actions

Refactor #18732

open

Make Foreman Containerizable

Added by Josh Berkus over 7 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Currently, it's completely unclear how to install TheForeman in a container. Parts of the setup, like the use of proxies to enable the Foreman UI, defy the ability to treat TheForeman as a service answering on a specific port.

TheForeman needs to be installable in a container because it's the only way to support a reasonable number of platforms. For example, there is no support for the current version of Fedora. In the future, many servers will not support installing applications on the base OS or changing network configurations, and will require installation via container.

I'm opening this issue in order to collect ideas about what needs to change in TheForeman to make installing it in a container possible. Willing to help with packaging once we get that far, but I know very little about Foreman's internals.


Subtasks 1 (0 open1 closed)

Refactor #26741: Add a dockerfile for foremanClosedOhad LevyActions

Related issues 1 (1 open0 closed)

Blocked by Smart Proxy - Feature #27308: add dockerfile to smart proxyNewActions
Actions #1

Updated by Josh Berkus over 7 years ago

  • Tracker changed from Bug to Refactor
Actions #2

Updated by Ohad Levy over 7 years ago

First of all, I'm very happy you opened this issue - thanks!

I just wanted to bring awareness to https://github.com/shlomizadok/foreman-docker-compose which was an initial attempt to get multiple containers representing foreman.
Of course - the more components (puppet, remote execution, scap, discovery, katello etc) the harder the solution is..

there are also a few pending PR on that repo that got stuck at some point in time.

feedback welcomed.

Ohad

Actions #3

Updated by Josh Berkus over 7 years ago

Ohad Levy wrote:

First of all, I'm very happy you opened this issue - thanks!

I just wanted to bring awareness to https://github.com/shlomizadok/foreman-docker-compose which was an initial attempt to get multiple containers representing foreman.
Of course - the more components (puppet, remote execution, scap, discovery, katello etc) the harder the solution is..

there are also a few pending PR on that repo that got stuck at some point in time.

feedback welcomed.

Ohad

So ... I have never successfully installed Foreman before anywhere. So figuring out what's wrong with the containerized install is prohibitively difficult for me. I'm happy to test stuff if someone has something in reasonable working condition, but I can't do anything about known broken code.

Actions #4

Updated by Josh Berkus over 7 years ago

Josh Berkus wrote:

So ... I have never successfully installed Foreman before anywhere. So figuring out what's wrong with the containerized install is prohibitively difficult for me. I'm happy to test stuff if someone has something in reasonable working condition, but I can't do anything about known broken code.

If someone who knows how to install and operate TheForeman wants to help me, I know quite a bit about Docker and Kubernetes.

Actions #5

Updated by Ondřej Pražák over 5 years ago

  • Bugzilla link set to 1679776
Actions #6

Updated by Ohad Levy over 5 years ago

Actions

Also available in: Atom PDF