Project

General

Profile

Actions

Bug #14766

closed

[3.0 RC2] Upgrade Procedure fails in "Upgrade Step: remove_docker_v1_content"

Added by Christian Ehart almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

upgrade.log upgrade.log 1.89 MB Christian Ehart, 04/21/2016 01:19 PM
messages.txt messages.txt 51.7 KB Christian Ehart, 04/21/2016 01:19 PM
production-log.txt production-log.txt 114 KB Christian Ehart, 04/21/2016 01:19 PM
Actions #1

Updated by Eric Helms almost 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.

Actions #2

Updated by The Foreman Bot almost 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
Actions #3

Updated by Justin Sherrill almost 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

Actions #4

Updated by The Foreman Bot almost 8 years ago

  • Assignee set to Justin Sherrill
Actions #5

Updated by Justin Sherrill almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Brad Buckingham almost 8 years ago

  • Bugzilla link set to 1338742
Actions

Also available in: Atom PDF