Hi I was able to fix this. The problem was this issue: http://projects.theforeman.org/issues/14674
I had to manually remove package python-semantic-version and it also removed dependencies like katello and katello-common. When I installed katello back again, upgrade was successful. Edgars pirmdiena, 2016. gada 20. jūnijs 22:22:00 UTC+2, John Mitsch rakstīja: > > Edgar, > > Can you look for the full error in the /var/log/foreman-installer/* files? > > Thanks, > > John Mitsch > Red Hat Engineering > (860)-967-7285 > irc: jomitsch > > On Mon, Jun 20, 2016 at 5:43 AM, Edgars M. <[email protected] > <javascript:>> wrote: > >> Hi >> >> I am upgrading Katello from 2.4.4 to 3.0.1: >> >> >> >> sudo foreman-installer --scenario katello --upgrade >> Upgrading... >> Upgrade Step: stop_services... >> Upgrade Step: start_databases... >> Upgrade Step: update_http_conf... >> Upgrade Step: migrate_pulp... >> Upgrade Step: fix_pulp_httpd_conf... >> Upgrade Step: start_httpd... >> Upgrade Step: start_qpidd... >> Upgrade Step: start_pulp... >> Upgrade Step: migrate_candlepin... >> Upgrade Step: start_tomcat... >> Upgrade Step: fix_katello_settings_file... >> Upgrade Step: migrate_foreman... >> Upgrade step migrate_foreman failed. Check logs for more information. >> >> [ INFO 2016-06-20 11:36:56 main] Upgrade Step: migrate_foreman... >> [ERROR 2016-06-20 11:37:10 main] >> rake aborted! >> NoMethodError: undefined method `value' for nil:NilClass >> /usr/share/foreman/lib/tasks/config.rake:103:in `block in run_key_values' >> /usr/share/foreman/lib/tasks/config.rake:100:in `each' >> /usr/share/foreman/lib/tasks/config.rake:100:in `run_key_values' >> /usr/share/foreman/lib/tasks/config.rake:77:in `run' >> /usr/share/foreman/lib/tasks/config.rake:150:in `block in <top >> (required)>' >> Tasks: TOP => config >> (See full trace by running task with --trace) >> >> >> [ERROR 2016-06-20 11:37:36 main] Upgrade step migrate_foreman failed. >> Check logs for more information. >> [DEBUG 2016-06-20 11:37:36 main] Exit with status code: 1 (signal was 1) >> [ERROR 2016-06-20 11:37:36 main] Errors encountered during run: >> [ERROR 2016-06-20 11:37:36 main] >> >> >> Any idea what is the problem? >> >> Edgars >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
