Project

General

Profile

Actions

Bug #11271

closed

can't see the Operating system Environment Model in the foreman of windows 2003

Added by yfan y over 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I've found several issues after adding a new Windows host to Foreman 1.8.

The Windows test client is 2003 Server, running Puppet client 3.8.1.

I've tried installing Foreman in various test environments:
OS: centos 6.5 (minimal basic installation) + Foreman 1.8 (using foreman-installer): host is added, but
- no "Operating system", "Environment", "Model" info is shown in "Hosts"->"All hosts" dashboard for the Windows host
- no "Properties" is shown in host's detailed page (left click on the host) .

OS: centos 6.5 (minimal basic installation) + Foreman 1.8 (using foreman-installer):

The problem seems to be related to the way interfaces are handled in Foreman 1.8. In fact, there is an exception shown in /var/log/foreman/production.log


Files

production.log production.log 73.5 KB ERROR LOG yfan y, 08/10/2015 03:46 PM
jsonoutput jsonoutput 2.25 KB yfan y, 08/11/2015 02:57 PM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #10397: [Foreman 1.8]Error retrieving facts from windows nodeClosedDominic Cleal05/06/2015Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Category set to Facts
  • Priority changed from Immediate to Normal
  • Translation missing: en.field_release deleted (62)

Please include the full section from production.log showing the fact uploads and exceptions you mentioned. Also confirm the precise version of Foreman from Administer > About, or package version.

Actions #2

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Need more information
Actions #3

Updated by yfan y over 9 years ago

the version is 1.8.2.

Actions #4

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #10397: [Foreman 1.8]Error retrieving facts from windows node added
Actions #5

Updated by Dominic Cleal over 9 years ago

Thanks, could you run "facter --json" on your Windows host and attach the output please? Something in the network data coming from the client is causing the issue.

As a temporary workaround, you can set ignore_puppet_facts_for_provisioning to true under Administer > Settings > Puppet, which won't try to import network interfaces anymore.

Actions #6

Updated by yfan y over 9 years ago

thank you ! now
after set ignore_puppet_facts_for_provisioning => true
I can see "Operating system", "Environment", "Model" info is shown in "Hosts"->"All hosts" dashboard for the Windows host.
but I still can't get the ip address in the host detail.
the attachment is the json output.

Actions #7

Updated by Dominic Cleal over 9 years ago

The problem is that the "interfaces" fact is empty, this should be a list of network connections. Could you try upgrading Facter perhaps?

Actions #8

Updated by yfan y over 9 years ago

how to update facter? the windows puppet agent is install with msi? or has any other way to solve?

Actions #9

Updated by Dominic Cleal over 9 years ago

I haven't a clue, but I'm only suggesting it as a first step to resolve the empty interfaces name. There's clearly a bug remaining in Foreman when it's blank, we should handle that without an error, but the underlying cause of lack of networking info is that it's blank.

You may want to use the Puppet docs, puppet-users list or #puppet IRC channel if you're unsure about upgrading.

Actions #10

Updated by yfan y over 9 years ago

Dominic Cleal wrote:

I haven't a clue, but I'm only suggesting it as a first step to resolve the empty interfaces name. There's clearly a bug remaining in Foreman when it's blank, we should handle that without an error, but the underlying cause of lack of networking info is that it's blank.

You may want to use the Puppet docs, puppet-users list or #puppet IRC channel if you're unsure about upgrading.

thank you! I try to fix the facter get interface empty string problem.

Actions #11

Updated by Tomer Brisker almost 9 years ago

  • Status changed from Need more information to Resolved

Seems to have been a facter issue that was resolved. Closing, please feel free to reopen if issue still occurs.

Actions

Also available in: Atom PDF