[Users] ovirt 3.2 all-in-one setup always fails

Alex Lourie alourie at redhat.com
Sun Mar 10 10:19:06 UTC 2013


On Fri 08 Mar 2013 04:33:53 PM IST, Alex Leonhardt wrote:
>
> Also, the there seem to be missing some dependencies for
>
> - messagebus (service not enabled/started/installed)
> - avahi-daemon (wasnt installed, had to install and start / enable)
>
> else
>
> libvirtd   will not start and the setup will fail.
>
>
>
>
> On 8 March 2013 14:30, Alex Leonhardt <alex.tuxx at gmail.com
> <mailto:alex.tuxx at gmail.com>> wrote:
>
>     And here from when I tried to use "localhost" as the host / fqdn :
>
>
>     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...
>     [ 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...
>     [ DONE ]
>     Starting ovirt-engine Service...
>     [ DONE ]
>     Configuring HTTPD...
>     [ DONE ]
>     AIO: Creating storage directory...
>     [ DONE ]
>     AIO: Adding Local Datacenter and cluster...
>     [ DONE ]
>     AIO: Adding Local host (This may take several minutes)...      [
>     ERROR ]
>     Error: Host was found in a 'Failed' state. Please check engine and
>     bootstrap installation logs.
>     Please check log file
>     /var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for
>     more information
>     Exception in thread libvirtEventLoop (most likely raised during
>     interpreter shutdown)
>
>     #########
>
>
>     2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
>     _loadFilesToIsoDomain
>     2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback
>     (most recent call last):
>       File "/usr/bin/engine-setup", line 1835, in _loadFilesToIsoDomain
>         utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
>     basedefs.CONST_KVM_GID)
>       File "/usr/share/ovirt-engine/scripts/common_utils.py", line
>     706, in copyFile
>         shutil.copy2(fileSrc, destination)
>       File "/usr/lib64/python2.6/shutil.py", line 95, in copy2
>         copyfile(src, dst)
>       File "/usr/lib64/python2.6/shutil.py", line 50, in copyfile
>         with open(src, 'rb') as fsrc:
>     IOError: [Errno 2] No such file or directory:
>     '/usr/share/virtio-win/virtio-win.vfd'
>
>     2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to
>     copy files to iso domain
>
>
>     [snip]
>
>     2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
>     waitForHostUp
>     2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting
>     for host to become operational
>     2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current
>     host status is: installing
>     2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback
>     (most recent call last):
>
>       File
>     "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line
>     314, in isHostUp
>         raise Exception(INFO_CREATE_HOST_WAITING_UP)
>     Exception: Waiting for the host to start
>
>     2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting
>     for host to become operational
>     2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current
>     host status is: install_failed
>     2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback
>     (most recent call last):
>
>       File
>     "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line
>     312, in isHostUp
>         raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
>     RetryFailException: Error: Host was found in a 'Failed' state.
>     Please check engine and bootstrap installation logs.
>
>     2013-03-08 14:14:19::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
>     300, in waitForHostUp
>         utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
>       File "/usr/share/ovirt-engine/scripts/common_utils.py", line
>     1010, in retry
>         raise e
>     RetryFailException: Error: Host was found in a 'Failed' state.
>     Please check engine and bootstrap installation logs.
>
>
>     2013-03-08 14:14:19::DEBUG::engine-setup::1934::root:: *** The
>     following params were used as user input:
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     override-httpd-config: yes
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: http-port: 80
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: https-port: 443
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     random-passwords: no
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: mac-range:
>     00:1A:4A:A8:14:00-00:1A:4A:A8:14:FF
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: host-fqdn:
>     localhost
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: auth-pass:
>     ********
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: org-name:
>     BrightTALK
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     application-mode: both
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     default-dc-type: NFS
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     db-remote-install: local
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: db-host:
>     localhost
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     db-local-pass: ********
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: nfs-mp:
>     /exports/iso
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     iso-domain-name: ISO_DOMAIN
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: config-nfs: yes
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     override-firewall: None
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     config-allinone: yes
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     storage-path: /vmfs
>     2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
>     superuser-pass: ********
>     2013-03-08 14:14:19::ERROR::engine-setup::2355::root:: Traceback
>     (most recent call last):
>       File "/usr/bin/engine-setup", line 2349, in <module>
>         main(confFile)
>       File "/usr/bin/engine-setup", line 2132, in main
>         runSequences()
>       File "/usr/bin/engine-setup", line 2054, 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
>     300, in waitForHostUp
>         utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
>       File "/usr/share/ovirt-engine/scripts/common_utils.py", line
>     1010, in retry
>         raise e
>     RetryFailException: Error: Host was found in a 'Failed' state.
>     Please check engine and bootstrap installation logs.
>
>
>
>     On 8 March 2013 14:27, Alex Leonhardt <alex.tuxx at gmail.com
>     <mailto:alex.tuxx at gmail.com>> wrote:
>
>         Hi,
>
>         The setup keeps failing at "waitforhostup" with :
>
>
>         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...                                              [ 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...                                           [ DONE ]
>         Starting ovirt-engine
>         Service...                                  [ DONE ]
>         Configuring
>         HTTPD...                                              [ DONE ]
>         AIO: Creating storage
>         directory...                                [ DONE ]
>         AIO: Adding Local Datacenter and
>         cluster...                       [ DONE ]
>         AIO: Adding Local host (This may take several minutes)...
>         [ ERROR ]
>         Error: Host was found in a 'Failed' state. Please check engine
>         and bootstrap installation logs.
>         Please check log file
>         /var/log/ovirt-engine/engine-setup_2013_03_08_14_17_42.log for
>         more information
>
>         #####
>
>         2013-03-08 14:22:43::DEBUG::setup_sequences::59::root::
>         running waitForHostUp
>         2013-03-08 14:22:43::DEBUG::all_in_one_100::303::root::
>         Waiting for host to become operational
>         2013-03-08 14:22:43::DEBUG::all_in_one_100::306::root::
>         current host status is: installing
>         2013-03-08 14:22:43::DEBUG::all_in_one_100::317::root::
>         Traceback (most recent call last):
>           File
>         "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
>         line 314, in isHostUp
>             raise Exception(INFO_CREATE_HOST_WAITING_UP)
>         Exception: Waiting for the host to start
>
>         2013-03-08 14:22:48::DEBUG::all_in_one_100::303::root::
>         Waiting for host to become operational
>         2013-03-08 14:22:49::DEBUG::all_in_one_100::306::root::
>         current host status is: install_failed
>         2013-03-08 14:22:49::DEBUG::all_in_one_100::317::root::
>         Traceback (most recent call last):
>           File
>         "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
>         line 312, in isHostUp
>             raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
>         RetryFailException: Error: Host was found in a 'Failed' state.
>         Please check engine and bootstrap installation logs.
>
>         2013-03-08 14:22:49::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 300, in waitForHostUp
>             utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
>           File "/usr/share/ovirt-engine/scripts/common_utils.py", line
>         1010, in retry
>             raise e
>         RetryFailException: Error: Host was found in a 'Failed' state.
>         Please check engine and bootstrap installation logs.
>
>         2013-03-08 14:22:49::DEBUG::engine-setup::1934::root:: *** The
>         following params were used as user input:
>
>
>         I have the full log if required ?? Any help would be appreciated.
>
>         The options used were :
>
>         oVirt Engine will be installed using the following configuration:
>         =================================================================
>         override-httpd-config:         yes
>         http-port:                     80
>         https-port:                    443
>         host-fqdn:                     stphv01
>         auth-pass:                     ********
>         org-name:                      LOCAL
>         application-mode:              both
>         default-dc-type:               NFS
>         db-remote-install:             local
>         db-local-pass:                 ********
>         nfs-mp:                        /exports/iso
>         override-firewall:             None
>         config-allinone:               yes
>         storage-path:                  /vmfs/ovirt
>         superuser-pass:                ********
>
>
>         Alex
>
>
>         --
>         | RHCE | Senior Systems Engineer | www.vcore.co
>         <http://www.vcore.co> | www.vsearchcloud.com
>         <http://www.vsearchcloud.com> |
>
>
>
>
>     --
>     | RHCE | Senior Systems Engineer | www.vcore.co
>     <http://www.vcore.co> | www.vsearchcloud.com
>     <http://www.vsearchcloud.com> |
>
>
>
>
> --
> | RHCE | Senior Systems Engineer | www.vcore.co <http://www.vcore.co>
> | www.vsearchcloud.com <http://www.vsearchcloud.com> |
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

Hi Alex

Could you please elaborate a bit on these dependencies? Do you have any 
logs that state the problem?

Regarding the rest of the problem (that is adding the host), we're 
already looking into this.

--

Best regards,

Alex Lourie
Software Developer in Integration
Red Hat



More information about the Users mailing list