Hi,
I'm having a weird issue and was wondering if anyone else had run into it. I recently upgraded from puppet 2.7 -> 3.0.1 After cleaning up some gems on my puppet master everything seemed to be working ok. I had originally used the EPEL repo's to deploy puppet, but switched to the Puppet Labs repos so I could upgrade to 2.7 then 3. On RHEL5 only, I get a RSTRING_PTR error if I upgrade to the Puppet Labs version (1.4.6) if I roll back to the EPEL veriosn of rubygem-json (1.4.3) Everything works again.
Has anyone seen anything like this before?
Thanks
-a
Rolling back to rubygem-json-1.4.3-3.el5.1 and everything works
After Upgrade of rubygem-json
Info: Retrieving plugin
/usr/bin/ruby: symbol lookup error: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/json/ext/parser.so: undefined symbol: RSTRING_PTR
[root@rhel5build-10wa gems]# rpm -qi rubygem-json
Name : rubygem-json Relocations: (not relocatable)
Version : 1.4.6 Vendor: Puppet Labs
Release : 1.el5 Build Date: Wed 26 Sep 2012 06:10:33 PM EDT
Install Date: Fri 23 Nov 2012 05:11:36 PM EST Build Host: rpm-builder.puppetlabs.lan
Group : Development/Languages Source RPM: rubygem-json-1.4.6-1.el5.src.rpm
Size : 592354 License: Ruby or GPLv2
Signature : RSA/SHA1, Wed 26 Sep 2012 06:15:36 PM EDT, Key ID 1054b7a24bd6ec30
URL :
http://json.rubyforge.org
Summary : A JSON implementation in Ruby
Description :
This is a implementation of the JSON specification according
to RFC 4627 in Ruby.
You can think of it as a low fat alternative to XML,
if you want to store data to disk or transmit it over
a network rather than use a verbose markup language.
Before Upgrade:
[root@rhel5build-10wa ~]# rpm -qi rubygem-json
Name : rubygem-json Relocations: (not relocatable)
Version : 1.4.3 Vendor: Fedora Project
Release : 3.el5.1 Build Date: Thu 16 Sep 2010 03:40:59 AM EDT
Install Date: Mon 19 Nov 2012 03:54:16 PM EST Build Host:
x86-03.phx2.fedoraproject.org
Group : Development/Languages Source RPM: rubygem-json-1.4.3-3.el5.1.src.rpm
Size : 629927 License: Ruby or GPLv2
Signature : DSA/SHA1, Mon 20 Sep 2010 12:40:46 PM EDT, Key ID 119cc036217521f6
Packager : Fedora Project
URL :
http://json.rubyforge.org
Summary : A JSON implementation in Ruby
Description :
This is a implementation of the JSON specification according
to RFC 4627 in Ruby.
You can think of it as a low fat alternative to XML,
if you want to store data to disk or transmit it over
a network rather than use a verbose markup language.
[root@rhel5build-10wa ~]# puppet agent --test
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/born_on.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Caching catalog for rhel5build-10wa
Info: Applying configuration version '1353708172'
Finished catalog run in 11.65 seconds