RHEL 6.3 RHEV-M installation failure...

Latest response

I had a RHEL 6.3 server (DL380G5) with kernel 2.6.32-279.14.1.el6.x86_64 installed.  I am registered to the Red Hat repos and I added the rhev repo and installed rhev by doing 'yum install rhevm'.   Installation completed with no errors but when I try to configure it, I get errors:

In order to proceed the installer must stop the ovirt-engine service
Would you like to stop the ovirt-engine service? (yes|no):
Would you like to stop the ovirt-engine service? (yes|no): yes
Stopping ovirt-engine service... RHEV Manager 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] : no
HTTP Port  [8700] :
HTTPS Port  [8701] :
Host fully qualified domain name. Note: this name should be fully resolvable  [xxxx.xxxx.xxx.xxxx] :
Enter a password for an internal RHEV Manager administrator user (admin@internal) :
Confirm password :
Organization Name for the Certificate  [xxx.xxx.xxx] :
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 RHEV Manager DB admin user (engine) :
Confirm password :
Configure NFS share on this server to be used as an ISO Domain? ['yes'| 'no']  [yes] : no
Firewall ports need to be opened.
The installer can 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 /etc/ovirt-engine/iptables.example
Configure iptables ? ['yes'| 'no']: yes

RHEV Manager will be installed using the following configuration:
=================================================================
override-httpd-config:         no
http-port:                     8700
https-port:                    8701
host-fqdn:                     xxx.xxx.xxx.xxx
auth-pass:                     ********
org-name:                      xxx.xxx.xxx
default-dc-type:               NFS
db-remote-install:             local
db-local-pass:                 ********
config-nfs:                    no
override-iptables:             yes
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring RHEV Manager...                              [ DONE ]
Configuring JVM...                                       [ DONE ]
Creating CA...                                           [ DONE ]
Updating ovirt-engine service...                         [ DONE ]
Setting Database Configuration...                        [ DONE ]
Setting Database Security...                             [ DONE ]
Creating Database...                                  [ ERROR ]
Database creation failed
Please check log file /var/log/ovirt-engine/engine-setup_2012_12_10_17_19_23.log for more information

rhevm-cleanup returns errors as well:

# rhevm-cleanup
WARNING: Executing oVirt Engine cleanup utility.
This utility will wipe all existing data including configuration settings, certificates and database.
In addition, all existing DB connections will be closed.
Would you like to proceed? (yes|no): yes

Stopping ovirt-engine service...                         [ DONE ]
Removing Database...                                    [ ERROR ]
Removing CA...                                           [ DONE ]
Stopping engine-notifierd service...                     [ DONE ]

Cleanup finished with errors, please see log file
Error: failed to block new DB connections
Cleanup log available at /var/log/ovirt-engine/engine-cleanup_2012_12_10_17_21_32.log

The log shows the same set of errors on both setup and cleanup:

2012-12-10 17:21:34::DEBUG::common_utils::341::root:: stderr =
2012-12-10 17:21:34::DEBUG::common_utils::342::root:: retcode = 0
2012-12-10 17:21:34::DEBUG::common_utils::473::root:: Found IP Address: 16.113.4.163
2012-12-10 17:21:34::DEBUG::common_utils::473::root:: Found IP Address: 192.168.100.1
2012-12-10 17:21:34::DEBUG::common_utils::473::root:: Found IP Address: 192.168.122.1
2012-12-10 17:21:34::INFO::common_utils::932::root:: Closing DB 'engine' for new connections
2012-12-10 17:21:34::DEBUG::common_utils::653::root:: found existing pgpass file, fetching DB admin value
2012-12-10 17:21:34::DEBUG::common_utils::302::root:: Executing command --> '/usr/bin/psql -U postgres -c update pg_d
atabase set datallowconn = 'false' where datname = 'engine';'
2012-12-10 17:21:34::DEBUG::common_utils::340::root:: output =
2012-12-10 17:21:34::DEBUG::common_utils::341::root:: stderr = /usr/bin/psql: symbol lookup error: /usr/bin/psql: und
efined symbol: PQconnectionNeedsPassword

2012-12-10 17:21:34::DEBUG::common_utils::342::root:: retcode = 127
2012-12-10 17:21:34::ERROR::rhevm-cleanup::402::root:: Traceback (most recent call last):
  File "/usr/bin/rhevm-cleanup", line 396, in runFunc
    funcName()
  File "/usr/bin/rhevm-cleanup", line 308, in drop
    utils.clearDbConnections(basedefs.DB_NAME)
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 939, in clearDbConnections
    execCmd(cmdList=cmd, failOnError=True, msg=output_messages.ERR_DB_CONNECTIONS_BLOCK, envDict=getPgPassEnv())
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 345, in execCmd
    raise Exception(msg)
Exception: Error: failed to block new DB connections

2012-12-10 17:21:34::DEBUG::rhevm-cleanup::231::root:: CA backup started
2012-12-10 17:21:34::DEBUG::rhevm-cleanup::239::root:: Copy /etc/pki/ovirt-engine to /etc/pki/ovirt-engine-backups/ovirt-engine-2012_12_10_17_21_34
2012-12-10 17:21:34::DEBUG::rhevm-cleanup::242::root:: CA backup completed successfully
2012-12-10 17:21:34::DEBUG::rhevm-cleanup::245::root:: CA Remove started
2012-12-10 17:21:34::DEBUG::rhevm-cleanup::249::root:: Removing /etc/pki/ovirt-engine/.truststore
2012-12-10 17:21:34::DEBUG::rhevm-cleanup::256::root:: Removing /etc/pki/ovirt-engine/.keystore
2012-12-10 17:21:34::DEBUG::rhevm-cleanup::261::root:: CA Remove completed successfully
2012-12-10 17:21:34::DEBUG::rhevm-cleanup::383::root:: stoping engine-notifierd service.
2012-12-10 17:21:34::DEBUG::common_utils::1108::root:: stopping engine-notifierd
2012-12-10 17:21:34::DEBUG::common_utils::1145::root:: executing action engine-notifierd on service stop
2012-12-10 17:21:34::DEBUG::common_utils::302::root:: Executing command --> '/sbin/service engine-notifierd stop'
2012-12-10 17:21:34::DEBUG::common_utils::340::root:: output =
2012-12-10 17:21:34::DEBUG::common_utils::341::root:: stderr =
2012-12-10 17:21:34::DEBUG::common_utils::342::root:: retcode = 0
2012-12-10 17:21:34::INFO::rhevm-cleanup::408::root:: Error: failed to block new DB connections
 

I'm using the latest 3.1:

# rpm -qa | grep rhevm
rhevm-3.1.0-32.el6ev.noarch                                                                                          
rhevm-log-collector-3.1.0-9.el6ev.noarch                                                                             
rhevm-dbscripts-3.1.0-32.el6ev.noarch                                                                                
rhevm-spice-client-x64-cab-3.1-8.el6.noarch                                                                          
rhevm-genericapi-3.1.0-32.el6ev.noarch                                                                               
rhevm-setup-3.1.0-32.el6ev.noarch                                                                                    
rhevm-sdk-3.1.0.16-1.el6ev.noarch                                                                                    
rhevm-userportal-3.1.0-32.el6ev.noarch                                                                               
rhevm-image-uploader-3.1.0-7.el6ev.noarch                                                                            
rhevm-webadmin-portal-3.1.0-32.el6ev.noarch                                                                          
rhevm-tools-common-3.1.0-32.el6ev.noarch                                                                             
rhevm-backend-3.1.0-32.el6ev.noarch                                                                                  
rhevm-doc-3.1.0-21.el6eng.noarch                                                                                     
rhevm-spice-client-x86-cab-3.1-8.el6.noarch                                                                          
rhevm-iso-uploader-3.1.0-8.el6ev.noarch                                                                              
rhevm-cli-3.1.0.17-1.el6ev.noarch                                                                                    
rhevm-restapi-3.1.0-32.el6ev.noarch                                                                                  
rhevm-config-3.1.0-32.el6ev.noarch                                                                                  
rhevm-notification-service-3.1.0-32.el6ev.noarch  

Any thoughts?

Rick

Responses