Updating the Satellite server fails with `Content View Puppet Environment xx Missing, Creating. foreman-rake katello:correct_puppet_environments COMMIT=true failed` error.

Solution Verified - Updated -

Issue

  • Updating the Satellite server to 6.3 version fails with the below error:

    [DEBUG 2018-01-01 00:00:01 main] Tasks: TOP => katello:correct_puppet_environments
    [DEBUG 2018-01-01 00:00:01 main] (See full trace by running task with --trace)
    [DEBUG 2018-01-01 00:00:01 main] Processing Puppet Environment 1/4: test1 (10)
    [DEBUG 2018-01-01 00:00:01 main] Processing Puppet Environment 2/4: test2 (xx)
    [DEBUG 2018-01-01 00:00:01 main] Content View Puppet Environment xx Missing, Creating.
    [ERROR 2018-01-01 00:00:01 main] foreman-rake katello:correct_puppet_environments COMMIT=true failed! Check the output for error!
    [ERROR 2018-01-01 00:00:01 main] Upgrade step correct_puppet_environments failed. Check logs for more information.
    [DEBUG 2018-01-01 00:00:01 main] Exit with status code: 1 (signal was 1)
    [ERROR 2018-01-01 00:00:01 main] Errors encountered during run:
    [ERROR 2018-01-01 00:00:01 main] foreman-rake katello:correct_puppet_environments COMMIT=true failed! Check the output for error!
    

Environment

  • Red Hat Satellite 6.2
  • Red Hat Satellite 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In