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
26 views

How to change the URL for Web UI Foreman?

Hi Can I change the url link for the web UI interface? I am using Foreman 3.9 versions. I try to change url with foreman-installer --foreman-url but I get error with ssl-certificate problem. Changing ...
0 votes
0 answers
187 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 ...
1 vote
1 answer
2k views

Foreman errors out when provisioning using an ms-dhcp/dns smart proxy

Im running foreman, with smart-proxy on a win2k12 r2 box running ad/dhcp/dns. When i try to provision smart proxy dumps this to the logs: Changed the current scope context to 192.168.20.0 scope. ...
3 votes
1 answer
3k views

Puppet unable to send facts to Foreman - "tlsv1 alert unknown ca"

I recently updated Katello to 2.2 and Foreman now to 1.8.1, so it appears somewhere in the upgrade that Puppet now cannot contact Foreman: > [root@virt5 ~]# puppet agent --test info: > ...
2 votes
1 answer
2k views

Foreman-Installer change certificate

Looking to install Foreman for a puppet deployment in my environment. I ran foreman-installer with defaults at first and didn't care for the SSL certificates and URLs being server01.example.com I ...
0 votes
2 answers
2k views

Puppet and The Foreman: Can not import classes

I followed the Digitalocean-Tutorial to set up Puppet and The Foreman. At the moment I'm on the point Add NTP Module To Foreman - I would love to import the class to the foreman Click on the ...
0 votes
2 answers
1k 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 ...
1 vote
3 answers
10k views

Foreman displays a server as "out of sync", what could be the reason and what is the right way to troubleshoot such an issue?

There's a puppet server in the company I work for with Foreman installed. There are around 200 Linux machines which are being managed by the Puppet server. When looking in the Foreman GUI, most ...
1 vote
1 answer
561 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 ...
3 votes
0 answers
626 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/...
2 votes
1 answer
2k views

Server provisioning without PXE

I have a lot of servers in different data centers which should be reinstalled from time to time. I am familiar with Puppet so I am able to configure the O/S after it boots up but I can't perform an ...
0 votes
2 answers
151 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 ...
1 vote
1 answer
1k 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 ...
0 votes
1 answer
87 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 (...
1 vote
0 answers
97 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 ...
4 votes
2 answers
4k views

The Foreman Provisioning Preseed default finish wget erroring

im new to foreman and puppet. I'm not sure what I changed but now my provisioning templates aren't running. Ubuntu installation fails with exit code 8 with the following screen: i found out that URL ...
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 ...
0 votes
2 answers
3k views

Unable to install foreman-installer on CentOS 6.6, what could be the reason?

I'm trying to install Puppet 3.x using Foreman-installer. I've following this guide after doing the following steps: Installed a clean installation of CentOS 6.6. Added foreman and puppet repos. Ran ...
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 *************:...
1 vote
0 answers
2k 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://[email protected]....
4 votes
2 answers
5k 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
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 ...
2 votes
0 answers
151 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....
2 votes
2 answers
2k views

How to tell if plugin were added to a Foreman installation

I am planning a migration from an old Foreman install to a new version and a new server. I wish to know how can I find out if any plugins were added to the old installation and so that I can install ...
2 votes
1 answer
581 views

Puppet/Foreman: Nodes are out of sync

I got a little problem: I installed puppet agent on some nodes. I'm managing the nodes with foreman. Now some nodes are "out of sync" until I run puppet agent -t on the node manually. The service is ...
1 vote
1 answer
186 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 ...
1 vote
1 answer
1k 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 ...
1 vote
1 answer
487 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. ...
3 votes
3 answers
5k views

Deploy a disk image on bare-metal

I try to understand Foreman and other deployment/provisioning systems, and how to use them best. Granted, installing the OS with some kind of prepared answers and scripts - Kickstart, AutoYAST etc. - ...
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 --...
1 vote
0 answers
782 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). ...
0 votes
1 answer
661 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
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 ...
0 votes
1 answer
995 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
0 answers
442 views

Foreman and puppet notify resource in node report status

We're using Puppet + Foreman to monitor changes in environment by checking custom facts. For example, whenever a custom fact equals 'true' puppet calls the Notify resource with a message sent to the ...
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, ...
2 votes
1 answer
560 views

Foreman smart-proxy fails to start on Windows (Server 2012 R2)

I recently discovered Foreman and installed a 1.9.1 release to help me manage and provision my servers. The foreman server is installed on the same machine of my puppet server. Now, I want to use a ...
0 votes
1 answer
557 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 ...
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 ...
0 votes
2 answers
889 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 ...
0 votes
1 answer
221 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
1 answer
851 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
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 ...
4 votes
1 answer
1k views

Satellite 6's puppet is unable to find the hiera data sources

Using Satellite 6 which comes with Foreman 1.6.0.53. By default, Puppetlabs' documentation states that hiera configuration should be in $config/hiera.yaml. # puppet config print confdir hiera_config ...
0 votes
1 answer
2k 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
1 answer
631 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 ...
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 ...
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 ...
0 votes
2 answers
221 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
0 answers
931 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) ...