Jira (PUP-10467) Several incompatibilities between puppet 5 and later ruby libs keep it from running

1 view
Skip to first unread message

Hadmut Danisch (Jira)

unread,
Apr 25, 2020, 1:41:04 PM4/25/20
to puppe...@googlegroups.com
Hadmut Danisch created an issue
 
Puppet / Bug PUP-10467
Several incompatibilities between puppet 5 and later ruby libs keep it from running
Issue Type: Bug Bug
Affects Versions: PUP 5.5.10
Assignee: Unassigned
Created: 2020/04/25 10:40 AM
Priority: Normal Normal
Reporter: Hadmut Danisch

Puppet Version: 5.5.10
Puppet Server Version: 5.5.10
OS Name/Version: Ubuntu 20.04

 

Hi,

 

I just tried to tried to upgrade my puppet server (which was running on Ubuntu 18.04 for two years) to Ubuntu 20.04 which was released on Thursday.

Ubuntu comes with puppet 5.5.10, but I don't see the the code lines causing trouble have changed in 5.5.19.

Trouble on both the puppet master and client.

 

The master can't deliver certificates it just has created because of:

Apr 25 18:45:55 puppet puppet-master[4109]: Server Error: can't modify frozen String: ""
Apr 25 18:45:55 puppet puppet-master[4109]: /usr/lib/ruby/vendor_ruby/puppet/network/http/response.rb:14:in `encode!'

 

It tries to modify a frozen value and ruby aborts. Thus, master is not working.

 

 

The client, in contrast, is working, but issues tons of warning messages, most of the kind

/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete

 

some others.

 

So both master and agent seem to be not compatible with recent ruby versions. While it keeps the master from running, the agent mostly works.

 

 

 

 

Desired Behavior:

Actual Behavior:

Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

Examples:
Run puppet agent with --test --trace --debug

Relevant sections of /var/log/puppetlabs/puppetserver/puppetserver.log or any applicable logs from the same directory.

For more detailed information turn up the server logs by upping the log level in the server's logback.xml

Relevant sections of configurations files (puppet.conf, hiera.conf, Server's conf.d, defaults/sysconfig)

For memory issues with server heap dumps are also helpful.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Rob Braden (Jira)

unread,
Apr 27, 2020, 3:07:04 PM4/27/20
to puppe...@googlegroups.com
Rob Braden commented on Bug PUP-10467
 
Re: Several incompatibilities between puppet 5 and later ruby libs keep it from running

Hi Hadmut Danisch, thanks for the report. This appears to be an issue with the native Ubuntu package? Our Puppet Agent package (contains its own Ruby) should be available soon (nightlies are up now - https://nightlies.puppet.com/apt/pool/focal/ ). Puppet itself is not fully working with Ruby 2.7 yet (https://tickets.puppetlabs.com/browse/PUP-10247), but that work is also underway.

Reply all
Reply to author
Forward
0 new messages