Project

General

Profile

Bug #27612

Incremental update broken for puppet modules

Added by Jonathon Turel about 1 year ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

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

Associated revisions

Revision 97dfcfce (diff)
Added by Jonathon Turel about 1 year ago

Fixes #27612 - Broken inc. update with puppet module

History

#1 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Jonathon Turel
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8270 added

#2 Updated by Chris Roberts about 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0
  • Subject changed from Incremental update broken for puppet modules to Incremental update broken for puppet modules

#3 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 3.14.0 added

#4 Updated by Jonathon Turel about 1 year ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/Katello/katello/pull/8298 added

#6 Updated by Daniel Kimsey 6 months 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'

Also available in: Atom PDF