Advertisement
Guest User

Untitled

a guest
Feb 24th, 2021
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. [root@foreman ~]# foreman-maintain content switchover
  2. Running Switch support for certain content from Pulp 2 to Pulp 3
  3. ================================================================================
  4. Switch support for certain content from Pulp 2 to Pulp 3:
  5. Performing final content migration before switching content [FAIL]
  6. Failed executing foreman-rake katello:pulp3_migration, exit status 1:
  7. enabled
  8. Migration failed, You will want to investigate: https://foreman/foreman_tasks/tasks/b3c94f62-ed22-46c7-98bf-06eccb87c0f0
  9. rake aborted!
  10. ForemanTasks::TaskError: Task b3c94f62-ed22-46c7-98bf-06eccb87c0f0: PulpcoreClient::ApiError: Error message: the server returns an error
  11. HTTP status code: 403
  12. Response headers: {"date"=>"Wed, 24 Feb 2021 08:11:18 GMT", "server"=>"gunicorn/20.0.4", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"GET, PATCH, DELETE, HEAD, OPTIONS", "x-frame-options"=>"SAMEORIGIN", "content-length"=>"63", "via"=>"1.1 foreman.com", "connection"=>"close"}
  13. Response body: {"detail":"You do not have permission to perform this action."}
  14. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1/lib/katello/tasks/pulp3_migration.rake:31:in `block (2 levels) in <top (required)>'
  15. /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
  16. Tasks: TOP => katello:pulp3_migration
  17. (See full trace by running task with --trace)
  18. Starting task.
  19. 2021-02-24 09:11:15 +0100: Content migration starting.
  20. --------------------------------------------------------------------------------
  21. Scenario [Switch support for certain content from Pulp 2 to Pulp 3] failed.
  22.  
  23. The following steps ended up in failing state:
  24.  
  25. [content-switchover]
  26.  
  27. Resolve the failed steps and rerun
  28. the command. In case the failures are false positives,
  29. use --whitelist="content-switchover"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement