Issue #1955 has been updated by andre.
File puppet.conf added
The DNS for meteor.adcom.uci.edu and core4.adcom.uci.edu seem to be resolving.
Please see below. The default puppet.conf parameters were used:
server = puppet
ca_server = puppet
reportserver = puppet
Running with the default parameters in puppet.conf did not work. I encountered
the same errors. Afterwards, I modified the 3 parameters above and set them to
core4.adcom.uci.edu and restarted the puppetmasterd daemon. Again the same
errors were encountered.
In addition, puppet automatically added "yp" to the ssl file names (for
example, meteor.yp.adcom.uci.edu.pem instead of meteor.adcom.uci.edu was set
for hostpubkey, hostcert, hostprivkey, and hostcsr).
DNS:
>From server (core4) running puppetmasterd:
(core4) root:/adm/users/andresl # ping -s meteor.adcom.uci.edu
PING meteor.adcom.uci.edu: 56 data bytes
64 bytes from meteor.adcom.uci.edu (128.200.141.10): icmp_seq=0. time=0.574 ms
64 bytes from meteor.adcom.uci.edu (128.200.141.10): icmp_seq=1. time=0.612 ms
^C
----meteor.adcom.uci.edu PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max/stddev = 0.574/0.593/0.612/0.027
(core4) root:/adm/users/andresl # host 128.200.141.10
10.141.200.128.in-addr.arpa domain name pointer meteor.adcom.uci.edu.
>From puppet client server (meteor):
(meteor) root:/adm/users/andresl # ping -s core4.adcom.uci.edu
PING core4.adcom.uci.edu: 56 data bytes
64 bytes from core4.adcom.uci.edu (128.200.235.71): icmp_seq=0. time=0.547 ms
64 bytes from core4.adcom.uci.edu (128.200.235.71): icmp_seq=1. time=0.521 ms
^C
----core4.adcom.uci.edu PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max/stddev = 0.521/0.534/0.547/0.018
(meteor) root:/adm/users/andresl # host 128.200.235.71
71.235.200.128.in-addr.arpa domain name pointer core4.adcom.uci.edu.
Configuration from puppet.conf:
(core4) root:/etc/opt/csw/puppet # /opt/csw/bin/puppetd --genconfig >
puppet.conf
(core4) root:/etc/opt/csw/puppet # grep core4.yp.adcom.uci.edu puppet.conf
hostpubkey = /etc//opt/csw/puppet/ssl/public_keys/core4.yp.adcom.uci.edu.pem
# The default value is 'core4.yp.adcom.uci.edu'.
# certname = core4.yp.adcom.uci.edu
hostcert = /etc//opt/csw/puppet/ssl/certs/core4.yp.adcom.uci.edu.pem
hostprivkey =
/etc//opt/csw/puppet/ssl/private_keys/core4.yp.adcom.uci.edu.pem
hostcsr = /etc//opt/csw/puppet/ssl/csr_core4.yp.adcom.uci.edu.pem
Attached is the puppet.conf file from the puppet master server.
----------------------------------------
Bug #1955: "Could not find server puppet" - installation/configuration error
http://projects.reductivelabs.com:80/issues/1955
Author: andre
Status: Needs more information
Priority: Normal
Assigned to:
Category: Solaris
Target version: unplanned
Complexity: Easy
Affected version: 0.24.7
Keywords:
This is my first time to install puppet. I encountered the "Could not find
server puppet: getaddrinfo: node name or service name not known" error. I
followed the steps in
https://reductivelabs.com/trac/puppet/wiki/InstallationGuide but made
modification during the installation process to use pkgutil -i CSWpuppet to
simplify installation due to package dependencies. Please note that core4 is
the puppetmaster and meteor is the client. Both machines are running solaris 10.
Thank you in advance for your help.
(core4) root:/etc # yes | /opt/csw/bin/pkgutil -i CSWpuppet
(core4) root:/etc # pkginfo -l|grep CSW|grep PKGINST
PKGINST: CSWaspell
PKGINST: CSWbdb3
PKGINST: CSWbzip2
PKGINST: CSWcommon
PKGINST: CSWexpat
PKGINST: CSWfacter
PKGINST: CSWgcc4corert
PKGINST: CSWgcc4g++rt
PKGINST: CSWgdbm
PKGINST: CSWgfile
PKGINST: CSWggettext
PKGINST: CSWiconv
PKGINST: CSWisaexec
PKGINST: CSWncurses
PKGINST: CSWosslrt
PKGINST: CSWpkgutil
PKGINST: CSWpuppet
PKGINST: CSWreadline
PKGINST: CSWruby
PKGINST: CSWsunmath
PKGINST: CSWzlib
(meteor) root: /etc # yes | /opt/csw/bin/pkgutil -i CSWpuppet
(meteor) root:/etc/puppet/ssl/private_keys # pkginfo -l|grep CSW|grep PKGINST
PKGINST: CSWaspell
PKGINST: CSWbdb3
PKGINST: CSWbzip2
PKGINST: CSWcommon
PKGINST: CSWexpat
PKGINST: CSWfacter
PKGINST: CSWgcc4corert
PKGINST: CSWgcc4g++rt
PKGINST: CSWgdbm
PKGINST: CSWgfile
PKGINST: CSWggettext
PKGINST: CSWiconv
PKGINST: CSWisaexec
PKGINST: CSWncurses
PKGINST: CSWosslrt
PKGINST: CSWpkgutil
PKGINST: CSWpuppet
PKGINST: CSWreadline
PKGINST: CSWruby
PKGINST: CSWsunmath
PKGINST: CSWzlib
(core4) root:/etc # pkginfo -l CSWpuppet
PKGINST: CSWpuppet
NAME: puppet - a system configuration tool
CATEGORY: application,system
ARCH: all
VERSION: 0.24.7,REV=2009.01.10
(meteor) root:/etc/puppet/ssl/private_keys # pkginfo -l CSWpuppet
PKGINST: CSWpuppet
NAME: puppet - a system configuration tool
CATEGORY: application,system
ARCH: all
VERSION: 0.24.7,REV=2009.01.10
(core4) root:/etc/puppet/ssl/private_keys # svcs -a|grep puppetd
online 14:03:58 svc:/network/puppetd:default
(meteor) root:/etc/puppet/ssl/private_keys # svcs -a|grep puppetd
online 14:04:56 svc:/network/puppetd:default
(core4) root:/opt/csw/bin # cat /etc/puppet/manifests/site.pp
file { "/etc/sudoers":
owner => root, group => root, mode => 440
}
(core4) root: /opt/csw/bin # ./puppetmasterd --mkusers
(core4) root:/etc # grep puppet /etc/passwd
puppet:x:3004:55556:puppet user:/var//opt/csw/puppet:/bin/true
(meteor) root:/etc/puppet/ssl/private_keys # grep puppet /etc/passwd
puppet:x:3004:55556:Puppet:/var//opt/csw/puppet:/bin/true
# Shouldn't the home directory of puppet be /var/opt/csw/puppet instead of
/var//opt/csw/puppet ??
(core4) root:/etc # grep puppet /etc/group
puppet::55556:
(meteor) root:/etc/puppet/ssl/private_keys # grep puppet /etc/group
puppet::55556:
(core4) root:/etc # grep puppet /etc/shadow
puppet:*LK*:::::::
(meteor) root:/etc/puppet/ssl/private_keys # grep puppet /etc/shadow
puppet:*LK*:::::::
(meteor) root:/opt/csw/bin # ./puppetd --server core4.yp.adcom.uci.edu
--waitforcert 30 --test
err: Could not find server core4.yp.adcom.uci.edu: getaddrinfo: node name or
service name not known
err: Could not request certificate: Certificate retrieval failed: Could not
find server core4.yp.adcom.uci.edu
(core4) root:/opt/csw/bin # ./puppetca --list
No certificates to sign
# I Did not see the name of my test client
(core4) root:/etc/puppet/ssl/private_keys # ls
core4.yp.adcom.uci.edu.pem
(core4) root:/etc/puppet/ssl/private_keys # ls -l /etc/puppet/ssl/public_keys
total 2
-rw-r--r-- 1 root root 251 Feb 10 14:03 core4.yp.adcom.uci.edu.pem
(meteor) root:/etc/puppet/ssl/private_keys # ls -l
total 2
-rw------- 1 root root 887 Feb 10 14:04
meteor.yp.adcom.uci.edu.pem
(meteor) root:/etc/puppet/ssl/private_keys # ls -l /etc/puppet/ssl/public_keys
total 2
-rw-r--r-- 1 root root 251 Feb 10 14:04
meteor.yp.adcom.uci.edu.pem
The following is output from the /var/adm/messages in the puppetmaster server:
Feb 10 14:09:59 s_lo...@core4 puppetd[13111]: [ID 702911 daemon.error] Could
not find server puppet: getaddrinfo: node name or service name not known
Feb 10 14:09:59 s_lo...@core4 puppetd[13111]: [ID 702911 daemon.error] Could
not request certificate: Certificate retrieval failed: Could not find server
puppetFeb 10 14:11:01 s_lo...@core4 puppetmasterd[13171]: [ID 702911
daemon.notice]
(/Settings[/etc//opt/csw/puppet/puppet.conf]/Settings[main]/User[puppet]/comment)
comment changed 'Puppet' to 'puppet user'
Feb 10 14:11:08 s_lo...@core4 puppetmasterd[13380]: [ID 702911 daemon.notice]
Reopening log files
Feb 10 14:11:08 s_lo...@core4 puppetmasterd[13380]: [ID 702911 daemon.notice]
Starting Puppet server version 0.24.7
Feb 10 14:11:59 s_lo...@core4 puppetd[13111]: [ID 702911 daemon.notice] Got
signed certificate
Feb 10 14:11:59 s_lo...@core4 puppetd[13111]: [ID 702911 daemon.notice]
Starting Puppet client version 0.24.7
Feb 10 14:12:02 s_lo...@core4 puppetd[13111]: [ID 702911 daemon.error] Could
not find server puppet: getaddrinfo: node name or service name not known
Feb 10 14:12:02 s_lo...@core4 puppetd[13111]: [ID 702911 daemon.error] Could
not retrieve catalog: Could not find server puppet
----------------------------------------
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---