#theforeman

/

      • kbidarka joined the channel
      • metalcated has quit
      • metalcated joined the channel
      • mccun934 has quit
      • kpease joined the channel
      • dcaplan_ joined the channel
      • renzo has quit
      • lucasdiedrich_ joined the channel
      • jomitsch is now known as jomitsch-afk
      • dcaplan_ has quit
      • dcaplan__ joined the channel
      • fyxx is now known as monpoulpe
      • numkem has quit
      • lero
        ritchiek: so it was actually another (dead) host with the same mac address
      • :)
      • xingchao joined the channel
      • ritchiek
        coolness
      • I always love/hate networking wierdness
      • xingchao has quit
      • lero
        but it's fun that foreman checks the mac address also no?
      • because even their ip were different
      • ritchiek
        DHCP is layer 2, MAC's matter :)
      • lero
        that's true :)
      • do you guys know if this will make to 1.15.0?
      • it's really useful to clean up stuff like that (dead hosts that weren't deleted)
      • mbacovsk joined the channel
      • _KaszpiR_
        windows hosts does not always respond to ping
      • lucasdiedrich_ has quit
      • numkem joined the channel
      • which is fun L/
      • lero
        _KaszpiR_: glad no windows here <3
      • dekimsey
        Is it possible from within the ERB template to query and get facts from other hosts?
      • numkem has quit
      • Something akin to the puppet foreman() function I see from puppet-foreman.
      • jackNemrod joined the channel
      • Philambdo joined the channel
      • mccun934 joined the channel
      • attachmentgenie joined the channel
      • lpramuk joined the channel
      • dcaplan__ has quit
      • Philambdo has quit
      • mccun934 has quit
      • xingchao joined the channel
      • xingchao has quit
      • kbidarka has quit
      • jsherrill is now known as jsherrill_afk
      • omaciel has quit
      • ohples__ is now known as ohples_
      • ritchiek has left the channel
      • sjoerger has quit
      • joshbenner has quit
      • attachmentgenie has quit
      • attachmentgenie joined the channel
      • jcalla has quit
      • blomquisg is now known as blomquisg_gone
      • ichimonji10 has quit
      • lero has quit
      • Capesteve has quit
      • grahamh has quit
      • attachmentgenie has quit
      • rashkinadze joined the channel
      • nagoor has quit
      • witlessb has quit
      • g-lim joined the channel
      • g-lim
        Our support team is thinking about rolling back to spacewalk since we are not getting reports from katello
      • xingchao joined the channel
      • especially for CentOS
      • we can't determine which systems need package updates since centos don't have errata information
      • fyxx joined the channel
      • monpoulpe has quit
      • xingchao has quit
      • monpoulpe joined the channel
      • fyxx has quit
      • walterheck has quit
      • gkoch_ joined the channel
      • xingchao joined the channel
      • xingchao has quit
      • mmello has quit
      • jomitsch-afk is now known as jomitsch
      • mmello joined the channel
      • jomitsch is now known as jomitsch-afk
      • london01_ joined the channel
      • london01_
        Hi everyone. I was wondering if you maybe able to help me. I am using curl to get a list of all discovered hosts but this is onlt retrieving hosts from the first page from the url
      • I am doing the following curl: curl -s -H "Content-Type: application/json" -k -u <username> https://<foreman url>:443/api/v2/discovered_hosts
      • do you know how I get a list of all discovered hosts from all pages? the above only gets results for page 1
      • akofink has quit
      • mmello has quit
      • mmoll
        london01_: append "?per_page=99999"
      • akofink joined the channel
      • g-lim: as you correctly state, centos doesn't provide this data... iirc there was some import script that taps the same sources as the similar spacewalk script does, but no idea, if that's still usable
      • g-lim
        mmoll: our operation guys are struggling with katello
      • mmoll: we are using ssh to patch our systems since katello agent patching doesn't work with centos.
      • although Katello 3.3 has a new "package" feature which can be leveraged with Katello Agent
      • but overall, reporting is lacking
      • mmoll
        g-lim: I don't use katello myself (as it doesn't support Debian/Ubuntu/FreeBSD), so no idea, sorry... maybe try the foreman-users list to reach out to other users, I'm pretty sure, you're not the only one seeing that problem
      • london01_
        mmoll thanks alot for your help :-)
      • Anderath joined the channel
      • mmoll I have tried this and I get the following error returned ""error": {"message":"Host::Discovered#memory delegated to discovery_attribute_set.memory, but discovery_attribute_set is nil"
      • do you happen to know what that means?
      • mmoll
        london01_: which version of foreman and discovery?
      • grahamh joined the channel
      • london01_: also, is foreman_default_hostgroup installed?
      • london01_
        mmoll foreman version is foreman-release-1.13.3-1.el7.noarch and discovery is tfm-rubygem-foreman_discovery-7.0.0-1.fm1_13.el7.noarch
      • grahamh has quit
      • mbacovsk has quit
      • mmoll i have checked to see if foreman_default_hostgroup is installed and its not
      • mmoll
        london01_: ok, then it's not what I suspected... first, make sure you're having the latest versions (iirc Foreman 1.13.4 and discovery 7.0.1 in your case. restart httpd after updating. if it's not fixed then, check production.log if there's a backtrace
      • london01_
        ok thanks mmoll
      • Anderath_1 joined the channel