----- Original Message -----
On 04/02/2013 09:56 AM, Guy Matz wrote:
Hi! I'm seeing the following two issues when upgrading katello from 1.2 -> 1.3 using katello-upgrade. Any thoughts are greatly appreciated!
Hi Guy,
Katello 1.3 has not been released yet. We are targeting towards the end of april for the release. I believe you are looking at some older repos where we had done some test builds a while back. I would not recommend using them :)
We'll announce a release candidate closer to the time of release. So keep an eye out for that as well as the full release announcement!
We should remove http://fedorapeople.org/groups/katello/releases/yum/1.3/ and particular subsystem repos. It's not very intuitive to have them until the release is done.
-- Ivan
Thanks,
-Justin
Issue 1. Starting step Start Apache httpd service Starting httpd: [Tue Apr 02 09:19:22 2013] [warn] The Alias directive in /etc/httpd/conf.d/pulp_rpm.conf at line 23 will probably never match because it overlaps an earlier Alias. [Tue Apr 02 09:19:22 2013] [warn] The Alias directive in /etc/httpd/conf.d/pulp_rpm.conf at line 66 will probably never match because it overlaps an earlier Alias. [Tue Apr 02 09:19:22 2013] [warn] The Alias directive in /etc/httpd/conf.d/pulp_rpm.conf at line 73 will probably never match because it overlaps an earlier Alias.
I seem to have some of the same aliases in pulp.conf and pulp_rpm.conf. Do I need both? Can I safely remove one? # grep Alias /etc/httpd/conf.d/pulp.conf /etc/httpd/conf.d/pulp_rpm.conf /etc/httpd/conf.d/pulp.conf:WSGIScriptAlias /pulp/api /srv/pulp/webservices.wsgi /etc/httpd/conf.d/pulp.conf:Alias /pulp/repos /var/www/pub/repos /etc/httpd/conf.d/pulp.conf:Alias /pulp/gpg /var/www/pub/gpg /etc/httpd/conf.d/pulp.conf:Alias /pulp/ks /var/www/pub/ks /etc/httpd/conf.d/pulp_rpm.conf:Alias /pulp/repos /var/www/pub/https/repos /etc/httpd/conf.d/pulp_rpm.conf: Alias /pulp/repos /var/www/pub/http/repos /etc/httpd/conf.d/pulp_rpm.conf: Alias /pulp/isos /var/www/pub/http/isos /etc/httpd/conf.d/pulp_rpm.conf:Alias /pulp/isos /var/www/pub/https/isos /etc/httpd/conf.d/pulp_rpm.conf:Alias /pulp/gpg /var/www/pub/gpg /etc/httpd/conf.d/pulp_rpm.conf:Alias /pulp/ks /var/www/pub/ks
Issue 2. Seems that app_mode and app_name used to exist in katello.yml in 1.2, but no longer do . . . Step: Delete orphan providers (10/16) Runs: once Description: RHBZ 885261 and RHBZ 881568 - there were problems when deleting organizations, providers were left in a database and foreign keys were referring to wrong IDs. This script deletes all orphan providers from Katello database.
Do you want to proceed with this step?: [(y)es/(n)o/(s)kip]: y Starting step Delete orphan providers /usr/share/katello/lib/katello_config.rb:99:in `[]': missing key 'app_name' in configuration (Katello::Configuration::Node::NoKey) from /usr/share/katello/lib/katello_config.rb:325:in `post_process' from /usr/share/katello/lib/katello_config.rb:308:in `load' from /usr/share/katello/lib/katello_config.rb:306:in `tap' from /usr/share/katello/lib/katello_config.rb:306:in `load' from /usr/share/katello/lib/katello_config.rb:284:in `early_config' from /usr/share/katello/lib/katello_config.rb:405:in `early_config' from /usr/share/katello/bundler.d/foreman.rb:3:in `evaluate' from /usr/share/katello/Gemfile.in:73:in `each' from /usr/share/katello/Gemfile.in:73:in `evaluate' from /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:14:in `parse_from_gemfile' from /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in `system_require' from /usr/share/katello/config/application.rb:24 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/share/katello/install/upgrade-scripts/0701_delete_undeleted_providers.rb:12 Upgrade script did not return zero, investigate, stop services and re-run upgrade. More info in /var/log/katello/katello_upgrade.log
upgrade.log says:
04/02/13 09:36:33 Step: Delete orphan providers (10/16) 04/02/13 09:36:33 Runs: once 04/02/13 09:37:24 Starting step Delete orphan providers 04/02/13 09:37:24 /usr/share/katello/lib/katello_config.rb:99:in `[]': missing key 'app_name' in configuration (Katello::Configuration::Node::NoKey) 04/02/13 09:37:24 from /usr/share/katello/lib/katello_config.rb:325:in `post_process' 04/02/13 09:37:24 from /usr/share/katello/lib/katello_config.rb:308:in `load' 04/02/13 09:37:24 from /usr/share/katello/lib/katello_config.rb:306:in `tap' 04/02/13 09:37:24 from /usr/share/katello/lib/katello_config.rb:306:in `load' 04/02/13 09:37:24 from /usr/share/katello/lib/katello_config.rb:284:in `early_config' 04/02/13 09:37:24 from /usr/share/katello/lib/katello_config.rb:405:in `early_config' 04/02/13 09:37:24 from /usr/share/katello/bundler.d/foreman.rb:3:in `evaluate' 04/02/13 09:37:24 from /usr/share/katello/Gemfile.in:73:in `each' 04/02/13 09:37:24 from /usr/share/katello/Gemfile.in:73:in `evaluate' 04/02/13 09:37:24 from /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:14:in `parse_from_gemfile' 04/02/13 09:37:24 from /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in `system_require' 04/02/13 09:37:24 from /usr/share/katello/config/application.rb:24 04/02/13 09:37:24 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' 04/02/13 09:37:24 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' 04/02/13 09:37:24 from /usr/share/katello/install/upgrade-scripts/0701_delete_undeleted_providers.rb:12
katello mailing list katello@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/katello
katello mailing list katello@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/katello