Red Hat Satellite 6 upgrade is failing with error NoMethodError: undefined method `strip_heredoc'

Solution Verified - Updated -

Issue

  • Red Hat Satellite 6 upgrade from 6.7 to 6.8 fails with the following error.

     '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
    
  • # foreman-rake db:migrate --trace command is failing with the following error

     NoMethodError: undefined method `strip_heredoc' for #<String:0x000000000bfbe310>
     /usr/share/foreman/lib/tasks/export_tasks_tolerant.rake:22:in `block in <top (required)>'
    

Environment

  • Red Hat Satellite 6.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In