Project

General

Profile

Actions

Bug #10993

closed

Error adding Windows host

Added by Felipe Ortega over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Importers
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: Debian 7.8 (minimal basic installation) + Foreman 1.7 (using foreman-installer): no problem at all
OS: Debian 7.8 (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 (see attached 'screenshot1').
- no "Properties" is shown in host's detailed page (left click on the host) (see attached 'screenshot2' and 'screenshot3').
- wrong number of "windows 5.2" hosts in "Hosts"->"Operating systems". In fact, it seems to be the number of Puppet runs in that client (if they are run in different minutes) (see attached 'screenshot4'). Also, clicking in "Hosts" column shows no hosts (see attached 'screenshot5')
OS: Debian 8.1 (minimal basic installation) + Foreman 1.8 (using foreman-installer): same issues that with Debian 7.8 + Foreman 1.8

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 (see attached file with the excerpt)


Files

production.log production.log 15.5 KB Debian 7.8 + Foreman 1.8 log excerpt Felipe Ortega, 07/03/2015 07:37 AM
screenshot1.png View screenshot1.png 36.1 KB Hosts dashboard Felipe Ortega, 07/03/2015 07:49 AM
screenshot2.png View screenshot2.png 64.1 KB Host's details (empty properties) Felipe Ortega, 07/03/2015 07:49 AM
screenshot3.png View screenshot3.png 60.7 KB Host's details (NICs info) Felipe Ortega, 07/03/2015 07:49 AM
screenshot4.png View screenshot4.png 33.3 KB Operating systems Felipe Ortega, 07/03/2015 07:49 AM
screenshot5.png View screenshot5.png 23 KB (windows 5.2 => os_id=2) Felipe Ortega, 07/03/2015 07:49 AM
facter.yaml facter.yaml 2.72 KB Yoann Le Garff, 10/02/2015 06:26 AM
Actions

Also available in: Atom PDF