Issue #1955 has been updated by James Turnbull. Target version deleted (unplanned)
---------------------------------------- Bug #1955: "Could not find server puppet" - installation/configuration error https://projects.puppetlabs.com/issues/1955 Author: Sam Andre Status: Rejected Priority: Normal Assignee: Category: Solaris Target version: Affected Puppet version: 0.24.7 Keywords: Branch: 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_local@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_local@core4 puppetd[13111]: [ID 702911 daemon.error] Could not request certificate: Certificate retrieval failed: Could not find server puppetFeb 10 14:11:01 s_local@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_local@core4 puppetmasterd[13380]: [ID 702911 daemon.notice] Reopening log files Feb 10 14:11:08 s_local@core4 puppetmasterd[13380]: [ID 702911 daemon.notice] Starting Puppet server version 0.24.7 Feb 10 14:11:59 s_local@core4 puppetd[13111]: [ID 702911 daemon.notice] Got signed certificate Feb 10 14:11:59 s_local@core4 puppetd[13111]: [ID 702911 daemon.notice] Starting Puppet client version 0.24.7 Feb 10 14:12:02 s_local@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_local@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://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.
