So here is the upgrade log:
foreman ODW [/home/sxin] 1001# katello-installer --upgrade
Upgrading…
Upgrade Step: stop_services…
Upgrade Step: start_databases…
Upgrade Step: migrate_pulp…
Upgrade Step: start_httpd…
Upgrade step start_httpd failed. Check logs for more information.
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:104:in error': wrong number of arguments (4 for 1) (ArgumentError) from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:104:in
send'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:104:in
dump_buffer' from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:104:in
each'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:104:in
dump_buffer' from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:103:in
each'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:103:in
dump_buffer' from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:94:in
dump_errors'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/logger.rb:99:in
dump_errors' from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/exit_handler.rb:26:in
exit'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/kafo_configure.rb:125:in
exit' from /usr/share/katello-installer/hooks/pre/30-upgrade.rb:55:in
fail_and_exit'
from /usr/share/katello-installer/hooks/pre/30-upgrade.rb:49:in
upgrade_step' from /usr/share/katello-installer/hooks/pre/30-upgrade.rb:65:in
load'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/hook_context.rb:13:in
instance_exec' from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/hook_context.rb:13:in
execute'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/hooking.rb:50:in execute' from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/hooking.rb:48:in
each'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/hooking.rb:48:in execute' from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/kafo_configure.rb:307:in
run_installation'
from
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/kafo_configure.rb:112:in
execute' from /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/command.rb:68:in
run'
from
/usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/command.rb:133:in run' from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.12/lib/kafo/kafo_configure.rb:119:in
run'
from /usr/sbin/katello-installer:59
I tried to restart httpd, and I saw:
foreman ODW [/var/log/httpd] 1078# /etc/init.d/httpd start
Starting httpd: Syntax error on line 27 of /etc/httpd/conf.d/03-crane.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not
included in the server configuration [FAILED]
in 03-crane.conf, it was:
************************************
Vhost template in module puppetlabs-apache
Managed by Puppet
************************************
<VirtualHost *:5000>
ServerName foreman.anim.odw.com.cn
Vhost docroot
DocumentRoot "/usr/share/crane/"
Directories, there should at least be a declaration for
/usr/share/crane/
<Directory "/usr/share/crane/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Logging
ErrorLog "/var/log/httpd/crane_error_ssl.log"
ServerSignature Off
CustomLog "/var/log/httpd/crane_access_ssl.log" combined
SSL directives
SSLEngine on
SSLCertificateFile "/etc/pki/katello/certs/katello-apache.crt"
SSLCertificateKeyFile "/etc/pki/katello/private/katello-apache.key"
SSLCertificateChainFile "/etc/pki/katello/certs/katello-default-ca.crt"
SSLCACertificatePath "/etc/pki/tls/certs"
SSLCACertificateFile "/etc/pki/katello/certs/katello-default-ca.crt"
SSLProxyEngine On
SSLVerifyClient optional
SSLVerifyDepth 3
SSLOptions +StdEnvVars +ExportCertData +FakeBasicAuth
WSGIScriptAlias / "/usr/share/crane/crane.wsgi"
</VirtualHost>
I am pretty sure that this file was not modified.