Issue #4731 has been updated by Adrian Rixon.
Ah! I narrowed down the various parts of the manifest and it's this part of a
module that triggers the error:
host { "s2XXXX08":
ensure => present,
ip => "172.16.99.4",
host_aliases => ["timehost", "loghost", "puppet"]
}
host { "mailhost":
ensure => present,
ip => $mailhostip,
}
host { "s2XXXX15":
ensure => present,
ip => "172.16.99.22",
host_aliases => ["updatehost", "buildhost"]
}
(i.e. leave that module out or comment those lines and everything else works.)
/etc/hosts on the client already contains:
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
172.16.99.125 s2XXXX20 s2XXXX20.my.domain
172.16.99.4 puppet
/etc/resolv.conf contains:
search my.domain
nameserver 172.16.99.3
nameserver 172.16.99.13
----------------------------------------
Bug #4731: Client reports "Invalid IP address", need better error
http://projects.puppetlabs.com/issues/4731
Author: Adrian Rixon
Status: Needs more information
Priority: Normal
Assignee:
Category:
Target version:
Affected version: 0.25.5
Keywords:
Branch:
I get "Parameter IP failed: Invalid IP Address" on two newly-built Puppet
clients under RHEL 5.5. The underlying cause isn't the issue, the problem is
that the error message gives me almost nothing to go on. After inserting extra
debug in the code, I see that $ip is empty, but where does it get this value
from? If a file, which one and what line? If from system config, how is it
derived? I've run the client and server in debug/trace mode, and I'm still not
seeing where this problem originates.
The Puppet master system has been cloned from an existing server and
renamed/re-addressed. A client system that was also cloned with it works fine.
This issue only affects two new clients, so I assume some old config in the
server hasn't been cleared out. However, the output needs to show more info
about the origin of the error.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.