Bug #14766
closed[3.0 RC2] Upgrade Procedure fails in "Upgrade Step: remove_docker_v1_content"
Description
Maybe this is related to http://projects.theforeman.org/issues/14738, see also attached logs
in short:
[ INFO 2016-04-21 19:01:42 main] Upgrade Step: remove_docker_v1_content (this may take a while) ...
[ERROR 2016-04-21 19:02:03 main] rake aborted!
ForemanTasks::TaskError: Task f58a2b0d-0f80-4ef9-8c3c-d933ad1f7f41: Katello::Errors::CandlepinError: Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.16/lib/foreman_tasks.rb:40:in `block in sync_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.16/lib/foreman_tasks.rb:39:in `tap'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.16/lib/foreman_tasks.rb:39:in `sync_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.rc3/lib/katello/tasks/upgrades/3.0/delete_docker_v1_content.rake:19:in `block (5 levels) in <top (required)>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.rc3/lib/katello/tasks/upgrades/3.0/delete_docker_v1_content.rake:15:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.rc3/lib/katello/tasks/upgrades/3.0/delete_docker_v1_content.rake:15:in `block (4 levels) in <top (required)>'
Tasks: TOP => katello:upgrades:3.0:delete_docker_v1_content
(See full trace by running task with --trace)
Deleting repositories that only contain Docker v1 content....
[ERROR 2016-04-21 19:02:03 main] Upgrade step remove_docker_v1_content failed. Check logs for more information.
[DEBUG 2016-04-21 19:02:03 main] Exit with status code: 1 (signal was 1)
[ERROR 2016-04-21 19:02:03 main] Errors encountered during run:
[ERROR 2016-04-21 19:02:03 main] rake aborted!
ForemanTasks::TaskError: Task f58a2b0d-0f80-4ef9-8c3c-d933ad1f7f41: Katello::Errors::CandlepinError: Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.16/lib/foreman_tasks.rb:40:in `block in sync_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.16/lib/foreman_tasks.rb:39:in `tap'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.16/lib/foreman_tasks.rb:39:in `sync_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.rc3/lib/katello/tasks/upgrades/3.0/delete_docker_v1_content.rake:19:in `block (5 levels) in <top (required)>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.rc3/lib/katello/tasks/upgrades/3.0/delete_docker_v1_content.rake:15:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.rc3/lib/katello/tasks/upgrades/3.0/delete_docker_v1_content.rake:15:in `block (4 levels) in <top (required)>'
Tasks: TOP => katello:upgrades:3.0:delete_docker_v1_content
(See full trace by running task with --trace)
Deleting repositories that only contain Docker v1 content....
[ERROR 2016-04-21 19:02:03 main] Upgrade step remove_docker_v1_content failed. Check logs for more information.
Files
Updated by Eric Helms over 8 years ago
- Status changed from New to Need more information
Please re-test once RC5 comes out and let us know if this is solved.
Updated by The Foreman Bot over 8 years ago
- Status changed from Need more information to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/6074 added
Updated by Justin Sherrill over 8 years ago
- Assignee deleted (
Justin Sherrill)
Christian,
If you get a chance and can test the patch here: https://github.com/Katello/katello/pull/6074 it would be very helpful. I think this is possibly a race condition where one of two situations can occur, i got a slightly different error so i think maybe i hit the 2nd condition while you hit the first.
Thanks,
-Justin
Updated by Justin Sherrill over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|5de5cf3a64808de2027d3fbfbffa7b655d25a610.