Comments on: Bare metal and Virtual Machine Provisioning through Foreman Server https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/ Wed, 18 Dec 2019 12:15:18 +0000 hourly 1 By: Sergio G https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-18023 Wed, 18 Dec 2019 12:15:18 +0000 http://www.linuxtechi.com/?p=4760#comment-18023 In reply to konodioda.

Awesome!!! thank you!! it works!

]]>
By: konodioda https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-7780 Sat, 02 Mar 2019 00:51:52 +0000 http://www.linuxtechi.com/?p=4760#comment-7780 In reply to SHG.

Install foreman using this command “sudo foreman-installer –enable-foreman-plugin-setup”. Apparently you need the plugin setup to have the provision setup tab.

]]>
By: SHG https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-6900 Sun, 23 Dec 2018 17:12:45 +0000 http://www.linuxtechi.com/?p=4760#comment-6900 In reply to Prem.

I have the same inconvenience. My lab setup (foreman 1.20) has two NICs, one of them is for NAT so I can download packages, and the last one is for local network. So far I can not configure provisioning over PXE. Some help I’ll appreciate.

]]>
By: Prem https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-4376 Tue, 08 May 2018 13:28:53 +0000 http://www.linuxtechi.com/?p=4760#comment-4376 Hi Pradeep,
Awesome article ! In Foreman 1.16.1 with Katello 3.5. I am not seeing any Provisioning Setup Tab in Infrastructure. Is that changed now in new version. Do you have any article for newer version.

]]>
By: santosh Kumar https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-4146 Wed, 18 Apr 2018 11:11:02 +0000 http://www.linuxtechi.com/?p=4760#comment-4146 Hi Pradeep,

Followed all steps, in /var/log/messages it appears that DHCP process is complete. However my machine is never installed with OS on PXE.

Logs:

Apr 18 21:49:36 foreman kernel: device enp4s0f0 left promiscuous mode
Apr 18 21:49:43 foreman kernel: device enp4s0f0 entered promiscuous mode
Apr 18 21:53:23 foreman dhcpd: DHCPDISCOVER from a4:c6:4f:ca:5d:bd via enp4s0f0
Apr 18 21:53:23 foreman dhcpd: none: host unknown.
Apr 18 21:53:23 foreman dhcpd: DHCPOFFER on 10.100.112.68 to a4:c6:4f:ca:5d:bd via enp4s0f0
Apr 18 21:53:25 foreman dhcpd: Dynamic and static leases present for 10.100.112.68.
Apr 18 21:53:25 foreman dhcpd: Remove host declaration jaime-smithee.controller or remove 10.100.112.68
Apr 18 21:53:25 foreman dhcpd: from the dynamic address pool for 10.100.112.0/24
Apr 18 21:53:25 foreman dhcpd: DHCPREQUEST for 10.100.112.68 (10.100.112.61) from a4:c6:4f:ca:5d:bd via enp4s0f0
Apr 18 21:53:25 foreman dhcpd: DHCPACK on 10.100.112.68 to a4:c6:4f:ca:5d:bd via enp4s0f0
Apr 18 21:53:25 foreman in.tftpd[32856]: RRQ from 10.100.112.68 filename pxelinux.0
Apr 18 21:53:25 foreman in.tftpd[32856]: tftp: client does not accept options
Apr 18 21:53:25 foreman in.tftpd[32857]: RRQ from 10.100.112.68 filename pxelinux.0
Apr 18 21:53:25 foreman in.tftpd[32857]: Client 10.100.112.68 finished pxelinux.0
Apr 18 21:53:25 foreman in.tftpd[32858]: RRQ from 10.100.112.68 filename pxelinux.cfg/0a84332b-8bef-e611-8c0b-f09838ae657a
Apr 18 21:53:25 foreman in.tftpd[32858]: Client 10.100.112.68 File not found pxelinux.cfg/0a84332b-8bef-e611-8c0b-f09838ae657a
Apr 18 21:53:25 foreman in.tftpd[32859]: RRQ from 10.100.112.68 filename pxelinux.cfg/01-a4-c6-4f-ca-5d-bd
Apr 18 21:53:25 foreman in.tftpd[32859]: Client 10.100.112.68 finished pxelinux.cfg/01-a4-c6-4f-ca-5d-bd
Apr 18 21:53:25 foreman in.tftpd[32860]: RRQ from 10.100.112.68 filename boot/CentOS-7.4.1708-x86_64-vmlinuz
Apr 18 21:53:25 foreman in.tftpd[32860]: Client 10.100.112.68 finished boot/CentOS-7.4.1708-x86_64-vmlinuz
Apr 18 21:53:25 foreman in.tftpd[32861]: RRQ from 10.100.112.68 filename boot/CentOS-7.4.1708-x86_64-initrd.img
Apr 18 21:53:26 foreman in.tftpd[32861]: Client 10.100.112.68 finished boot/CentOS-7.4.1708-x86_64-initrd.img
Apr 18 21:54:22 foreman dhcpd: DHCPDISCOVER from a4:c6:4f:ca:5d:bd via enp4s0f0
Apr 18 21:54:22 foreman dhcpd: DHCPOFFER on 10.100.112.68 to a4:c6:4f:ca:5d:bd via enp4s0f0
Apr 18 21:54:22 foreman dhcpd: Dynamic and static leases present for 10.100.112.68.
Apr 18 21:54:22 foreman dhcpd: Remove host declaration jaime-smithee.controller or remove 10.100.112.68
Apr 18 21:54:22 foreman dhcpd: from the dynamic address pool for 10.100.112.0/24
Apr 18 21:54:22 foreman dhcpd: DHCPREQUEST for 10.100.112.68 (10.100.112.61) from a4:c6:4f:ca:5d:bd via enp4s0f0
Apr 18 21:54:22 foreman dhcpd: DHCPACK on 10.100.112.68 to a4:c6:4f:ca:5d:bd via enp4s0f0
Apr 18 21:54:26 foreman smart-proxy: localhost – – [18/Apr/2018:21:54:24 +0530] “DELETE /puppet/ca/jaime-smithee.controller HTTP/1.1” 404 77
Apr 18 21:54:26 foreman smart-proxy: – -> /puppet/ca/jaime-smithee.controller
Apr 18 21:54:26 foreman smart-proxy: localhost – – [18/Apr/2018:21:54:26 +0530] “POST /puppet/ca/autosign/jaime-smithee.controller HTTP/1.1” 200 0
Apr 18 21:54:26 foreman smart-proxy: – -> /puppet/ca/autosign/jaime-smithee.controller

Could you please help.

]]>
By: Ranjeet https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-3031 Wed, 17 Jan 2018 12:44:04 +0000 http://www.linuxtechi.com/?p=4760#comment-3031 Nice article. Sir how to install Openstack Newton using FOREMAN .

]]>
By: Sunny Bhatnagar https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-2706 Thu, 21 Dec 2017 16:33:33 +0000 http://www.linuxtechi.com/?p=4760#comment-2706 Hello All, I followed all the steps but my host is not booting up. Please help…
My node is showing below mentioned error:

Filename: node1.pxe
tftp://10.0.2.4/node1.pxe… Permission denied

]]>
By: Phani https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-2084 Mon, 13 Nov 2017 18:05:14 +0000 http://www.linuxtechi.com/?p=4760#comment-2084 Hey Pradeep .. Seems that I need to include a user defined template for puppet agent scripts. Can you help me please

]]>
By: Phani https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-2010 Thu, 09 Nov 2017 19:07:14 +0000 http://www.linuxtechi.com/?p=4760#comment-2010 Small correction in Question 3 : Also I have given the IP in host creation process as 136.123.24.123 but after VM created with ip 136.123.24.12 not sure why it got changed . Please help me on this.

]]>
By: Phani https://www.linuxtechi.com/bare-metal-provisioning-through-foreman-server/#comment-2009 Thu, 09 Nov 2017 19:05:24 +0000 http://www.linuxtechi.com/?p=4760#comment-2009 Hey Pradeep .

I dont have dhcp server in my environment. So I have given my own IP and defined my own template with user data and cloud init ( image based provision without ssh and I have one template template in vsphere. I gave the path of the location. So VM got created and i can login to VM also.
Question 1 : But in foreman still the status of the host is “Pending for installation” not sure why its not showing that installation got completed.

Question 2. In your case you ahve 5 templates are there. My question is where is the Centos ISO is location? will it be on foreman machine or Vsphere? or Its template will take care of the ISO part or will it downloaded and installed from internet?

Question 3 : Also I ahve given the in host creation process as 136.123.24.123 but after VM created with ip 136.123.24.123 not sure why it got changed . Please help me on this.

I really appreciated your supported . Thanks in advance please help me when you have some time

]]>