[Engine-devel] Updating ovirt engine from 3.0 to the 3.1.0 version

Shu Ming shuming at linux.vnet.ibm.com
Fri Apr 27 16:48:20 UTC 2012


Hi,
   I built a set of ovirt engine RPM packages from near the latest ovirt 
engine source code.  However, when I try to access the engine server 
with URL "http://ovirt-engine-112:80", the browser displayed a blank 
page without http error returned.  Any clue about what is going on here? 
Why didn't the engine administrator home page be shown?


And the packages were also installed successfully in my target system, 
checked this by "rpm -q -a|grep engine".
  I) upgraded the packages to the 3.1

[root at ovirt-engine-112 ~]# rpm -q -a |grep engine
ovirt-engine-restapi-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-dbscripts-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-log-collector-3.0.0_0001-1.6.fc16.x86_64
ovirt-engine-genericapi-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-backend-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-setup-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-jbossas-1.2-2.fc16.x86_64
ovirt-engine-jboss-deps-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-config-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-webadmin-portal-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-userportal-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-tools-common-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-image-uploader-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-notification-service-3.1.0_0001-1.8.fc16.x86_64
ovirt-engine-iso-uploader-3.1.0_0001-1.8.fc16.x86_64
gtk2-engines-2.20.2-2.fc15.x86_64

Step II)
    Then I used "engine-setup" to setup the engine.  It seems that 
everything is ok, see the log below.

-------------
[root at ovirt-engine-112 ~]# engine-setup
Welcome to oVirt Engine setup utility
HTTP Port  [80] :
HTTPS Port  [443] :
Host fully qualified domain name, note that this name should be fully 
resolvable  [ovirt-engine-112] :
ERROR: domain is not a valid domain name
User input failed validation, do you still wish to use it? (yes|no): yes
Password for Administrator (admin at internal) :
Warning: Weak Password.
Confirm password :
Organization Name for the Certificate: cstl
The default storage type you will be using  ['NFS'| 'FC'| 'ISCSI']  [NFS] :
Enter DB type for installation ['remote'| 'local']  [local] :
Local database password :
Warning: Weak Password.
Confirm password :
Should the installer configure NFS share on this server to be used as an 
ISO Domain? ['yes'| 'no']  [yes] :
Mount point path: /iso-dom
ERROR: mount point already exists in /etc/exports
Mount point path: /iso-dom
Display name for the ISO Domain: iso-domains
Firewall ports need to be opened.
You can let the installer configure iptables automatically overriding 
the current configuration. The old configuration will be backed up.
Alternately you can configure the firewall later using an example 
iptables file found under /usr/share/ovirt-engine/conf/iptables.example
Configure iptables ? ['yes'| 'no']: yes

oVirt Engine will be installed using the following configuration:
=================================================================
http-port:                     80
https-port:                    443
host-fqdn:                     ovirt-engine-112
auth-pass:                     ********
org-name:                      cstl
default-dc-type:               NFS
db-remote-install:             local
db-local-pass:                 ********
nfs-mp:                        /iso-dom
iso-domain-name:               iso-domains
config-nfs:                    yes
override-iptables:             yes
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring oVirt-engine...                              [ DONE ]
Creating CA...                                           [ DONE ]
Editing JBoss Configuration...                           [ DONE ]
Setting Database Configuration...                        [ DONE ]
Setting Database Security...                             [ DONE ]
Creating Database...                                     [ DONE ]
Updating the Default Data Center Storage Type...         [ DONE ]
Editing oVirt Engine Configuration...                    [ DONE ]
Editing Postgresql Configuration...                      [ DONE ]
Configuring the Default ISO Domain...                    [ DONE ]
Configuring Firewall (iptables)...                       [ DONE ]
Starting JBoss Service...                                [ DONE ]
Handling HTTPD...                                        [ DONE ]

  **** Installation completed successfully ******

      (Please allow oVirt Engine a few moments to start up.....)


Additional information:
  * SSL Certificate fingerprint: 
C6:01:83:93:4B:2C:2A:38:65:C8:49:C9:17:34:FE:4B:1C:10:D5:FF
  * SSH Public key fingerprint: 
69:8c:bd:05:43:17:0a:43:a3:cc:62:7e:f7:be:0c:42
  * A default ISO share has been created on this host.
    If IP based access restrictions are required, please edit /iso-dom 
entry in /etc/exports
  * The firewall has been updated, the old iptables configuration file 
was saved to 
/usr/share/ovirt-engine/conf/iptables.backup.011513-04282012_2225
  * The installation log file is available at: 
/var/log/ovirt-engine/engine-setup_2012_04_28_01_13_01.log
  * Please use the user "admin" and password specified in order to login 
into oVirt Engine
  * To configure additional users, first configure authentication 
domains using the 'engine-manage-domains' utility
  * To access oVirt Engine please go to the following URL: 
http://ovirt-engine-112:80
[root at ovirt-engine-112 ~]#


-- 
Shu Ming<shuming at linux.vnet.ibm.com>
IBM China Systems and Technology Laboratory





More information about the Engine-devel mailing list