ohadlevy: I was reading the conversation you had with IdoKaplan some days ago; he mentioned that his Smart Proxy shows that "TFTP Server" is false. Mine does the same thing, but I was confused by it because it's clearly working just fine: https://i.imgur.com/4afRdEE.png
Poornima joined the channel
virusuy joined the channel
optiz0r joined the channel
ranjank joined the channel
hprakash joined the channel
amitKarsale joined the channel
felskrone joined the channel
kavita joined the channel
abhaykadam joined the channel
abhaykadam has quit
m451 joined the channel
abhaykadam joined the channel
swapab joined the channel
mccun934 has quit
lpramuk joined the channel
mhulsman joined the channel
sghai joined the channel
attachmentgenie joined the channel
attachmentgenie has quit
amitKarsale has quit
jyejare joined the channel
Philambdo joined the channel
dlezz joined the channel
abuzze joined the channel
mccun934 joined the channel
malevolent joined the channel
ohadlevy
RulerOf: aha, i think i understand the miss understanding:) i was assuming he means the proxy config files,
RulerOf: thats actually a bug in displaying the data, as the tftp proxy has the ability to override its name from configuration, so if its not set, then its shows as false.
RulerOf: would you mind opening an issue for that?
amitKarsale joined the channel
bkorren joined the channel
abuzze has quit
shimshtein joined the channel
KAM joined the channel
smeyer joined the channel
rcernin joined the channel
tstrachota joined the channel
inecas joined the channel
mbacovsk joined the channel
agoldboi joined the channel
outi joined the channel
Giridhar joined the channel
mhulan joined the channel
aruzicka joined the channel
pondrejk joined the channel
tremble joined the channel
gauz joined the channel
mhulsman joined the channel
rplevka joined the channel
agoldboi has left the channel
sjagtap joined the channel
witlessb joined the channel
lero joined the channel
toi joined the channel
shimshtein has quit
Dw_Sn joined the channel
aruzicka has quit
shimshtein joined the channel
aruzicka joined the channel
Guest29569 has quit
hardbot joined the channel
gsteiger joined the channel
abuzze joined the channel
abuzze has quit
dron joined the channel
shimshtein has quit
bagasse joined the channel
Chair joined the channel
shimshtein joined the channel
spidernik84 joined the channel
fbrychta joined the channel
sean797 joined the channel
spidernik84
hello, I'm attempting to install a foreman_proxy with dhcp/tftp/discovery via puppet and hiera. I succeeded in installing dhcp and tftp but cannot find a way to deploy the discovery part. This is the yaml http://pastebin.com/34gTg2WM
will the package take care of enabling the plugin on its own? In that case it might well be a solution
mmoll
maybe the discovery proxy plugin needs to get nabled first
dLobatog
spidernik84: it's 2 steps, install the package and then enable it on /etc/foreman-proxy/settings.d
mmoll
spidernik84: see oreman_proxy::plugin::discovery
dLobatog
spidernik84: actually no need to enable it.. just 'yum install rubygem-smart_proxy_discovery ' installs it and /etc/foreman-proxy/settings.d/discovery.yml is enabled (you can configure the port and so forth if you need to)
(I just did it)
spidernik84
cool. Thanks! I'll experiment
dLobatog
it'd be no-frills, I'll be around though if you have any issues with it
devmodem joined the channel
spidernik84
thanks. I have another question regarding discovery: The guide suggests to point the pxe file to the proxy by hardcoding the url of the proxy itself. Ok, but what if I have 10 proxies? There's no <proxy_url> variable I can use, afaik...
lpramuk has quit
in case of such a limitation it would be ok to use foreman as the discovery point and just skip the discovery proxies.
dLobatog
spidernik84: no need for that, foreman automatically deploys the templates to each proxy with their hostnames
"In case Smart Proxy Discovery plugin is configured to forward communication, configure the APPEND line in the following way: APPEND … proxy.url=https://FOREMAN_PROXY_INSTANCE:8443 proxy.type=proxy"
FOREMAN_PROXY_INSTANCE is not a variable, right?
So it needs some static value. Or am I missing something?
dLobatog
spidernik84: ah sorry, yeah for that I think you need to use a static value - ideally some URL that's available from all your subnets if you have many, so you can use discovery everywhere
spidernik84
like, a url that resolves dinamically to the local proxy depending on what resolver replies?
dLobatog
spidernik84: for the actual PXE templates that are used on provisioning, 'foreman_url('provision')' is used instead. This will query the Host interface set for TFTP, check what proxies are in it's subnet, and use that URL for actual provisioning
spidernik84
so the FOREMAN_PROXY_INSTANCE is only to download the image and register. At this point I could just skip the discovery proxies altogether.
shimshtein has quit
dLobatog
spidernik84: yeah, that's so any host you boot with that in the proxy subnet picks up that discovery image by default when booting via PXE and registers to foreman
spidernik84 has quit
!note spidernik84: you can skip the discovery proxies if hosts in all your subnets would be able to reach Foreman to download the discovery image, yeah
nudnik
okay then :)
rashkinadze joined the channel
dhlavacd joined the channel
shimshtein joined the channel
spidernik84 joined the channel
veduardo joined the channel
dhlavacd has quit
abuzze joined the channel
rplevka has quit
abuzze has quit
jindraj1 joined the channel
lpramuk joined the channel
ZuZuD has quit
spidernik84
dLobatog, found the way to configure discovery via puppet. I forgot to include the discovery class: "classes: [foreman_proxy, 'foreman_proxy::plugin::discovery']". foreman_proxy was there already. Now it took care of everything: package, image download and setup. Thanks for the help