[Users] unable to create certificate authority during engine-setup

Hello, F18 AIO with ovirt nightly as of: ovirt-engine-3.2.0-1.20121219.gitcd0d2cc.fc18.noarch Trying to run engine-setup I get this error: Confirm root password : oVirt Engine will be installed using the following configuration: ================================================================= override-httpd-config: yes http-port: 80 https-port: 443 host-fqdn: myserver.mylocaldomain.com auth-pass: ******** org-name: MyOrg default-dc-type: NFS db-remote-install: local db-local-pass: ******** nfs-mp: /ISO override-iptables: yes config-allinone: yes storage-path: /DATA 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... [ ERROR ] Failed to create certificate authority Certificate is to be certified until Dec 18 15:29:35 2022 GMT (3650 days) Write out database with 1 new entries Data Base Updated Certificate was added to keystore Generating a 2048 bit RSA private key ............................+++ ............................................................+++ writing new private key to '/tmp/engine.12002.key' ----- ./SignReq.sh: line 86: /var/lock/ovirt-engine/.openssl.exclusivelock: No such file or directory file 'certs/engine.cer' does not exist! 2012-12-20 16:29:36::DEBUG::common_utils::464::root:: retcode = 1 2012-12-20 16:29:36::ERROR::engine-setup::851::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 777, in _createCA out, rc = utils.execCmd(cmdList=cmd, failOnError=True, msg=output_messages.ERR_RC_CODE, maskList=[basedefs.CONST_CA_PASS]) File "/usr/share/ovirt-engine/scripts/common_utils.py", line 467, in execCmd raise Exception(msg) Exception: Return Code is not zero

Made some tests. Note that engine-setup --> fails engine-cleanup --> ok engine-setup --> fails again with same error about CA while engine-setup --> fails at Creating CA... [ ERROR ] Failed to create certificate authority engine-setup again --> ok for the CA step but Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Creating Database... [ ERROR ] Failed updating configuration parameter: Error: failed updating configuration field LocalAdminPassword to ******** In logfile: 2012-12-20 16:39:26::DEBUG::common_utils::424::root:: Executing command --> '/usr/bin/engine-config -s LocalAdminPassword --admin-pass-file=/tmp/tmpahrM5u --cver=general -p /usr/share/ovirt-engine/conf/engi ne-config-install.properties' 2012-12-20 16:39:28::DEBUG::common_utils::462::root:: output = 2012-12-20 16:39:28::DEBUG::common_utils::463::root:: stderr = Error setting LocalAdminPassword's value. Failed to encrypt the current value 2012-12-20 16:39:28::DEBUG::common_utils::464::root:: retcode = 1 2012-12-20 16:39:28::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/bin/engine-setup", line 1112, in _updateVDCOptions raise Exception(output_messages.ERR_FAILED_UPD_VDC_OPTIONS%(sys.exc_info()[1])) Exception: Failed updating configuration parameter: Error: failed updating configuration field LocalAdminPassword to ******** Gianluca

Hi, There should be some log at /var/log/ovirt-engine, such as engine-config.log. Please execute engine-cleanup, remove all log files, execute again and send me all. Thanks! Alon ----- Original Message -----
From: "Gianluca Cecchi" <gianluca.cecchi@gmail.com> To: "users" <users@ovirt.org> Sent: Thursday, December 20, 2012 3:34:23 PM Subject: [Users] unable to create certificate authority during engine-setup
Hello, F18 AIO with ovirt nightly as of:
ovirt-engine-3.2.0-1.20121219.gitcd0d2cc.fc18.noarch
Trying to run engine-setup I get this error:
Confirm root password :
oVirt Engine will be installed using the following configuration: ================================================================= override-httpd-config: yes http-port: 80 https-port: 443 host-fqdn: myserver.mylocaldomain.com auth-pass: ******** org-name: MyOrg default-dc-type: NFS db-remote-install: local db-local-pass: ******** nfs-mp: /ISO override-iptables: yes config-allinone: yes storage-path: /DATA 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... [ ERROR ] Failed to create certificate authority
Certificate is to be certified until Dec 18 15:29:35 2022 GMT (3650 days)
Write out database with 1 new entries Data Base Updated Certificate was added to keystore Generating a 2048 bit RSA private key ............................+++ ............................................................+++ writing new private key to '/tmp/engine.12002.key' ----- ./SignReq.sh: line 86: /var/lock/ovirt-engine/.openssl.exclusivelock: No such file or directory file 'certs/engine.cer' does not exist! 2012-12-20 16:29:36::DEBUG::common_utils::464::root:: retcode = 1 2012-12-20 16:29:36::ERROR::engine-setup::851::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 777, in _createCA out, rc = utils.execCmd(cmdList=cmd, failOnError=True, msg=output_messages.ERR_RC_CODE, maskList=[basedefs.CONST_CA_PASS]) File "/usr/share/ovirt-engine/scripts/common_utils.py", line 467, in execCmd raise Exception(msg) Exception: Return Code is not zero
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Alon Bar-Lev
-
Gianluca Cecchi