Brian Lam
2011-Dec-07 02:12 UTC
[Puppet Users] need help w/ puppet error when running against my sandbox environment
Guys, I have spent a couple of hrs debugging an issue w/ my sandbox setup so that I can test my code before committing and pushing out my code in production. I ran it against my own environment=blam and got the following errors that I can''t make out what it is… err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from source(s) puppet://m0008001.ppops.net/plugins … … err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class services at /etc/puppet/manifests/site.pp: 10 on node m0009477.lab.ppops.net Any idea where I should be looking? (I am going to check out the Pro Puppet book from James Turnbull also.) Thanks! Brian *** Our production environment run is fine: *** [root@m0009477 ~]# [root@m0009477 ~]# puppetd -dvt --noop --server=m0008001.ppops.net -- environment=pic … … debug: /File[/var/lib/puppet/lib]: Storing newly-audited value for content debug: Finishing transaction 23636920771680 debug: Storing state *** my "sandbox" run is not fine: *** [root@m0009477 ~]# puppetd -dvt --noop --server=m0008001.ppops.net -- environment=blam … … err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from source(s) puppet://m0008001.ppops.net/plugins notice: /File[/var/lib/puppet/lib/facter]: Dependency File[/var/lib/ puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/bios.rb]: Dependency File[/ var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/bios.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/blade_chassis_serial.rb]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/blade_chassis_serial.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/classes.rb]: Dependency File[/ var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/classes.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/drac.rb]: Dependency File[/ var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/drac.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/fixed_memorysize.rb]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/fixed_memorysize.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/nagios.rb]: Dependency File[/ var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/nagios.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/netdriver.rb]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/netdriver.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/omsa.rb]: Dependency File[/ var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/omsa.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/pps_config_role.rb]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/pps_config_role.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/pps_version.rb]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/pps_version.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/facter/useraccts.rb]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/facter/useraccts.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/puppet]: Dependency File[/var/lib/ puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/puppet]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/puppet/parser]: Dependency File[/var/ lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/puppet/parser]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/puppet/parser/functions]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/puppet/parser/functions]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/puppet/parser/functions/ get_secret.rb]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/puppet/parser/functions/ get_secret.rb]: Skipping because of failed dependencies notice: /File[/var/lib/puppet/lib/puppet/parser/functions/ get_sshkey.rb]: Dependency File[/var/lib/puppet/lib] has failures: true warning: /File[/var/lib/puppet/lib/puppet/parser/functions/ get_sshkey.rb]: Skipping because of failed dependencies debug: Finishing transaction 23747225404280 debug: Storing state … … err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class services at /etc/puppet/manifests/site.pp: 10 on node m0009477.lab.ppops.net warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run [root@m0009477 ~]# -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
James Turnbull
2011-Dec-07 08:01 UTC
Re: need help w/ puppet error when running against my sandbox environment
Brian L. wrote:> Guys, > > I apologize ahead of time if this article shouldn''t be posted here... > > I have spent a couple of hrs debugging an issue w/ my sandbox setup so > that I can test my code before committing and pushing out my code in > production. I ran it against my own environment=blam and got the > following errors that I can''t make out what it is… > > err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not > retrieve information from source(s) puppet://m0008001.ppops.net/plugins > … > … > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not find class services at /etc/puppet/manifests/site.pp: > 10 on node m0009477.lab.ppops.net > > > Any idea where I should be looking? (I will also check out the book > Pro Puppet by James Turnbull also to see if I can get some hints.) > Thanks!Is there a class called "services"? What''s on line 10 of /etc/puppet/manifests/site.pp? I''d bet it can''t find that class. I''ve cc''ed in the puppet-user list which is a better place to ask this question. Regards James Turnbull -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
Felix Frank
2011-Dec-13 12:23 UTC
Re: [Puppet Users] need help w/ puppet error when running against my sandbox environment
Hi, On 12/07/2011 03:12 AM, Brian Lam wrote:> Guys, > > I have spent a couple of hrs debugging an issue w/ my sandbox setup so > that I can test my code before committing and pushing out my code in > production. I ran it against my own environment=blam and got the > following errors that I can''t make out what it is…need more info. 1. puppet.conf on your master 2. directory structure of your sandbox env Are there any helpful messages in your puppetmasterd.log? Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.