Questions tagged [foreman]

The Foreman is a complete lifecycle management tool for physical and virtual servers.

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

Continous delivery using Gitlab, Foreman and Puppet

We are using different tools to orchestrate our environment. On one side, we have Puppet and Foreman to deploy our different server applications, on the other side, we are using Gitlab in order to ...
Alexis Dufrenoy's user avatar
0 votes
0 answers
434 views

Installing foreman in Proxmox, Forward DNS points to 127.0.1.1 / Reverse DNS failed. Your system does not meet configuration criteria

I'm trying to install Foreman in a debian LXC container in Proxmox VE. When I run foreman-installer, I get the following error. Forward DNS points to 127.0.1.1 which is not configured on this server ...
Shodan's user avatar
  • 101
1 vote
1 answer
377 views

Foreman - Using Global / Host Variables in YAML Config

I'm having a little trouble working with the Global Variables in Foreman. I have a global variable called ALLOW_AD_USERS which I can see in the facts section against the host. I'm trying to use this ...
jamboNum5's user avatar
  • 341
0 votes
2 answers
127 views

Best way to provisionning CentOS

I began my new work, it's in a small infrastructure but they often provisionning new virtual machines under CentOS. Currently they used template in VMWare VCenter but it's just a clone and when they ...
Lief DESCHAMPS's user avatar
1 vote
1 answer
987 views

foreman.facts in ansible playbook

Iam using the foreman.py script for creating a dynamic inventory. How can I use the collected facts from the foreman.facts file in my ansible playbooks? ll /etc/ansible/foreman* -rw-r--r--. 1 root ...
brotaxt's user avatar
  • 11
0 votes
1 answer
73 views

How to monitor hosts with foreman when there's only one-way traffic allowed?

I am currently setting up a PoC with foreman to monitor the configuration of some hosts. This works great. I am wondering, how could I monitor hosts in our DMZ? Where only one way traffic is allowed (...
BenoitBalliu1's user avatar
1 vote
0 answers
86 views

Foreman manifest - Trigger action on Puppet class parameters change

I am new to Puppet and I do support a small windows environment with mostly web services and console apps, all managed by Foreman/Puppet. I've managed to write several manifests, which keep those ...
c4sane's user avatar
  • 23
2 votes
1 answer
3k views

virt-manager vm console requires password

I have just started learning foreman. I added a KVM host to the foreman as a compute resource. I can now provision VMs from foreman now but I cannot view the console of the VMs that are provisioned ...
Jigar's user avatar
  • 91
1 vote
0 answers
1k views

libvirt connection as non-root user

I'm trying to configure a libvirt compute resource in Foreman and have both KVM and Foreman installed on the same Centos 7 host. Adding the compute resource with qemu+ssh://root@hypervisor.example....
nibs's user avatar
  • 35
0 votes
2 answers
1k views

Q: How to define Apache modules via Puppet and Hiera?

I am currently using Puppet with Foreman 1.17 and puppetlabs/apache version 3.1.0. All virtual hosts are defined using a .yaml file: apache::vhost: vm12345_ssl: servername: my.example.com ...
nn4l's user avatar
  • 1,336
2 votes
0 answers
142 views

Foreman chrashed with runtime error

In my foreman/katello installation I have the following error message: Web application could not be started (RuntimeError) /opt/theforeman/tfm/root/usr/share/gems/gems/ffi-1.4.0/lib/ffi/library....
Peter's user avatar
  • 802
1 vote
1 answer
123 views

WinPE as installation tool

I have succesfully created a WinPE image which includes a simple script to auto-install windows. This image is used to boot via PXE. As soon as WinPE is "booted" it asks the server which windows image ...
Xabre's user avatar
  • 143
1 vote
1 answer
975 views

Using Foreman's host groups in hiera.yaml :hierarchy section

Does anyone know how to set a correct path in :hierarchy section of hiera.yaml config to apply configuration to Foreman's host groups? I tried to use this settings with %{::hostgroup} variable, but it ...
patok's user avatar
  • 692
0 votes
1 answer
2k views

Puppet not pulling Hiera value

Learning Puppet and Hiera and I've run into a roadblock. I apologize in advance if this is something simple. Given the following files within my GitLab for the PuppetClass es_strat: hiera.yaml --...
Tronyx's user avatar
  • 1
2 votes
1 answer
1k views

Remove Host from Foreman

In Foreman 1.12 I deleted a VM from the VMware web client, but cannot delete its record from foreman. I got the below error: Error: Failed to destroy a compute VMware (VMware) instance *************:...
agamil's user avatar
  • 33
1 vote
0 answers
739 views

Foreman DNS proxy does not set records

I am building a foreman puppet infrastructure in my test lab, all setup components were installed through puppet (modules: forman-puppet, foreman-forman, forman-foreman_proxy, foreman-dns). ...
Kubaschi's user avatar
0 votes
1 answer
629 views

Foreman smart-proxy Microsoft DHCP unknown error 5

I have a Foreman smart client version 1.15.0 running on Windows Server 2016, which I am trying to use for managing Windows DHCP servers with Foreman. When I try to populate the DHCP leases with the ...
Mark Henderson's user avatar
0 votes
2 answers
1k views

SOLVED - Unable to install foreman-proxy on CentOS 6.9

Puppet [root@ns1 ~]# puppet --version 4.10.1 Repositories (used Foreman 1.12 as the next versions are not supported in Centos 6) [root@ns1 ~]# yum repolist enabled Loaded plugins: fastestmirror ...
Oleksandr's user avatar
0 votes
1 answer
959 views

Foreman/Katello with ansible

Im just going nuts with the ansible plugin for foreman/katello. https://theforeman.org/plugins/foreman_ansible/1.x/index.html I just installed as described. When I run ansibl-playbook, I get the ...
beacher_pille88's user avatar
1 vote
1 answer
1k views

Foreman and Configuration Manager/SCCM for deployment

I recently have been made a Windows sysadmin in our place of work after many years as a client admin. For the past 5 I have been the lead on Configuration Manager/SCCM (up to the most recent current ...
Bryan Powell's user avatar
0 votes
1 answer
524 views

How to automatically set the domain of a host interface in Foreman

I'm currently using Foreman to discover nodes on the network, and to provision bare metal servers. When a node is discovered, and I "Provision" it through the Foreman UI, I always have to specify ...
grizzthedj's user avatar
4 votes
2 answers
4k views

How can I test that a reboot has completed?

I'm currently building an infrastructure management tool that provisions bare metal and VM's etc. We have a worker VM that runs commands(via ansible) on the remote nodes over SSH. One of the steps ...
grizzthedj's user avatar
0 votes
1 answer
219 views

Debian 8 + Foreman Not Loading

I'm working on giving foreman a try, I installed it on Debian 8 per the tutorial on the site. However, when I try to load foreman I get: Sinatra doesn’t know this ditty. # in usr/share/foreman-...
Aaron A's user avatar
  • 239
0 votes
1 answer
1k views

Issue with adding foreman host, receive reverse dns error message, possible rndc.key issue

This is a new install of foreman/puppet using a postgresql backend. When attempting to add a new host (or update an existing one using our imported previous DB hosts) the following error is seen in ...
Ellie Pierce's user avatar
0 votes
1 answer
587 views

Can Foreman allow anonymous read-only access?

I need an automated job to perform REST API calls against Foreman and would much rather not bother setting up an account for it -- and then forever maintain the password. However, it appears, Foreman ...
Mikhail T.'s user avatar
  • 2,282
2 votes
1 answer
5k views

How to query Foreman for hosts with a specific Global Parameter?

We make some use of the Global Parameters in Foreman, and I need to list all hosts, which have the Global Parameter foo set to "bar". Can I do that with the REST API or via some other method? Going ...
Mikhail T.'s user avatar
  • 2,282
0 votes
2 answers
204 views

Foreman: List VMs of a compute reourse

From Satellite 6/Foreman GUI, I can get the full list of VMs running on a compute resource. However, I cannot find a relevant command in hammer-cli. Do I miss something, or I just can't do it with ...
Peter's user avatar
  • 802
1 vote
2 answers
3k views

Katello/Foreman: unable to syncronize products or install software

I have configured foreman with katello scenario and previously configured and synced some repositories and content views (for Red Hat 5 server). Suddenly, after running some synchronization tasks, ...
Felipe Mateo's user avatar
0 votes
1 answer
1k views

Foreman/Katello error with product synchronization

We have Foreman 1.12.4 w Katello 3.1 installed on Centos 7.2 After a small error with pip in which yum-controlled software was updated and broke our Katello install, I rolled back as best I could ...
datakid's user avatar
  • 349
1 vote
0 answers
877 views

Satellite 6/Foreman: Cannot manage DHCP/DNS with libvirt

I have a Satellite 6 server on my test environment installed as a VM in a CentOS 7 box. I have configured the CentOS KVM as a Compute Resource and host provisioning (without any Capsule/Foreman Proxy) ...
Peter's user avatar
  • 802
0 votes
2 answers
134 views

Foreman: How to test if the deployment is on Bare Matal or in Libvirt?

I write a custom Kickstart as a Foreman provisioning template. One of my problems is that I haven't found a way to determine if the new host will be installed on a bare metal or on a Hypervisor. The @...
Peter's user avatar
  • 802
2 votes
2 answers
4k views

Foreman: How to test/render provisioning templates

I have installed Foreman in a test VM and I want to create some custom kickstart files. I understand that Foreman renders the templates during the host creation. But in case of an error, type, ...
Peter's user avatar
  • 802
2 votes
0 answers
308 views

Foreman trying to install bootloader on sda vs sdi/sdj software raid

I have 35 servers, most of them (~25ish) installed with no problems whatsoever, but the others are giving me grief about not being able to install the bootloader. I'm running Foreman 1.12.3 and CentOS ...
five0va's user avatar
  • 31
0 votes
1 answer
1k views

Puppet Run giving Error: failed to execute puppetrun: ERF12-4252

So as in the title, whenever I try to "Run Puppet" from Foreman I get the following error in the GUI. This was all due to, in the beginning a configuration error, where activemq needed to be set up. ...
Linuxbadger's user avatar
0 votes
1 answer
285 views

foreman puppet manage 100's of servers without logging in each device

I want to know is there a way to manage hundreds of servers in foreman. Let's say I have 100 machines. In each machine, OS is already installed and ssh is accessible. Now I want to install a ...
Kenshin's user avatar
  • 109
0 votes
1 answer
804 views

Manage debian servers packages with Foreman

Is there some way how i can manage packages in debian using foreman, for example when new updates are available it will tell me and i have to approve it first before installing... i checked Katello ...
Mazel Tov's user avatar
  • 166
0 votes
2 answers
914 views

Foreman on Centos 7: how to list hosts with Package X installed

We tried very hard to install and love Spacewalk without success. So we moved to Satellite 6, which on Centos 7 is the Foreman/Katello/Pulp/Candlepin combo. It's all set up fine, and we are using it ...
datakid's user avatar
  • 349
0 votes
0 answers
60 views

Unable to install foreman in ubuntu 12.04

I am trying to install foreman in ubuntu 12.04, After adding apt source and executing foreman-installer command giving me the below error. /usr/lib/ruby/vendor_ruby/kafo/puppet_module_parser.rb:21:in ...
Kenshin's user avatar
  • 109
0 votes
1 answer
2k views

Is it possible to have an isc-dhcp server and a foreman proxy on the same network ?

I'm trying to setup a foreman service in my homelab to replace my current manually managed KVM solution. As part of this, I'm trying to get deployment working and the DHCP and DNS proxies working. I'm ...
Anonymouslemming's user avatar
0 votes
0 answers
1k views

Can't run foreman-installer on CentOS 7

I'm trying to install foreman on CentOS 7 to work with Puppet 4.5. After performing all the steps from the manual I can't run foreman-installer. [vagrant@puppetmaster ~]$ sudo foreman-installer Could ...
Dziki_Jam's user avatar
1 vote
0 answers
813 views

Ubuntu 16.04, Dell R320 & preseed install via "The Foreman"

After lots of trial & error I've finally given up on the "SATA RAID" the R320 provides, and resorted to using AHCI mode. Partitioning/Provisioning work fine, but on the next boot the machine ...
tink's user avatar
  • 1,035
1 vote
1 answer
1k views

Creating new environments in Puppet with Foreman does not work

I am new to Puppet and Foreman. I have installed Puppet with Foreman on a Ubuntu LTS 14.04 Server. I connect some Clients and change the Hostgroups. That works all fine. But now I want to create a new ...
ANdyres's user avatar
  • 13
0 votes
2 answers
1k views

Can Foreman register a new host with Active Directory?

We use Foreman and Puppet to manage our Unix systems here, but the Kerberos infrastructure is implemented over Active Directory (because Exchange). Registering the newly bootsrapped hosts with AD is ...
Mikhail T.'s user avatar
  • 2,282
1 vote
1 answer
2k views

Foreman provisioning stuck in "Pending Installation" 409 Conflict on all installs

I'm testing Foreman but all the VMs I've created get stuck in a boot loop unless I manually disable PXE boot. In the UI i see the machine as "Pending Installation" even after the puppet agent reports ...
franko_v's user avatar
0 votes
2 answers
816 views

Retrieving Audit & Reports from Foreman

I have a Foreman 1.9.0 system using postgres as the back end on RHEL 7.2. A requirement has come up to be able to send the audit log and reports to an external entity in near real time (5-10 minute ...
Barry's user avatar
  • 23
1 vote
1 answer
454 views

soekris net6501, PXE, foreman & boot order

I'm trying to provision Ubuntu 16.04 to a soekris net6501 via foreman. The process itself actually now works quite well. One thing that doesn't quite do what we want is the step after provisioning. ...
tink's user avatar
  • 1,035
0 votes
1 answer
696 views

Foreman change autosign behavior

We have setup foreman in our infrastructure and started adding the first hosts. Now, after the setup is done, we'd like to change the default autosign behaviour we set with --puppet-autosign when ...
ChrJantz's user avatar
  • 101
3 votes
0 answers
581 views

puppet master is not executing autosign script

I have created a shell script to autosign Puppet certificate requests at /etc/puppet/autosign.sh and have configured this path in the puppet master's configuration. autosign = /etc/puppet/...
Nick G's user avatar
  • 31
9 votes
2 answers
902 views

Immutable Server model with Docker/Ansible vs. Ansible, Puppet, and Foreman in AWS?

We are running into an interesting argument and are falling into two camps. I'm interested in any particular problems with either idea or gotchas we might be missing. Really, anything that can help us ...
Doctor John Wick's user avatar
1 vote
0 answers
356 views

How to manage clusters with foreman/puppet

I need to deploy i.e. three distinct Zookeeper clusters. Each server inside a cluster should be configured to know what its ID is (and create a myid file). Also every Zookeeper server needs to know a ...
mmlac's user avatar
  • 113