hi all, is there any way to search for hosts with duplicate interfaces that isn't `GET /api/hosts/:host_id/interfaces` for each host?
searching by domain/subnet only returns the one valid interface for each host
jtomasek has quit
mmello joined the channel
aupadhye has quit
rauchrob joined the channel
jmatthews_ has quit
mccun934 has quit
toi joined the channel
mccun934 joined the channel
rcernin has quit
DarwinSurvivor joined the channel
mhcurlee
Any Katello devs in the room? I have a question about Foreman hostgoups and node classification.
jsherrill
mhcurlee: more of a foreman question, but feel free to ask
Philambdo joined the channel
mhcurlee
Thanks.... So here is my question. After the host is provisioned, is it possible to change the hostgroup just to re-classify the node from a Puppet perspective. I have tested this and it works. I only completed the needed fields (i.e content view, puppet env, and classes).
discr33t_
mhcurlee: hosts can move between host groups at will. what happens to a host after the change is made greatly depends on how your host groups are configured; in this case with puppet classes being assigned and possibly even parameters
radiocats joined the channel
mhcurlee
cool. My main concern is all of the fields I did not utilize (i.e. build-centric fields)
discr33t_
mhcurlee: what are some examples? I am assuming you filled in fields like architecture, domain, etc
mhcurlee
discr33t_: that is correct. I only completed the fields required from a CV and Puppet perspective.
discr33t_
mhcurlee: gotcha. you shouldn't see any issues. the main things to watch i believe are what puppet classes are applied and what the parameters are.
radiocats joined the channel
also remember anything that is overridden for a host should remain overridden for the host even with moving between host groups if there are the same options available
mhcurlee
My use-case is supporting servers/applications that drift from the hostgroup they were built from. For example, application centric changes such as additional iptable rules, packages, etc..
blomquisg is now known as blomquisg_gone
discr33t_
mhcurlee: is there a reason the hosts aren't originally built in the proper host group?
aairey has quit
i ask because this might be something that can be solved by looking at the host group structure you are using. . .though i don't know your use cases and constraints
mhcurlee
discr33t_: That's a good point. I might go that route of trying to create hostgroups for each new application/server. I can't predict how or if a server will drift from the group (some will, some will not). I am starting to think I should play it safe and plan for specific hostgorups at build-time.
JonnyV joined the channel
discr33t_
mhcurlee: you can curtail some of that if you are using hiera and loosely structure your host group structure based on your hiera hierarchy
veduardo joined the channel
kkkk joined the channel
kkkk is now known as Guest52914
Guest52914
I am trying to find out when I click "build" foreman will copy these files from where Ubuntu-16.04-x86_64-linux Ubuntu-16.04-x86_64-initrd.gz
rcernin joined the channel
cyrus_mc_2 joined the channel
cyrus_mc_2 has left the channel
brandon_
from the repo you setup in "installation media"
Guest52914
that is what I thought thanks...
ubuntu 16.04 keeps getting kernel panic
mhcurlee
discr33t_: Thanks for the info. We are running Sat6 in production. I need to find out if hiera is supported (even with a simple yaml backend) on the Sat server. The package is installed, so I would think so.
jtomasek joined the channel
discr33t_
mhcurlee: are you running some type of all in one? or is your puppet infrastructure separated from your foreman/sat6 infrastructure?
jmontleon joined the channel
mhcurlee
discr33t_: We are running a single satellite 6 server (no external Puppet master/CA)
salman
hi all. I'm using foreman and katello 3.0-rc4 here. due to an issue with katello 3.0rc3, I had some froze tasks/jobs which i had to force unlock. now, when I try to remove a couple of test hosts, I get the following error:
ther're a couple more recent ones. trying to find the number
discr33t_
mhcurlee: i don't believe sat6 has any issues with using hiera with puppet. i do know that you should be moving smart-class parameters and smart-variables out of foreman and into hiera if you plan on using it
salman
eh, I can't find it now, but I know there are two or three recent'ish feature requests for something like that, kireevco
ibravo joined the channel
Guest52914 has quit
ibravo has quit
ibravo joined the channel
rcernin has quit
george__ joined the channel
Philambdo has quit
jsherrill
salman: what was the error with the hosts?
danman joined the channel
george__
guys - would you know if there will be any differences between Satellite 6.2 and Katello 3.0?
pbbunny0801 joined the channel
ibravo has quit
ibravo joined the channel
dr3 joined the channel
dr3
hello. I am recovering my environment from a puppet master cert expiration. All agents are fixed but something is still broke on foreman. I am not getting any reports. I already genreated new ssldir for the puppet agent on foreman. Any thoughts or places to start looking?
ibravo has quit
gigglesworth_ joined the channel
gigglesworth_
Hi all, I'm upgrading Foreman from 1.8.4 to 1.9.x (and eventually to 1.10, 1.11...). I'm at http://theforeman.org/manuals/1.9/index.html#3.... , "Step 3 (A) - Database migration and cleanup", and `foreman-rake db:migrate` fails with the error `Gem loading error: cannot load such file -- audited/activerecord`. Am I missing a gem? http://pastebin.com/8YuxS5hY
george__: satellite 6.2 will end up containing more bug fixes than 3.0
jaboot
Hi! I'm having a bit of a hard time with the provisioning side of things, when I provision a new server with 1 interface everything works perfect but when I provision another host with 2 interfaces the server seems to get dhcp for the correct interface (2nd) but it doesn't do a tftp boot, keeps telling me tftp open timeout. Any ideas?
jsherrill
other than that, very similar
jaboot
The host with 2 interfaces doesn't even try to fetch the boot files.
they were stuck in a bad state in rc3, I had to force unlock the tasks. did an upgrade to rc4, but now attempting to re-register, or removing the hosts from within the foreman ui thorws the candlepin error
all new hosts register fine, no problems since rc4
jsherrill
salman: okay good to hear, so its just data cleanup from RC3
salman: i may need to write a few lines of ruby code to clean those up, give me a few
I have a general question about upgrading Foreman. The manual at http://theforeman.org/manuals/1.11/index.html#s... says that commands like `foreman-rake db:migrate` should produce no errors or output. Is that true for you? I've updated Foreman from 1.4 to 1.9, and that command has always produced some sort of output.
salman
trying this now, jsherrill
jtomasek joined the channel
aairey joined the channel
jsherrill: I get a nomethoderror: NoMethodError: undefined method `destroy!' for #<Host::Managed::ActiveRecord_Relation:0x000000099c47b8> ( http://pastebin.com/6RMMj6fH )
mmoll
gigglesworth_: did you jump from 1.4 to 1.9 at once? could you pastebin the actual error?
jsherrill
salman: ahh shoot one sec
mmoll
gigglesworth_: oh, or is it about the output as such?
jsherrill
salman: refresh (changed it to destroy)
salman
tried that as well. it needs an argument passed
I wasn't sure what that should be
blomquisg_gone is now known as blomquisg
mmoll
thinking about it, I'd even _expect_ output also on a successful run for the respective statuses
hey all, i was wondering if anyone had any information on how to find the 'content-source-id' used for creating hostgroups via hammer?
i know the main katello server itself is 1 and obviously the order created would make it somewhat simple to decipher which one is 2 or 3 or 4, but I see no way to view this parameter for final verification other than going to the GUI.
bbraunstein joined the channel
dLobatog has quit
salman
jsherrill_afk: thanks for pointing me in the right direction! I think it's fixed, now. passing host.destroy() the host id turned up the table in foreman db where the record was stuck. deleting from that table, and then running destroy again removed the host
bbraunstein
Foreman have support for Puppet 4.4 ?
The documentation says the installer does not
ibravo has quit
but I want to be sure packages/source do
brandon
1.12 will
salman
and I'm able to re-register the host with katello
brandon
it currently does not
bbraunstein
Ah, okay. Thanks
Do you know when Foreman is tentatively looking to release 1.12 ?
DarwinSurvivor has quit
joshhhh has quit
brandon
there is a mailing list post somewhere... one sec
gigglesworth_
mmoll : Right, I'm just asking about the output in general. There's no specific error. I'm just confused about the documentation.