Bug #27612
closed
Incremental update broken for puppet modules
Added by Jonathon Turel over 5 years ago.
Updated over 4 years ago.
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
- Status changed from New to Ready For Testing
- Assignee set to Jonathon Turel
- Pull request https://github.com/Katello/katello/pull/8270 added
- 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
- Fixed in Releases Katello 3.14.0 added
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/Katello/katello/pull/8298 added
- 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'
Also available in: Atom
PDF