gwmngilfen: no this is not reliable for that what I want. Because the owner can be set to someone else even though by default it uses the logged in user
gwmngilfen
as i said, a lot of template rendering isn;t handled by a logged in user - for example, with you PXE boot a host, there's no login information there, it's an anonymous call
s/with/when
what are you trying to achieve, perhaps we can help find another way
karimb joined the channel
numkem has quit
numkem joined the channel
aupadhye joined the channel
dendazen joined the channel
deu_ joined the channel
discr33t joined the channel
jcoufal joined the channel
jcalla joined the channel
guhcampos joined the channel
lpramuk has quit
MrBy
gwmngilfen: get the logged in username, who triggered the installation of a host within the template
idea behind is that, the users ssh pub key is automatically retrieved via post install, so after the installation only this user via ssh pub key can login
no password logins
gwmngilfen: continue talking tomorrow. Have to leave. But thanks a lot so far
gwmngilfen
MrBy: sure, i'm interested in chating more about it
AshishH has quit
AshishH joined the channel
lpramuk joined the channel
mheldebr joined the channel
davidmogar
we've found some interesting behaviour in foreman v2 API. When doing a PUT, some parameters absence have no effect but others clean the previous values. As an example, calling /api/hosts/:id without environment_id clears the previous value or change it to another one (production in our case)
acidrainfall joined the channel
any info about this?
dLobatog
davidmogar: what version?
davidmogar
dLobatog: 1.11
sjoeboo joined the channel
jfan has quit
lpramuk has quit
jfan joined the channel
rimma_ joined the channel
millerjl1701 joined the channel
karimb has quit
karimb joined the channel
lpramuk joined the channel
mhulsman joined the channel
rimma_
ehelms: yesterday you helped gkoch start the katello 3.0 upgrade. It ran for about 18 hours before failing. The first significant failure was foreman-rake db:migrate and the upgrade kept on. Then it failed and exited on impot_package_groups. Can we run these steps manually or do we need to rerun the installer?
sghai has quit
ehelms
rimma_: what was teh failure on the migrate step?
Singularity42
does anyone know if there is a way to merge two operating systems? I have windows 6.3 and 2012R2 server. I cant delete either cause they are being used, but I shouldnt have 2 OS's for the same OS
ehelms: I actually re-ran the db:migrate script earlier. The installer started everything and I stopped it all before re-running. It had the same result
ehelms
rimma_: gkoch would you be up for running some commands to help debug this?
TKersten has left the channel
rimma_
sure
ehelms
rimma_: open a console 'foreman-rake console'
rimma_
ok
ehelms
rimma_: once its up, run Katello::System.all.select { |system| system.foreman_host.nil? }
rimma_: actually: systems = Katello::System.all.select { |system| system.foreman_host.nil? }
Hello, I want to use foreman to host software repo's for a closed network. I believe that pulp is the way to do this, but I'm struggling to find documentation on how to configure the repositories and configure the hosts to use them. Where should I be looking?
rimma_: and the value of systems.select { |system| system.class.name == 'Katello::Hypervisor' }.length
S0NiC joined the channel
rimma_
ehelms: 30
ehelms: is that the same as systems.length?
ehelms: systems.length is 78
ehelms
rimma_: the 30 is the query I just gave you containing Hypervisor?
rimma_
yes
S0NiC_ has quit
ehelms
rimma_: k, give me a few minutes to look over some code
rimma_
thanks
ehelms
rimma_: in theory, prior migrations shouldn't have ended up with systems in this state
rimma_
that doesn't seem promising
sjagtap joined the channel
bacula811 joined the channel
bacula811
hi, iam trying to install foreman and puppet with format but i want to install them on custom directory (for exemple on /home), do you know if it's possible ?
ehelms
rimma_: would be able to generate and email me a foreman-debug ?
rimma_
i will do it
Dominic
bacula811: only from source, which I'd only recommend if you're familiar with their full configuration by hand
mmello joined the channel
MikeLupe joined the channel
bacula811
ok thanks Dominic, I see severals configuration options on the foreman manuel. I'll try and hope not to forget arguments :p
blahblahblah joined the channel
blahblahblah
morgen
Narolad
Guten morgen, blahblahblah
blahblahblah
how goes it to you
ki0_ joined the channel
Narolad
Trying to see if I can find some simple how-tos for foreman so I can better understand how all the moving parts work with each other.
You?
blahblahblah
eh
ok i suppose.. documenting
gwmngilfen
Narolad: feel free to ask away if you can't make sense of something
gwmngilfen *really* needs to start recording the Beginner's Guide
blahblahblah
gwmngilfen: yeah, that'd be really helpful :)
gwmngilfen
i've been talking about it for over a year
blahblahblah
I've got 13 pages of bash cli instructions for installing this
basically copy/paste into a shell to make it work with centos 7.2
gwmngilfen
that sounds like a lot ;)
blahblahblah
including all the SELinux context, iptables, etc... changes needed
Narolad
Part of my issue is just trying to bounce around a few different things. I need to figure out the best way to deploy smart-proxies on windows. Looks like I need to compile the ruby module but not certain if I need to compile it on each host or not.
blahblahblah
yeah, but this is to make it work in a non-internet connected system
:)
Narolad
Also trying to see about adding existing hosts but don't see where I can change the deployment from Bare Metal to "Unmanaged"
pbbunny0801 joined the channel
ki0_ has quit
Aaand, I'd like to add VMware as a compute resource, but not sure where to populate providers yet.
gwmngilfen
easiest way to add unmanaged hosts is just to run puppet on them
jyejare has quit
when foreman gets the facts or reports from them, it'll create an unmanaged host
Narolad
Puppet should be running every 30 minutes by default though.
gwmngilfen
this is assuming you have reporting and/or the enc set up ofc
Narolad
Which I may not....let's check out that rabbit hole...
gwmngilfen
lemme find you a really short video ;)
Narolad
Sure!
I do really like how most pages have direct links to documentation though.