Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [foreman]

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

0
votes
0answers
17 views

configure foreman smart proxy

I want to configure foreman smart proxy to connect puppet agents to puppetserver. I get an error when trying to connect an agent to a proxy by the following command. Command puppet agent --test --...
0
votes
0answers
36 views

Foreman proxy realm_ad failing to set computer password

Realm_ad is intermittently failing to set the computer password when creating a host account in active directory. If the kerberos requests that are made during the process are handled by our first ...
1
vote
0answers
103 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....
0
votes
0answers
49 views

Deploying VM from a VM template is extremely slow in Foreman 1.14.3

I'm trying to deploy a new Centos7 VM through Foreman VmWare compute resource and using user data template for OS customization. Everything is working fine but the initialization process is extremely ...
0
votes
2answers
77 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 ...
2
votes
0answers
23 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....
0
votes
0answers
35 views

Foreman-Katello: Installation media has no entries

I am used to Red Hat Satellite where I synchronize the relevant Kickstart repos and the installation medias are populated. Now I have to use Katello (3.6) and Foremant (1.17) and I have synchronized ...
1
vote
1answer
54 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 ...
0
votes
0answers
88 views

Use of Foreman with Puppet's hiera_include

I am evaluating Foreman (version 1.16), and am wondering whether the following observations about its capabilities for integrating with Puppet are correct: Foreman can import Puppet class definitions....
0
votes
0answers
40 views

foreman resolves FQDN to 127.0.0.1

I've managed to install Foreman 1.16 on CentOS and add additional DHCP & DNS services to my smartproxy. From there on I could, quite easily, create a host and automatically get an ip-address from ...
1
vote
1answer
283 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 ...
0
votes
0answers
83 views

Foreman set network adapter to DHCP vmware template

All, I have successfully deployed a Windows VM template image using Foreman with the below network configuration in the user_data template: nicSettingMap: <% @host.interfaces.each do |interface| %...
0
votes
1answer
556 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 --...
2
votes
1answer
272 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 *************:...
1
vote
0answers
314 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). ...
1
vote
1answer
233 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 ...
0
votes
2answers
640 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 ...
0
votes
1answer
497 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 ...
1
vote
1answer
567 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 ...
0
votes
1answer
290 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 ...
3
votes
2answers
951 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 ...
0
votes
1answer
138 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-...
0
votes
1answer
416 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 ...
0
votes
1answer
172 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 ...
3
votes
1answer
2k 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 ...
0
votes
2answers
80 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 ...
1
vote
2answers
1k 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, ...
0
votes
1answer
412 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 ...
1
vote
0answers
379 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) ...
0
votes
2answers
69 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 @...
1
vote
2answers
2k 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, ...
2
votes
0answers
140 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 ...
0
votes
1answer
802 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. ...
0
votes
1answer
217 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 ...
0
votes
1answer
544 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 ...
0
votes
1answer
239 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 ...
0
votes
0answers
46 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 ...
0
votes
1answer
766 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 ...
0
votes
0answers
390 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 ...
1
vote
0answers
664 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 ...
1
vote
1answer
616 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 ...
0
votes
2answers
519 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 ...
1
vote
1answer
988 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 ...
0
votes
2answers
317 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 ...
1
vote
1answer
264 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. ...
0
votes
1answer
468 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 ...
3
votes
0answers
319 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/...
9
votes
2answers
775 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 ...
1
vote
0answers
237 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 ...
1
vote
0answers
448 views

foreman, DHCP smart proxy, network set-up

How would I go about setting foreman up so it hands out a lease to any machine I connect to one of its interfaces using a private IP in the 192.168-range during provisioning, but to supply the client ...