Storage filter fails with not in catalog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-swift |
Fix Released
|
Medium
|
Adam Vinsh |
Bug Description
I am using puppet 3.8.1 with puppetdb 2.3.5 on Ubuntu14.04. The version of puppet-swift is 4.1.0 (icehouse branch).
Adding the recon filter into the pipeline for object-server, e.g:
class { 'swift::storage':
storage_
}
Swift:
devices => '/srv/node',
storage_
incoming_chmod => 'a=r,u+w,D+x',
outgoing_chmod => 'a=r,u+w,D+x',
}
swift:
type => 'object',
config_
pipeline => ['recon'
}
results in:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: Concat:
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Changed in puppet-swift: | |
assignee: | nobody → Adam Vinsh (adam-vinsh) |
status: | New → Confirmed |
importance: | Undecided → Medium |
After some head scratching it occurred to me that the structure of the filters (i.e in their own directory/ namespace) might mean they are not able be loaded implicitly by the 'before =>' condition.
Getting out the hammer and 'making' the recon define get loaded (see attached patch) seems to bear this out (the ). This is probably not the ideal way to solve this, but at least now the cause is obvious.