https://tickets.puppetlabs.com/browse/MCO-144
It's fixed in package agent 4.2.1 (not yet pushed to yum repo, alas)
Jeff
On 01/07/2014 01:18 PM, Nikolay Georgieff wrote:
Same issue here.
[root@puppet ucla_gateway]# mco package puppet update -F
foreman_env=testing -v
Discovering hosts using the redisdiscovery method .... 58
/ [ ==============================> ] 29 / 58
The package application failed to run, use -v for full error details:
undefined class/module Puppet::
undefined class/module Puppet:: (ArgumentError)
from /usr/libexec/mcollective/mcollective/security/psk.rb:27:in `load'
<----
from /usr/libexec/mcollective/mcollective/security/psk.rb:27:in
`decodemsg'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/message.rb:182:in
`decode!'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/client.rb:93:in `receive'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/client.rb:152:in
`req'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/client.rb:151:in
`loop'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/client.rb:151:in
`req'
from /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/client.rb:148:in
`req'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/rpc/client.rb:834:in
`call_agent'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/rpc/client.rb:255:in
`method_missing'
from /usr/libexec/mcollective/mcollective/application/package.rb:63:in
`send'
from /usr/libexec/mcollective/mcollective/application/package.rb:63:in
`main'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/application.rb:287:in
`run'
from
/usr/lib/ruby/gems/1.8/gems/stomp-1.2.2/lib/mcollective/applications.rb:23:in
`run'
from /usr/bin/mco:20
[root@puppet ucla_gateway]#
On Friday, December 27, 2013 7:03:06 AM UTC-8, Glenn Poston wrote:
I can confirm this. Same issue here.
On Thursday, December 26, 2013 1:54:33 PM UTC-5, Fabrice Bacchella
wrote:
When I upgrade a node with puppet 3.4.0, puppet-package is
broken :
~$ mco package puppet status -I $(facter hostname) -v
| [ > ] 0 / 1
The package application failed to run, use -v for full error
details: undefined class/module Puppet::
undefined class/module Puppet:: (ArgumentError)
from
/usr/libexec/mcollective/mcollective/security/psk.rb:27:in
`load' <----
from
/usr/libexec/mcollective/mcollective/security/psk.rb:27:in
`decodemsg'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/message.rb:182:in
`decode!'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:93:in `receive'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:152:in `req'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:151:in `loop'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:151:in `req'
from /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:148:in `req'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:851:in
`call_agent'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:244:in
`method_missing'
from
/usr/libexec/mcollective/mcollective/application/package.rb:63:in
`send'
from
/usr/libexec/mcollective/mcollective/application/package.rb:63:in
`main'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/application.rb:285:in
`run'
from
/usr/lib/ruby/site_ruby/1.8/mcollective/applications.rb:23:in
`run'
from /usr/bin/mco:20
I'm running this on a up to date scientific linux 6.4 with up
to date mcollective and puppet rpm directly from puppet labs :
~# rpm -qa | grep -e puppet -e mcollective
mcollective-package-agent-4.2.0-1.noarch
mcollective-package-client-4.2.0-1.noarch
mcollective-2.2.4-1.el6.noarch
puppet-3.4.0-1.el6.noarch
puppetlabs-release-6-7.noarch
mcollective-common-2.2.4-1.el6.noarch
mcollective-client-2.2.4-1.el6.noarch
mcollective-puppet-common-1.6.0-1.noarch
mcollective-puppet-client-1.6.0-1.noarch
mcollective-package-common-4.2.0-1.noarch
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/9d4589aa-b7c5-47a4-b738-b38eb3e2a12d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/52CC4EC4.3000704%40bericotechnologies.com.
For more options, visit https://groups.google.com/groups/opt_out.