Hi, I wonder why the puppet agent on the server itself will not run: ---snip--- # puppet agent --test Error: Could not run Puppet configuration client: Puppet::Node does not respond to from_s; can not intern instances from text/plain Error: Could not run: can''t convert Puppet::Util::Log into Integer ---pins--- whereas the client on a test box tells me: ---snip--- # puppet agent --test Info: Retrieving plugin Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb connect: No such file or directory Please make sure that the zfs-fuse daemon is running. internal error: failed to initialize ZFS library connect: No such file or directory Please make sure that the zfs-fuse daemon is running. internal error: failed to initialize ZFS library Info: Caching catalog for rz36test2.intranet.ufz.de Info: Applying configuration version ''1377687070'' Notice: Finished catalog run in 0.20 seconds ---pins--- On both machines (server: SLES 11 SP2; test box: openSUSE 12.3) I have the same puppet packge installed, puppet-3.2.3-1.1 from the systemsmanagement:puppet repository of openSUSE build system. I tried to find error messages via google an ixquick, but nothing was found. Where can I look for the error, and what do I have to look for? As far as I con see, my configuration is d''accord with <http://docs.puppetlabs.com/guides/configuring.html>. Commands like # puppet agent --configprint modulepath /etc/puppet/test1/modules:/etc/puppet/modules:/usr/share/config/test1/modules # puppet agent --environment test2 --configprint modulepath /etc/puppet/test2/modules:/etc/puppet/modules:/usr/share/config/test2/modules work, so I am sure puppet reads its environment "test1" from puppet.conf correctly. Can someone please point me in the right direction? Regards, Werner -- -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Werner Flamme [28.08.2013 13:18]:> Hi, > > I wonder why the puppet agent on the server itself will not run: > > ---snip--- > # puppet agent --test > Error: Could not run Puppet configuration client: Puppet::Node does not > respond to from_s; can not intern instances from text/plain > Error: Could not run: can''t convert Puppet::Util::Log into Integer > ---pins--- > > whereas the client on a test box tells me: > ---snip--- > # puppet agent --test > Info: Retrieving plugin > Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb > Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb > Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb > Info: Loading facts in > /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb > connect: No such file or directory > Please make sure that the zfs-fuse daemon is running. > internal error: failed to initialize ZFS library > connect: No such file or directory > Please make sure that the zfs-fuse daemon is running. > internal error: failed to initialize ZFS library > Info: Caching catalog for rz36test2.intranet.ufz.de > Info: Applying configuration version ''1377687070'' > Notice: Finished catalog run in 0.20 seconds > ---pins--- > > On both machines (server: SLES 11 SP2; test box: openSUSE 12.3) I have > the same puppet packge installed, puppet-3.2.3-1.1 from the > systemsmanagement:puppet repository of openSUSE build system. > > I tried to find error messages via google an ixquick, but nothing was > found. Where can I look for the error, and what do I have to look for? > As far as I con see, my configuration is d''accord with > <http://docs.puppetlabs.com/guides/configuring.html>. > > Commands like > > # puppet agent --configprint modulepath > /etc/puppet/test1/modules:/etc/puppet/modules:/usr/share/config/test1/modules > # puppet agent --environment test2 --configprint modulepath > /etc/puppet/test2/modules:/etc/puppet/modules:/usr/share/config/test2/modules > > work, so I am sure puppet reads its environment "test1" from puppet.conf > correctly. > > Can someone please point me in the right direction?I''m still none wiser. Another client (SLES 11 SP2) runs fine with this server, and the same modules are used. So it must be a permissions thing on the client, but where? BTW, all boxes now run puppet-3.2.4-1.1 from the systemsmanagement:puppet repos on openSUSE''s build system. Regards, Werner -- -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
On Friday, September 6, 2013 8:44:44 AM UTC-5, Werner Flamme wrote:> > Werner Flamme [28.08.2013 13:18]: > > Hi, > > > > I wonder why the puppet agent on the server itself will not run: > > > > ---snip--- > > # puppet agent --test > > Error: Could not run Puppet configuration client: Puppet::Node does not > > respond to from_s; can not intern instances from text/plain > > Error: Could not run: can''t convert Puppet::Util::Log into Integer > > ---pins--- > > > > whereas the client on a test box tells me: > > ---snip--- > > # puppet agent --test > > Info: Retrieving plugin > > Info: Loading facts in > /etc/puppet/modules/stdlib/lib/facter/pe_version.rb > > Info: Loading facts in > /etc/puppet/modules/stdlib/lib/facter/root_home.rb > > Info: Loading facts in > /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb > > Info: Loading facts in > > /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb > > connect: No such file or directory > > Please make sure that the zfs-fuse daemon is running. > > internal error: failed to initialize ZFS library > > connect: No such file or directory > > Please make sure that the zfs-fuse daemon is running. > > internal error: failed to initialize ZFS library > > Info: Caching catalog for rz36test2.intranet.ufz.de > > Info: Applying configuration version ''1377687070'' > > Notice: Finished catalog run in 0.20 seconds > > ---pins--- > > > > On both machines (server: SLES 11 SP2; test box: openSUSE 12.3) I have > > the same puppet packge installed, puppet-3.2.3-1.1 from the > > systemsmanagement:puppet repository of openSUSE build system. > > > > I tried to find error messages via google an ixquick, but nothing was > > found. Where can I look for the error, and what do I have to look for? > > As far as I con see, my configuration is d''accord with > > <http://docs.puppetlabs.com/guides/configuring.html>. > > > > Commands like > > > > # puppet agent --configprint modulepath > > > /etc/puppet/test1/modules:/etc/puppet/modules:/usr/share/config/test1/modules > > > # puppet agent --environment test2 --configprint modulepath > > > /etc/puppet/test2/modules:/etc/puppet/modules:/usr/share/config/test2/modules > > > > > work, so I am sure puppet reads its environment "test1" from puppet.conf > > correctly. > > > > Can someone please point me in the right direction? > > I''m still none wiser. Another client (SLES 11 SP2) runs fine with this > server, and the same modules are used. So it must be a permissions thing > on the client, but where? > > BTW, all boxes now run puppet-3.2.4-1.1 from the > systemsmanagement:puppet repos on openSUSE''s build system. > >My first guess would be that you have multiple versions of Puppet installed, and somehow the agent you are trying to run is getting the Ruby libraries for the other version. Perhaps something like that could happen if you install one version via RPM and another via gem, or worse, directly from source. John -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
jcbollinger [09.09.2013 16:48]:> > > On Friday, September 6, 2013 8:44:44 AM UTC-5, Werner Flamme wrote: >> >> Werner Flamme [28.08.2013 13:18]: >>> Hi, >>> >>> I wonder why the puppet agent on the server itself will not run: >>> >>> ---snip--- >>> # puppet agent --test >>> Error: Could not run Puppet configuration client: Puppet::Node does not >>> respond to from_s; can not intern instances from text/plain >>> Error: Could not run: can''t convert Puppet::Util::Log into Integer >>> ---pins---[...]>> >> I''m still none wiser. Another client (SLES 11 SP2) runs fine with this >> server, and the same modules are used. So it must be a permissions thing >> on the client, but where? >> >> BTW, all boxes now run puppet-3.2.4-1.1 from the >> systemsmanagement:puppet repos on openSUSE''s build system. >> >> > > My first guess would be that you have multiple versions of Puppet > installed, and somehow the agent you are trying to run is getting the Ruby > libraries for the other version. Perhaps something like that could happen > if you install one version via RPM and another via gem, or worse, directly > from source.Hi John, thanks for your input. I do not remember installing Ruby or any gem from other sources than via rpm. In /usr/lib64/ruby, I have only 1.9.1 subdirectories in the respective places, and their timestamps are so close together that I can only assume a "mass install" by rpm. But I''m staring like an idiot at my screen now: it works. Some 5 hours ago I was still stuck with the error, and now it works!? OK, there is an error (as it is a test client), but this is the first time this client did not complain about the errors I gave at the start. I''m scratching my head, but nevertheless: thank you! Regards, Werner -- -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.