Bug #27612
closedIncremental update broken for puppet modules
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1740718
Description of problem:
HTTP 500 server error when calling the incremental update.
How reproducible:
Always
Steps to Reproduce:
This is found in automation with the following steps:
1. Create and publish CV with some content
2. Create composite CV, add previously created CV inside it
3. Publish composite CV
4. Create a puppet repo and upload a puppet module into it
5. Incrementally update the CVV with the puppet module with 'propagate_all_composites' flag set to 'True'
Actual results:
Successful API call.
Expected results:
HTTP 500 to server
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Jonathon Turel
- Pull request https://github.com/Katello/katello/pull/8270 added
Updated by Chris Roberts over 5 years ago
- Subject changed from Incremental update broken for puppet modules to Incremental update broken for puppet modules
- Target version set to Katello 3.13.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 5 years ago
- Fixed in Releases Katello 3.14.0 added
Updated by Jonathon Turel over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|97dfcfce47a68a2df415726f556cb2cd6585cb13.
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/Katello/katello/pull/8298 added
Updated by Daniel Kimsey over 4 years ago
- Found in Releases Katello 3.11.2 added
Encountered this in Katello 3.11.2. Applying the linked changeset manually on the box resolved the issue and incremental updates were working again.
2020-05-04T11:20:21 [E|app|18245c39] NoMethodError: undefined method `copy_puppet_module' for #<Actions::Katello::ContentViewVersion::IncrementalUpdate:0x00007f272fd22f28> Did you mean? copy_puppet_modules /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.11.2/app/lib/actions/katello/content_view_version/incremental_update.rb:262:in `block in copy_puppet_content' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.11.2/app/lib/actions/katello/content_view_version/incremental_update.rb:262:in `map' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.11.2/app/lib/actions/katello/content_view_version/incremental_update.rb:262:in `copy_puppet_content'