OS version not displaying on Foreman

We use foreman to manage our puppet infrastructure , some of out physical
servers are not reporting the operating system right. these are on the same
version as our virtual servers and run rhel.
Any suggestions on what can be done to fix this ? .

Auto Generated Inline Image 1 (12.9 KB)

Hello,
You can try to compare the output of facter between the different servers -
Foreman imports the facts when puppet is run and attempts to assign the os.
Also, from the screenshot it looks like you are running on an older version
of foreman - which version is it? There may have been changes in more
recent versions to the os selection code.

Auto Generated Inline Image 1 (10 KB)

··· On Wed, May 4, 2016 at 8:42 PM, Sreevalsan Radhakrishnan < sreevalsanradhakrishnan@gmail.com> wrote:

We use foreman to manage our puppet infrastructure , some of out physical
servers are not reporting the operating system right. these are on the same
version as our virtual servers and run rhel.
Any suggestions on what can be done to fix this ? .


You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Have a nice day,
Tomer Brisker
Red Hat Engineering

It's likely that fact imports are failing, checking Foreman's
production.log for fact uploads should show if there were errors.

··· On 04/05/16 18:42, Sreevalsan Radhakrishnan wrote: > We use foreman to manage our puppet infrastructure , some of out > physical servers are not reporting the operating system right. these are > on the same version as our virtual servers and run rhel. > Any suggestions on what can be done to fix this ? .


Dominic Cleal
dominic@cleal.org

Thank you Tomer for the suggestion I did compare the relevant facts
(attached is a sheet with the comparison). We are on foreman 1.10.
The version of facter is 2.4.4 and the same across all servers.

Regards ,
Sree.

facter output comparison.xlsx (9.24 KB)

··· On Wednesday, May 4, 2016 at 11:58:34 AM UTC-7, Tomer Brisker wrote: > > Hello, > You can try to compare the output of facter between the different servers > - Foreman imports the facts when puppet is run and attempts to assign the > os. > Also, from the screenshot it looks like you are running on an older > version of foreman - which version is it? There may have been changes in > more recent versions to the os selection code. > > On Wed, May 4, 2016 at 8:42 PM, Sreevalsan Radhakrishnan < > sreevalsanr...@gmail.com > wrote: > >> We use foreman to manage our puppet infrastructure , some of out physical >> servers are not reporting the operating system right. these are on the same >> version as our virtual servers and run rhel. >> Any suggestions on what can be done to fix this ? . >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Have a nice day, > Tomer Brisker > Red Hat Engineering >

Thanks for the suggestion Dominic , I was able to finally resolve this one.
These physical servers are multihomed with bonding configured (we also have
configured vlan's on top of bonding). Foreman was not displaying any of the
interface details due to this. I edited a host which was not displaying the
OS . edited the interface section updated the mac address and ip address
manually also the identifier. The OS details and the hardware model was
populated post the next puppet run.

Regards ,
Sree.

··· On Thursday, May 5, 2016 at 12:09:56 AM UTC-7, Dominic Cleal wrote:

On 04/05/16 18:42, Sreevalsan Radhakrishnan wrote:

We use foreman to manage our puppet infrastructure , some of out
physical servers are not reporting the operating system right. these are
on the same version as our virtual servers and run rhel.
Any suggestions on what can be done to fix this ? .

It’s likely that fact imports are failing, checking Foreman’s
production.log for fact uploads should show if there were errors.


Dominic Cleal
dom...@cleal.org <javascript:>