Puppet run on the Satellite client shows the `Debug: Failed to load library msgpack for feature msgpack` debug message.
Environment
- Red Hat Satellite 6
Issue
-
The following debug message is observed during puppet run on the client registered with Satellite server.
# puppet agent --test --debug|grep msgpack Debug: Failed to load library 'msgpack' for feature 'msgpack' Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing Debug: Failed to load library 'msgpack' for feature 'msgpack' Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
Resolution
-
Install the
rubygem-msgpackpackage which will remove the mentioned debug message.# yum install rubygem-msgpack -
To use the msgpack, add the following line in [main] or [agent] section of puppet.conf file.
preferred_serialization_format = msgpack -
The debug message is harmless and it only fills up the logs.
For more KB articles/solutions related to Red Hat Satellite 6.x Puppet Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Puppet Issues
Root Cause
- The
msgpackis an efficient serialisation format used by puppet when communicating between master and agent. This format requiresrubygem-msgpackpackage, which if not installed will give the mentioned debug message.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.