<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Tahoma">Hi Alex,<br>
<br>
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) ? <br>
<br>
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. <br>
<br>
Thanks,<br>
Alex<br>
</font></font><br>
On 03/10/2013 10:19 AM, Alex Lourie wrote:
<blockquote cite="mid:513C5E1A.5010503@redhat.com" type="cite">On
Fri 08 Mar 2013 04:33:53 PM IST, Alex Leonhardt wrote:
<br>
<blockquote type="cite">
<br>
Also, the there seem to be missing some dependencies for
<br>
<br>
- messagebus (service not enabled/started/installed)
<br>
- avahi-daemon (wasnt installed, had to install and start /
enable)
<br>
<br>
else
<br>
<br>
libvirtd will not start and the setup will fail.
<br>
<br>
<br>
<br>
<br>
On 8 March 2013 14:30, Alex Leonhardt <<a class="moz-txt-link-abbreviated" href="mailto:alex.tuxx@gmail.com">alex.tuxx@gmail.com</a>
<br>
<a class="moz-txt-link-rfc2396E" href="mailto:alex.tuxx@gmail.com"><mailto:alex.tuxx@gmail.com></a>> wrote:
<br>
<br>
And here from when I tried to use "localhost" as the host /
fqdn :
<br>
<br>
<br>
Installing:
<br>
AIO: Validating CPU Compatibility...
<br>
[ DONE ]
<br>
AIO: Adding firewall rules...
<br>
[ DONE ]
<br>
Configuring oVirt Engine...
<br>
[ DONE ]
<br>
Configuring JVM...
<br>
[ DONE ]
<br>
Creating CA...
<br>
[ DONE ]
<br>
Updating ovirt-engine service...
<br>
[ DONE ]
<br>
Setting Database Configuration...
<br>
[ DONE ]
<br>
Setting Database Security...
<br>
[ DONE ]
<br>
Creating Database...
<br>
[ DONE ]
<br>
Updating the Default Data Center Storage Type...
<br>
[ DONE ]
<br>
Editing oVirt Engine Configuration...
<br>
[ DONE ]
<br>
Editing Postgresql Configuration...
<br>
[ DONE ]
<br>
Configuring the Default ISO Domain...
<br>
[ DONE ]
<br>
Configuring Firewall...
<br>
[ DONE ]
<br>
Starting ovirt-engine Service...
<br>
[ DONE ]
<br>
Configuring HTTPD...
<br>
[ DONE ]
<br>
AIO: Creating storage directory...
<br>
[ DONE ]
<br>
AIO: Adding Local Datacenter and cluster...
<br>
[ DONE ]
<br>
AIO: Adding Local host (This may take several
minutes)... [
<br>
ERROR ]
<br>
Error: Host was found in a 'Failed' state. Please check
engine and
<br>
bootstrap installation logs.
<br>
Please check log file
<br>
/var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log
for
<br>
more information
<br>
Exception in thread libvirtEventLoop (most likely raised
during
<br>
interpreter shutdown)
<br>
<br>
#########
<br>
<br>
<br>
2013-03-08 14:13:33::DEBUG::setup_sequences::59::root::
running
<br>
_loadFilesToIsoDomain
<br>
2013-03-08 14:13:33::ERROR::engine-setup::1838::root::
Traceback
<br>
(most recent call last):
<br>
File "/usr/bin/engine-setup", line 1835, in
_loadFilesToIsoDomain
<br>
utils.copyFile(filename, targetPath,
basedefs.CONST_VDSM_UID,
<br>
basedefs.CONST_KVM_GID)
<br>
File "/usr/share/ovirt-engine/scripts/common_utils.py",
line
<br>
706, in copyFile
<br>
shutil.copy2(fileSrc, destination)
<br>
File "/usr/lib64/python2.6/shutil.py", line 95, in copy2
<br>
copyfile(src, dst)
<br>
File "/usr/lib64/python2.6/shutil.py", line 50, in
copyfile
<br>
with open(src, 'rb') as fsrc:
<br>
IOError: [Errno 2] No such file or directory:
<br>
'/usr/share/virtio-win/virtio-win.vfd'
<br>
<br>
2013-03-08 14:13:33::ERROR::engine-setup::1839::root::
Failed to
<br>
copy files to iso domain
<br>
<br>
<br>
[snip]
<br>
<br>
2013-03-08 14:14:14::DEBUG::setup_sequences::59::root::
running
<br>
waitForHostUp
<br>
2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root::
Waiting
<br>
for host to become operational
<br>
2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root::
current
<br>
host status is: installing
<br>
2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root::
Traceback
<br>
(most recent call last):
<br>
<br>
File
<br>
"/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
line
<br>
314, in isHostUp
<br>
raise Exception(INFO_CREATE_HOST_WAITING_UP)
<br>
Exception: Waiting for the host to start
<br>
<br>
2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root::
Waiting
<br>
for host to become operational
<br>
2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root::
current
<br>
host status is: install_failed
<br>
2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root::
Traceback
<br>
(most recent call last):
<br>
<br>
File
<br>
"/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
line
<br>
312, in isHostUp
<br>
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
<br>
RetryFailException: Error: Host was found in a 'Failed'
state.
<br>
Please check engine and bootstrap installation logs.
<br>
<br>
2013-03-08 14:14:19::DEBUG::setup_sequences::62::root::
Traceback
<br>
(most recent call last):
<br>
<br>
File "/usr/share/ovirt-engine/scripts/setup_sequences.py",
line
<br>
60, in run
<br>
function()
<br>
File
<br>
"/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
line
<br>
300, in waitForHostUp
<br>
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
<br>
File "/usr/share/ovirt-engine/scripts/common_utils.py",
line
<br>
1010, in retry
<br>
raise e
<br>
RetryFailException: Error: Host was found in a 'Failed'
state.
<br>
Please check engine and bootstrap installation logs.
<br>
<br>
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1934::root:: ***
The
<br>
following params were used as user input:
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
override-httpd-config: yes
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
http-port: 80
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
https-port: 443
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
random-passwords: no
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
mac-range:
<br>
00:1A:4A:A8:14:00-00:1A:4A:A8:14:FF
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
host-fqdn:
<br>
localhost
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
auth-pass:
<br>
********
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
org-name:
<br>
BrightTALK
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
application-mode: both
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
default-dc-type: NFS
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
db-remote-install: local
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
db-host:
<br>
localhost
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
db-local-pass: ********
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
nfs-mp:
<br>
/exports/iso
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
iso-domain-name: ISO_DOMAIN
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
config-nfs: yes
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
override-firewall: None
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
config-allinone: yes
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
storage-path: /vmfs
<br>
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
<br>
superuser-pass: ********
<br>
2013-03-08 14:14:19::ERROR::engine-setup::2355::root::
Traceback
<br>
(most recent call last):
<br>
File "/usr/bin/engine-setup", line 2349, in <module>
<br>
main(confFile)
<br>
File "/usr/bin/engine-setup", line 2132, in main
<br>
runSequences()
<br>
File "/usr/bin/engine-setup", line 2054, in runSequences
<br>
controller.runAllSequences()
<br>
File
"/usr/share/ovirt-engine/scripts/setup_controller.py", line
<br>
54, in runAllSequences
<br>
sequence.run()
<br>
File "/usr/share/ovirt-engine/scripts/setup_sequences.py",
line
<br>
154, in run
<br>
step.run()
<br>
<br>
File "/usr/share/ovirt-engine/scripts/setup_sequences.py",
line
<br>
60, in run
<br>
function()
<br>
File
<br>
"/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
line
<br>
300, in waitForHostUp
<br>
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
<br>
File "/usr/share/ovirt-engine/scripts/common_utils.py",
line
<br>
1010, in retry
<br>
raise e
<br>
RetryFailException: Error: Host was found in a 'Failed'
state.
<br>
Please check engine and bootstrap installation logs.
<br>
<br>
<br>
<br>
On 8 March 2013 14:27, Alex Leonhardt
<<a class="moz-txt-link-abbreviated" href="mailto:alex.tuxx@gmail.com">alex.tuxx@gmail.com</a>
<br>
<a class="moz-txt-link-rfc2396E" href="mailto:alex.tuxx@gmail.com"><mailto:alex.tuxx@gmail.com></a>> wrote:
<br>
<br>
Hi,
<br>
<br>
The setup keeps failing at "waitforhostup" with :
<br>
<br>
<br>
Installing:
<br>
AIO: Validating CPU
<br>
Compatibility... [ DONE ]
<br>
AIO: Adding firewall
<br>
rules... [ DONE ]
<br>
Configuring oVirt
<br>
Engine... [ DONE ]
<br>
Configuring
<br>
JVM... [
DONE ]
<br>
Creating
<br>
CA...
[ DONE ]
<br>
Updating ovirt-engine
<br>
service... [ DONE ]
<br>
Setting Database
<br>
Configuration... [ DONE
]
<br>
Setting Database
<br>
Security... [ DONE
]
<br>
Creating
<br>
Database...
[ DONE ]
<br>
Updating the Default Data Center Storage
<br>
Type... [ DONE ]
<br>
Editing oVirt Engine
<br>
Configuration... [ DONE ]
<br>
Editing Postgresql
<br>
Configuration... [ DONE ]
<br>
Configuring the Default ISO
<br>
Domain... [ DONE ]
<br>
Configuring
<br>
Firewall... [
DONE ]
<br>
Starting ovirt-engine
<br>
Service... [ DONE ]
<br>
Configuring
<br>
HTTPD... [
DONE ]
<br>
AIO: Creating storage
<br>
directory... [ DONE ]
<br>
AIO: Adding Local Datacenter and
<br>
cluster... [ DONE ]
<br>
AIO: Adding Local host (This may take several
minutes)...
<br>
[ ERROR ]
<br>
Error: Host was found in a 'Failed' state. Please check
engine
<br>
and bootstrap installation logs.
<br>
Please check log file
<br>
/var/log/ovirt-engine/engine-setup_2013_03_08_14_17_42.log for
<br>
more information
<br>
<br>
#####
<br>
<br>
2013-03-08 14:22:43::DEBUG::setup_sequences::59::root::
<br>
running waitForHostUp
<br>
2013-03-08 14:22:43::DEBUG::all_in_one_100::303::root::
<br>
Waiting for host to become operational
<br>
2013-03-08 14:22:43::DEBUG::all_in_one_100::306::root::
<br>
current host status is: installing
<br>
2013-03-08 14:22:43::DEBUG::all_in_one_100::317::root::
<br>
Traceback (most recent call last):
<br>
File
<br>
"/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
<br>
line 314, in isHostUp
<br>
raise Exception(INFO_CREATE_HOST_WAITING_UP)
<br>
Exception: Waiting for the host to start
<br>
<br>
2013-03-08 14:22:48::DEBUG::all_in_one_100::303::root::
<br>
Waiting for host to become operational
<br>
2013-03-08 14:22:49::DEBUG::all_in_one_100::306::root::
<br>
current host status is: install_failed
<br>
2013-03-08 14:22:49::DEBUG::all_in_one_100::317::root::
<br>
Traceback (most recent call last):
<br>
File
<br>
"/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
<br>
line 312, in isHostUp
<br>
raise
utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
<br>
RetryFailException: Error: Host was found in a 'Failed'
state.
<br>
Please check engine and bootstrap installation logs.
<br>
<br>
2013-03-08 14:22:49::DEBUG::setup_sequences::62::root::
<br>
Traceback (most recent call last):
<br>
File
"/usr/share/ovirt-engine/scripts/setup_sequences.py",
<br>
line 60, in run
<br>
function()
<br>
File
<br>
"/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
<br>
line 300, in waitForHostUp
<br>
utils.retry(isHostUp, tries=120, timeout=600,
sleep=5)
<br>
File
"/usr/share/ovirt-engine/scripts/common_utils.py", line
<br>
1010, in retry
<br>
raise e
<br>
RetryFailException: Error: Host was found in a 'Failed'
state.
<br>
Please check engine and bootstrap installation logs.
<br>
<br>
2013-03-08 14:22:49::DEBUG::engine-setup::1934::root::
*** The
<br>
following params were used as user input:
<br>
<br>
<br>
I have the full log if required ?? Any help would be
appreciated.
<br>
<br>
The options used were :
<br>
<br>
oVirt Engine will be installed using the following
configuration:
<br>
=================================================================
<br>
override-httpd-config: yes
<br>
http-port: 80
<br>
https-port: 443
<br>
host-fqdn: stphv01
<br>
auth-pass: ********
<br>
org-name: LOCAL
<br>
application-mode: both
<br>
default-dc-type: NFS
<br>
db-remote-install: local
<br>
db-local-pass: ********
<br>
nfs-mp: /exports/iso
<br>
override-firewall: None
<br>
config-allinone: yes
<br>
storage-path: /vmfs/ovirt
<br>
superuser-pass: ********
<br>
<br>
<br>
Alex
<br>
<br>
<br>
--
<br>
| RHCE | Senior Systems Engineer | <a class="moz-txt-link-abbreviated" href="http://www.vcore.co">www.vcore.co</a>
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.vcore.co"><http://www.vcore.co></a> | <a class="moz-txt-link-abbreviated" href="http://www.vsearchcloud.com">www.vsearchcloud.com</a>
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.vsearchcloud.com"><http://www.vsearchcloud.com></a> |
<br>
<br>
<br>
<br>
<br>
--
<br>
| RHCE | Senior Systems Engineer | <a class="moz-txt-link-abbreviated" href="http://www.vcore.co">www.vcore.co</a>
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.vcore.co"><http://www.vcore.co></a> | <a class="moz-txt-link-abbreviated" href="http://www.vsearchcloud.com">www.vsearchcloud.com</a>
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.vsearchcloud.com"><http://www.vsearchcloud.com></a> |
<br>
<br>
<br>
<br>
<br>
--
<br>
| RHCE | Senior Systems Engineer | <a class="moz-txt-link-abbreviated" href="http://www.vcore.co">www.vcore.co</a>
<a class="moz-txt-link-rfc2396E" href="http://www.vcore.co"><http://www.vcore.co></a>
<br>
| <a class="moz-txt-link-abbreviated" href="http://www.vsearchcloud.com">www.vsearchcloud.com</a> <a class="moz-txt-link-rfc2396E" href="http://www.vsearchcloud.com"><http://www.vsearchcloud.com></a> |
<br>
<br>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
Hi Alex
<br>
<br>
Could you please elaborate a bit on these dependencies? Do you
have any logs that state the problem?
<br>
<br>
Regarding the rest of the problem (that is adding the host), we're
already looking into this.
<br>
<br>
--
<br>
<br>
Best regards,
<br>
<br>
Alex Lourie
<br>
Software Developer in Integration
<br>
Red Hat
<br>
</blockquote>
</body>
</html>