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

2013-03-12 Thread Alex Lourie

Hi Alex

On Sun, Mar 10, 2013 at 4:26 PM, Alex Leonhardt alex.t...@gmail.com 
wrote:

Hi Alex,

Regarding the dependencies - libvirtd would not start w/o having 
messagebus / avahi-daemon installed  running, however, it doesnt 
seem to come up as an dependency when installing libvirtd (otherwise 
it would have been installed previously) ? 



wow, that's strange. I haven't seen this before. I suggest opening a 
bug on libvirt anyway.




I read this solution on some blog page, and based on that installed 
avahi-daemon  messagebus + started them, only then libvirtd started 
up. vdsmd wont tell you it's waiting for libvirtd to start on the 
console, it'll mention in the log that it's waiting for libvirtd 
and eventually will time out. 



Granted, if these are the required dependencies, then definitely they 
should be installed.


I will look into this and try to understand what is it about.



Thanks,
Alex

On 03/10/2013 10:19 AM, Alex Lourie wrote: 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.t...@gmail.com 
mailto:alex.t...@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 
    

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

2013-03-11 Thread Alex Leonhardt

Hi Alex / all -


Anyone experienced the same when installing 3.2 all-in-one on centos 6.3 
? I really need this working ...



Thanks
Alex


On 03/10/2013 02:26 PM, Alex Leonhardt wrote:

Hi Alex,

Regarding the dependencies - libvirtd would not start w/o having 
messagebus / avahi-daemon installed  running, however, it doesnt seem 
to come up as an dependency when installing libvirtd (otherwise it 
would have been installed previously) ?


I read this solution on some blog page, and based on that installed 
avahi-daemon  messagebus + started them, only then libvirtd started 
up. vdsmd wont tell you it's waiting for libvirtd to start on the 
console, it'll mention in the log that it's waiting for libvirtd and 
eventually will time out.


Thanks,
Alex

On 03/10/2013 10:19 AM, Alex Lourie wrote:

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.t...@gmail.com
mailto:alex.t...@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, 

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

2013-03-10 Thread Alex Lourie

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.t...@gmail.com
mailto:alex.t...@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 

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

2013-03-10 Thread Alex Leonhardt

Hi Alex,

Regarding the dependencies - libvirtd would not start w/o having 
messagebus / avahi-daemon installed  running, however, it doesnt seem 
to come up as an dependency when installing libvirtd (otherwise it would 
have been installed previously) ?


I read this solution on some blog page, and based on that installed 
avahi-daemon  messagebus + started them, only then libvirtd started up. 
vdsmd wont tell you it's waiting for libvirtd to start on the console, 
it'll mention in the log that it's waiting for libvirtd and eventually 
will time out.


Thanks,
Alex

On 03/10/2013 10:19 AM, Alex Lourie wrote:

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.t...@gmail.com
mailto:alex.t...@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 

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

2013-03-08 Thread Alex Leonhardt
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 

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

2013-03-08 Thread Alex Leonhardt
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.t...@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