Issue #16883 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to Banio Carpenter
Hi Banio, thanks for the report -- i do not think we will be able to reliably reproduce this. Could you please run your master with a '--trace' option appended to its commandline and put the backtrace in this bug when you see it happen? BTW I notice in your bug report you say <pre> class the class it inherits from (/etc/puppet/modules/admins/manifests/scripts): </pre> Do you really have it in that file? Or is it actually `admins/manifests/scripts.pp`? (you didn't add the `.pp` extension) ---------------------------------------- Bug #16883: Inheritence seems to not be working puppet 3.0 intermittent error https://projects.puppetlabs.com/issues/16883#change-75682 Author: Banio Carpenter Status: Needs More Information Priority: Normal Assignee: Banio Carpenter Category: Target version: Affected Puppet version: Keywords: Branch: All servers running Centos 6.3 puppet master: # puppet --version 3.0.0 # ruby --version ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] # facter --version 1.6.12 puppet client: # puppet --version 3.0.0 # ruby --version ruby 1.8.7 (2012-06-29 patchlevel 370) [i386-linux] # facter --version 1.6.12 This is the server class: class admin::test { class { 'base::standard': } -> class { 'users::standard_groups': } -> class { 'users::admins': } -> class { 'sudoers::standard': } -> class { 'users::root': } -> class { 'admin::scripts2': } -> class { 'admin::usrlocalbin': } -> class { 'admin::backendstgcron': } } Here is the problematic class that uses inheritence (/etc/puppet/modules/admins/manifests/scripts2): class admin::scripts2 inherits admin::scripts { File['/tmp/scripts'] { source => "puppet:///modules/admin/auxiliary/scripts-backend1_15", } } class the class it inherits from (/etc/puppet/modules/admins/manifests/scripts): class admin::scripts { file { "/tmp/scripts": ensure => directory, recurse => true, purge => true, force => true, owner => "root", group => "root", source => "puppet:///modules/admin/auxiliary/scripts-backend", } } Her is the error that sometimes happens: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find parent resource type 'admins::scripts' of type hostclass in production at /etc/puppet/modules/admins/manifests/scripts2.pp:1 on node admtest2.mydomain.com This error only occurs sometimes. If i run puppet agent -t on the puppet client it never happens. The file /etc/puppet/modules/admins/manifests/scripts is indeed there. -- 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.
