Issue #14980 has been updated by Patrick Carlisle.

Status changed from Unreviewed to Investigating
Assignee set to Patrick Carlisle

I'd guess this shares a root cause with #14979, so for now I'm waiting on the 
questions I posted there.
----------------------------------------
Bug #14980: inconsistent server 400 error: Could not find parent resource type 
'admissions::auxiliarybackend' of type hostclass
https://projects.puppetlabs.com/issues/14980#change-65386

Author: Banio Carpenter
Status: Investigating
Priority: Normal
Assignee: Patrick Carlisle
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I see this server 400 error intermittently when run as a cron. I’m not able to 
reproduce it running puppet manually. I have tried many times to reproduce it 
using:

    puppetd -t
    puppet agent -t
    puppet agent --no-daemonize --onetime --verbose
    puppetd --no-daemonize --onetime --verbose
    
The error is:

    Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not find parent resource type 'admissions::auxiliarybackend' of type hostclass 
in production at 
/etc/puppet/modules/admissions/manifests/auxiliarybackend1_12.pp:1 on node 
nodee.mydomain.com

Here is /etc/puppet/modules/admissions/manifests/auxiliarybackend1_12.pp:

    class admissions::auxiliarybackend1_12 inherits 
admissions::auxiliarybackend {
    File['/etc/puppet/auxiliary/scripts'] { source => 
"puppet:///modules/admissions/auxiliary/scripts-backend1_12" }
    }


The class admissions::auxiliarybackend exists and is located here:
    /etc/puppet/modules/admissions/manifests/auxiliarybackend.pp


Versions:

    # puppetd --version
    2.7.14
    # ruby --version
    ruby 1.8.5 (2006-08-25) [i386-linux]
    # facter --version
    1.6.9

Again I can’t reproduce this manually, only happens when run as a cron, and 
even then only sometimes—percentage ranges from 10% to 75% depending on the 
day. The cron is:

    puppet agent --no-daemonize --onetime --verbose

This issue behaves similarly to bug #14979, but I wanted to file them 
separately just in case.


-- 
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.

Reply via email to