puppet-master: Server Error: can't modify frozen String: ""
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
I just tried to upgrade my puppet-master from 18.04 to 20.04 (fresh install in an LXD container, using the very same setup and data).
It's not possible to request a certificate from the master, because the puppet-master runs into this problem:
Apr 25 18:45:55 puppet puppet-
Apr 25 18:45:55 puppet puppet-
It seems as if the puppet version 5.5.10 chosen for 20.04 focal is not compatible with other ruby libraries coming with focal.
Another hint: On an 20.04 puppet client I see tons of warnings
/usr/lib/
I'm currently not sure whether an upgrade to the latest 5 version of puppet (5.5.19) would fix the problem as I do not see changes to the reported code lines.
The problem is:
20.04 comes with ruby 2.7, but puppet is not yet compatible with ruby 2.7. See upstream
https:/ /tickets. puppetlabs. com/browse/ PUP-10247
Puppetlabs say in https:/ /tickets. puppetlabs. com/browse/ PUP-10467
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.
That's the problem. Puppet and Ruby2.7 not compatible yet.
I can run the master smoothly when running in a docker image built with ruby 2.6, but I haven't found a decent solution for the client/agent yet.