Bug 1869382
Summary: | Synchronizing Puppet Modules from a Git Repository using pulp-puppet-module-builder failed with Error: uninitialized constant Puppet::Util::Json::ParserError | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | asamad | ||||
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Lai <ltran> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.7.0 | CC: | gkeegan, kurathod, mfalz, mmccune, satellite6-bugs, sfroemer, sokeeffe | ||||
Target Milestone: | Unspecified | Keywords: | Patch, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-04-06 17:53:05 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
asamad
2020-08-17 18:50:03 UTC
Could you please let me know what info is needed to make some progress on this? I am happy to support e.g. with data or details. The puppet version we ship in Satellite 6.8 and later does not support the 'puppet module build' command as well as this functionality being deprecated and removed in Satellite 7 coming up mid-2022. If customers still rely on this functionaliy they can perform the following workaround: 1) On the host you wish to run pulp-puppet-module-builder, install the Puppet Development Kit that will allow module building, via the 'pdk build' command https://puppet.com/docs/pdk/2.x/pdk_install.html#install-pdk-on-linux # sudo rpm -Uvh https://yum.puppet.com/puppet-tools-release-el-7.noarch.rpm # satellite-maintain packages unlock # yum install pdk 2) Apply patch supplied on this BZ to switch pulp-puppet-module- builder to use PDK's CLI to build modules * Download puppet_module_builder.py from this BZ to your Satellite server * verify sha256sum # sha256sum puppet_module_builder.py 0cda14f5ce7d5e227a48ef13b2fb3684e49ae0413a580fd385e84f3d8fc388c4 puppet_module_builder.py * Copy patched file to target location: # cp puppet_module_builder.py /usr/lib/python2.7/site-packages/pulp_puppet/tools/puppet_module_builder.py 4) test the module builder: pulp-puppet-module-builder \ --output-dir=/modules \ --url=git:mymodules.git \ --branch=develop 5) sync and operate as normal Created attachment 1764724 [details]
patch puppet_module_builder.py
See more detailed discussion on this BZ for workarounds: https://bugzilla.redhat.com/show_bug.cgi?id=1886005#c7 Going to close this bug out as a dupe of 1886005 and track discussion there *** This bug has been marked as a duplicate of bug 1886005 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |