Issue #6810 has been updated by Ben Hughes.
Category set to file
Status changed from Unreviewed to Needs Decision
Assignee set to Nigel Kersten
Affected Puppet version set to 2.6.0
This is for the following situation:
<pre>
file{
"/tmp/foo":
ensure => directory,
source => "puppet:///files/i/dont/exist",
recurse => remote,
}
</pre>
(where say, the source is populated by a variable or whatever).
Is this either on purpose or a regression?
If it is on purpose, can we make it fail better? And document it somewhere.
----------------------------------------
Bug #6810: File 'fail' became a lot more fatal in 2.6.6
https://projects.puppetlabs.com/issues/6810
Author: eric sorenson
Status: Needs Decision
Priority: Normal
Assignee: Nigel Kersten
Category: file
Target version:
Affected Puppet version: 2.6.0
Keywords:
Branch:
In testing 2.6.6, we found that missing source directories in a recurse=>remote
file copy cause puppetd to exit immediately, whereas earlier versions just
cause that particular resource to fail but continue with the rest of the
catalog. Did failures become intentionally more fatal in 2.6.6? I can work
to bisect when this started happening but wondered if it was a known issue.
Stack trace/output:
<pre>
/usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:171:in
`fail'/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:156:in
`init_metadata'/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in
`cached_value'/usr/lib/ruby/1.8/monitor.rb:242:in
`synchronize'/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:98:in
`cached_value'/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:48:in
`metadata'/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:109:in
`copy_source_values'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:622:in
`retrieve'/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:703:in `retrieve_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1874:in `to_trans'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:691:in `to_trans'
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1899:in `to_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:203:in `uniqueness_key'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:83:in `add_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:72:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:72:in
`add_resource'/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:561:in
`to_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:468:in `to_ral'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:113:in `convert_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:108:in `retrieve_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:139:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:103:in `with_client'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:37:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:171:in `call'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:171:in `controlled_run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:35:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:114:in `onetime'
/usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:88:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:410:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in `run'
/usr/sbin/puppetd:4
err: Could not run Puppet configuration client: Could not retrieve information
from source(s) puppet:///async/users/admins/vkoleti/ssh at
/etc/puppet/modules/homes/manifests/init.pp:28
</pre>
--
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.