[Users] Testing ovirt all in one on F18 gives error on DB creation

Alon Bar-Lev alonbl at redhat.com
Tue Dec 4 08:13:46 UTC 2012



----- Original Message -----
> From: "Gianluca Cecchi" <gianluca.cecchi at gmail.com>
> To: "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: "Juan Antonio Hernandez Fernandez" <jhernand at redhat.com>, "users" <users at ovirt.org>
> Sent: Tuesday, December 4, 2012 9:39:05 AM
> Subject: Re: [Users] Testing ovirt all in one on F18 gives error on DB creation
> 
> Is there a way to "enable" nightly repo for f18 or do I have to
> manually download and install/update?
> I tried downloading manually and installed:
>  [g.cecchi at f18aio ~]$ rpm -qa | egrep "ovirt|vdsm|otopi"
> ovirt-host-deploy-java-0.0.0-0.0.master.20121202.git17db8cd.fc18.noarch
> ovirt-log-collector-3.1.0-1.fc18.noarch
> vdsm-4.10.2-0.57.gite8f3848.fc18.x86_64
> ovirt-engine-sdk-3.2.0.5-1.20121202.gitc0ab704.fc18.noarch
> ovirt-engine-setup-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-engine-webadmin-portal-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-engine-cli-3.2.0.7-1.20121202.gitf43fd5c.fc18.noarch
> otopi-java-0.0.0-0.0.master.20121202.gitedc19ec.fc18.noarch
> vdsm-cli-4.10.2-0.57.gite8f3848.fc18.noarch
> ovirt-engine-restapi-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-engine-notification-service-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-image-uploader-3.1.0-1.fc18.noarch
> ovirt-engine-userportal-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-engine-3.1.0-3.20121202.gite000dc9.fc18.noarch
> otopi-0.0.0-0.0.master.20121202.gitedc19ec.fc18.noarch
> vdsm-bootstrap-4.10.0-11.fc18.noarch
> vdsm-python-4.10.2-0.57.gite8f3848.fc18.x86_64
> ovirt-host-deploy-0.0.0-0.0.master.20121202.git17db8cd.fc18.noarch
> ovirt-engine-dbscripts-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-engine-setup-plugin-allinone-3.1.0-3.20121202.gite000dc9.fc18.noarch
> vdsm-xmlrpc-4.10.2-0.57.gite8f3848.fc18.noarch
> ovirt-engine-config-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-engine-backend-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-host-deploy-offline-0.0.0-0.0.master.20121202.git17db8cd.fc18.noarch
> ovirt-iso-uploader-3.1.0-1.fc18.noarch
> ovirt-engine-tools-common-3.1.0-3.20121202.gite000dc9.fc18.noarch
> ovirt-engine-genericapi-3.1.0-3.20121202.gite000dc9.fc18.noarch
> 
> 
> Now I get:
> 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 ]
> Creating Database...                                            [
> ERROR ]
> Failed updating configuration parameter: Error: failed updating
> configuration field CAEngineKey to
> /etc/pki/ovirt-engine/private/ca.pem
> Please check log file
> /var/log/ovirt-engine/engine-setup_2012_12_04_08_34_45.log for more
> information
> 
> and in that log file:
> 2012-12-04 08:37:04::DEBUG::engine-setup::1786::root:: *** The
> following params were used as user input:
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root::
> override-httpd-config: yes
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: http-port: 80
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: https-port:
> 443
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: mac-range:
> 00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: host-fqdn:
> f18aio.localdomain.local
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: auth-pass:
> ********
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: org-name:
> localdomain.local
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root::
> default-dc-type: NFS
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root::
> db-remote-install: local
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: db-host:
> localhost
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: db-local-pass:
> ********
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: nfs-mp: /ISO
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root::
> iso-domain-name: ISO_DOMAIN
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: config-nfs:
> yes
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root::
> override-iptables: yes
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root::
> config-allinone: yes
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root:: storage-path:
> /DATA
> 2012-12-04 08:37:04::DEBUG::engine-setup::1791::root::
> superuser-pass: ********
> 2012-12-04 08:37:04::ERROR::engine-setup::2195::root:: Traceback
> (most
> recent call last):
>   File "/bin/engine-setup", line 2189, in <module>
>     main(confFile)
>   File "/bin/engine-setup", line 1972, in main
>     runSequences()
>   File "/bin/engine-setup", line 1906, 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 "/bin/engine-setup", line 1113, 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 CAEngineKey to
> /etc/pki/ovirt-engine/private/ca.pem
> 
> Thanks for any other inside help,
> Gianluca
> 

You can configure http://resources.ovirt.org/releases/nightly/rpm/Fedora/18/ as a repository within your yum.repos.d.

Nightly snapshots cannot be used as it was recently broken due to[1].

I also wait for a fix.

Thanks!
Alon.

[1] http://gerrit.ovirt.org/#/c/9648/



More information about the Users mailing list