The first Upgrade is SUCCESS.
Please look the info.
But engine-set is ERROR.
[root@engine ~]# engine-setup
Welcome to oVirt Engine setup utility
WARNING: oVirt Engine setup has already been run on this host.
To remove all configuration and reset oVirt Engine please run engine-cleanup.
Please be advised that executing engine-setup without cleanup is not supported.
Would you like to proceed? (yes|no): yes
In order to proceed the installer must stop the ovirt-engine service
Would you like to stop the ovirt-engine service? (yes|no): yes
oVirt Engine uses httpd to proxy requests to the application server.
It looks like the httpd installed locally is being actively used.
The installer can override current configuration .
Alternatively you can use JBoss directly (on ports higher than 1024)
Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] :
HTTP Port [80] :
HTTPS Port [443] :
Setup can configure server default page to launch oVirt Engine. Do you wish to do so? ['yes'| 'no'] [yes] :
Host fully qualified domain name. Note: this name should be fully resolvable [
engine.startn.com] :
User input failed validation, do you still wish to use it? (yes|no): yes
Enter a password for an internal oVirt Engine administrator user (admin@internal) :
Warning: Weak Password.
Confirm password :
Organization Name for the Certificate [
startn.com] :
The engine can be configured to present the UI in three different application modes. virt [Manage virtualization only], gluster [Manage gluster storage only], and both [Manage virtualization as well as gluster storage] ['virt'| 'gluster'| 'both'] [both] :
The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'| 'POSIXFS'] [NFS] :
Enter DB type for installation ['remote'| 'local'] [local] :
Enter a password for a local oVirt Engine DB admin user (engine) :
Warning: Weak Password.
Confirm password :
Local ISO domain path [/var/lib/exports/iso_2013_04_19_21_46_58] :
Firewall ports need to be opened.
The installer can configure firewall automatically overriding the current configuration. The old configuration will be backed up.
Alternately you can configure the firewall later using an example file selecting None.
Which firewall manager do you wish to use? ['None'| 'Firewalld'| 'iptables']: None
Configure VDSM on this host? ['yes'| 'no'] [yes] :
Local storage domain path [/var/lib/images_2013_04_19_21_46_58] :
Confirm root password :
oVirt Engine will be installed using the following configuration:
=================================================================
override-httpd-config: yes
http-port: 80
https-port: 443
override-httpd-root: yes
auth-pass: ********
application-mode: both
default-dc-type: NFS
db-remote-install: local
db-local-pass: ********
nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58
firewall-manager: None
config-allinone: yes
storage-path: /var/lib/images_2013_04_19_21_46_58
superuser-pass: ********
Proceed with the configuration listed above? (yes|no): yes
Installing:
AIO: Validating CPU Compatibility... [ DONE ]
AIO: Adding firewall rules... [ DONE ]
Configuring oVirt Engine... [ DONE ]
Configuring JVM... [ DONE ]
Creating CA... [ DONE ]
Updating ovirt-engine service... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Upgrading Database Schema... [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration... [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall... [ DONE ]
Starting ovirt-engine Service... [ DONE ]
Configuring HTTPD... [ DONE ]
AIO: Creating storage directory... [ DONE ]
AIO: Adding Local Datacenter and cluster... [ ERROR ]
Error: could not create ovirtsdk API object
Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr =
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _setupVarPrivileges
2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> 'chown -Rh ovirt:ovirt /var/lib/ovirt-engine/deployments' in working directory '/root'
2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr =
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _startEngine
2013-04-19 21:48:39::DEBUG::engine-setup::1787::root:: using chkconfig to enable engine to load on system startup.
2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig ovirt-engine on' in working directory '/root'
2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable ovirt-engine.service'.
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:39::DEBUG::common_utils::1285::root:: stopping ovirt-engine
2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service stop
2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine stop' in working directory '/root'
2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:39::DEBUG::common_utils::1275::root:: starting ovirt-engine
2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service start
2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine start' in working directory '/root'
2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _configureSelinuxBoolean
2013-04-19 21:48:39::DEBUG::engine-setup::742::root:: Enable httpd_can_network_connect boolean
2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage boolean --modify --on httpd_can_network_connect' in working directory '/root'
2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr =
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _backupOldHttpdConfig
2013-04-19 21:48:52::DEBUG::engine-setup::728::root:: Backup old httpd configuration files
2013-04-19 21:48:52::DEBUG::engine-setup::732::root:: Backing up /etc/httpd/conf/httpd.conf into /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52
2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf/httpd.conf to target destination /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52
2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership
2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 mode to -1
2013-04-19 21:48:52::DEBUG::engine-setup::737::root:: Backing up /etc/httpd/conf.d/ssl.conf into /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52
2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf.d/ssl.conf to target destination /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52
2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership
2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 mode to -1
2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslKeys
2013-04-19 21:48:52::DEBUG::engine-setup::754::root:: Update /etc/httpd/conf.d/ssl.conf to use engine private key in mod_ssl directives
2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdPort
2013-04-19 21:48:52::DEBUG::engine-setup::786::root:: Update /etc/httpd/conf/httpd.conf to listen in the new HTTP port
2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslPort
2013-04-19 21:48:52::DEBUG::engine-setup::798::root:: Update /etc/httpd/conf.d/ssl.conf to listen in the new HTTPS port
2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _redirectUrl
2013-04-19 21:48:52::DEBUG::common_utils::84::root:: Processing template /usr/share/ovirt-engine/conf/
ovirt-engine-proxy.conf.in to /etc/httpd/conf.d/z-ovirt-engine-proxy.conf vars {'@JBOSS_AJP_PORT@': '8702'}
2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /usr/share/ovirt-engine/conf/
ovirt-engine-root-redirect.conf.in to target destination /etc/httpd/conf.d/ovirt-engine-root-redirect.conf
2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf uid/gid ownership
2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf mode to -1
2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _startHttpd
2013-04-19 21:48:52::DEBUG::engine-setup::1769::root:: Handling the httpd service
2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig httpd on' in working directory '/root'
2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable httpd.service'.
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:52::DEBUG::common_utils::1285::root:: stopping httpd
2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service stop
2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd stop' in working directory '/root'
2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop httpd.service
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:52::DEBUG::common_utils::1275::root:: starting httpd
2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service start
2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd start' in working directory '/root'
2013-04-19 21:48:54::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:54::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start httpd.service
2013-04-19 21:48:54::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:54::DEBUG::setup_sequences::59::root:: running makeStorageDir
2013-04-19 21:48:54::DEBUG::all_in_one_100::374::root:: Creating/Verifying local domain path
2013-04-19 21:48:54::DEBUG::all_in_one_100::377::root:: Creating directory /var/lib/images_2013_04_19_21_46_58
2013-04-19 21:48:54::DEBUG::all_in_one_100::380::root:: Setting selinux context
2013-04-19 21:48:54::DEBUG::nfsutils::119::root:: setting selinux context for /var/lib/images_2013_04_19_21_46_58
2013-04-19 21:48:54::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage fcontext -a -t public_content_rw_t /var/lib/images_2013_04_19_21_46_58(/.*)?' in working directory '/root'
2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr =
2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:55::DEBUG::common_utils::456::root:: Executing command --> '/sbin/restorecon -r /var/lib/images_2013_04_19_21_46_58' in working directory '/root'
2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output =
2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr =
2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0
2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running waitForJbossUp
2013-04-19 21:48:55::DEBUG::all_in_one_100::451::root:: Checking JBoss status.
2013-04-19 21:48:55::INFO::all_in_one_100::454::root:: JBoss is up and running.
2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running initAPI
2013-04-19 21:48:55::DEBUG::all_in_one_100::240::root:: Initiating the API object
2013-04-19 21:48:56::ERROR::all_in_one_100::251::root:: Traceback (most recent call last):
File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 248, in initAPI
ca_file=basedefs.FILE_CA_CRT_SRC,
File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 119, in __init__
url='/api'
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 112, in request
persistent_auth=self._persistent_auth)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 134, in __doRequest
persistent_auth=persistent_auth
File "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py", line 133, in doRequest
raise RequestError, response
RequestError:
status: 401
reason: Unauthorized
detail: HTTP Status 401
2013-04-19 21:48:56::DEBUG::setup_sequences::62::root:: Traceback (most recent call last):
File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
function()
File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI
raise Exception(ERROR_CREATE_API_OBJECT)
Exception: Error: could not create ovirtsdk API object
2013-04-19 21:48:56::DEBUG::engine-setup::2064::root:: *** The following params were used as user input:
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-config: yes
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: http-port: 80
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: https-port: 443
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-root: yes
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: random-passwords: no
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: mac-range: 00:1A:4A:A8:C3:00-00:1A:4A:A8:C3:FF
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: auth-pass: ********
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: org-name:
startn.com2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: application-mode: both
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: default-dc-type: NFS
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-remote-install: local
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-host: localhost
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-local-pass: ********
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: iso-domain-name: ISO_DOMAIN
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-nfs: yes
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: firewall-manager: None
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-allinone: yes
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: storage-path: /var/lib/images_2013_04_19_21_46_58
2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: superuser-pass: ********
2013-04-19 21:48:56::ERROR::engine-setup::2504::root:: Traceback (most recent call last):
File "/usr/bin/engine-setup", line 2498, in <module>
main(confFile)
File "/usr/bin/engine-setup", line 2265, in main
runSequences()
File "/usr/bin/engine-setup", line 2184, in runSequences
controller.runAllSequences()
File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences
sequence.run()
File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run
step.run()
File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
function()
File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI
raise Exception(ERROR_CREATE_API_OBJECT)
Exception: Error: could not create ovirtsdk API object