Scolling up I found these "initIRS" errors in the logs<br clear="all"><br><div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:30,965::vdsm::78::vds::(run) <Thread(Thread-11, started daemon 140487776270080)></font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:30,965::vdsm::78::vds::(run) <WorkerThread(Thread-5, started daemon 140488178923264)></font></i></div><div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:30,965::vdsm::78::vds::(run) <KsmMonitorThread(KsmMonitor, started daemon 140487755290368)></font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:30,966::vdsm::78::vds::(run) <WorkerThread(Thread-4, started daemon 140488530888448)></font></i></div><div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:30,966::vmChannels::135::vds::(stop) VM channels listener was stopped.</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:30,966::vdsm::78::vds::(run) <Listener(VM Channels Listener, started daemon 140487734310656)></font></i></div><div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:30,966::vdsm::78::vds::(run) <WorkerThread(Thread-3, started daemon 140488541378304)></font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:30,966::vdsm::78::vds::(run) <WorkerThread(Thread-2, started daemon 140488551868160)></font></i></div><div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:32,475::vdsm::70::vds::(run) I am the actual vdsm 4.9-0</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::DEBUG::2012-04-13 17:18:32,688::resourceManager::379::ResourceManager::(registerNamespace) Registering namespace 'Storage'</font></i></div><div>
<i><font face="'comic sans ms', sans-serif">MainThread::DEBUG::2012-04-13 17:18:32,688::threadPool::45::Misc.ThreadPool::(__init__) Enter - numThreads: 10.0, waitTimeout: 3, maxTasks: 500.0</font></i></div><div><i><font face="'comic sans ms', sans-serif">MainThread::DEBUG::2012-04-13 17:18:32,708::multipath::109::Storage.Multipath::(isEnabled) multipath Defaulting to False</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::DEBUG::2012-04-13 17:18:32,709::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /bin/cp /tmp/tmpXnjmr1 /etc/multipath.conf' (cwd None)</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::DEBUG::2012-04-13 17:18:32,761::__init__::1164::Storage.Misc.excCmd::(_log) FAILED: <err> = 'sudo: sorry, you must have a tty to run sudo\n'; <rc> = 1</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::ERROR::2012-04-13 17:18:32,762::clientIF::162::vds::(_initIRS) Error initializing IRS</font></i></div><div><i><font face="'comic sans ms', sans-serif">Traceback (most recent call last):</font></i></div>
<div><i><font face="'comic sans ms', sans-serif"> File "/usr/share/vdsm/clientIF.py", line 160, in _initIRS</font></i></div><div><i><font face="'comic sans ms', sans-serif"> self.irs = Dispatcher(HSM())</font></i></div>
<div><i><font face="'comic sans ms', sans-serif"> File "/usr/share/vdsm/storage/hsm.py", line 294, in __init__</font></i></div><div><i><font face="'comic sans ms', sans-serif"> multipath.setupMultipath()</font></i></div>
<div><i><font face="'comic sans ms', sans-serif"> File "/usr/share/vdsm/storage/multipath.py", line 125, in setupMultipath</font></i></div><div><i><font face="'comic sans ms', sans-serif"> raise se.MultipathSetupError()</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MultipathSetupError: Failed to setup multipath: ()</font></i></div><div><i><font face="'comic sans ms', sans-serif">MainThread::DEBUG::2012-04-13 17:18:32,766::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/pgrep -xf ksmd' (cwd None)</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">MainThread::DEBUG::2012-04-13 17:18:32,779::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0</font></i></div><div><i><font face="'comic sans ms', sans-serif">MainThread::INFO::2012-04-13 17:18:32,780::vmChannels::139::vds::(settimeout) Setting channels' timeout to 30 seconds.</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">VM Channels Listener::INFO::2012-04-13 17:18:32,782::vmChannels::127::vds::(run) Starting VM channels listener thread.</font></i></div><div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,521::BindingXMLRPC::869::vds::(wrapper) client [192.168.11.236]::call getCapabilities with () {}</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">Thread-13::WARNING::2012-04-13 17:18:33,616::utils::688::root::(getHostUUID) Could not find host UUID.</font></i></div><div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,643::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" qemu-kvm' (cwd None)</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,667::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0</font></i></div><div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,667::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" qemu-img' (cwd None)</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,690::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0</font></i></div><div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,690::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" vdsm' (cwd None)</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,711::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0</font></i></div><div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,711::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" spice-server' (cwd None)</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,732::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0</font></i></div><div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,733::__init__::1164::Storage.Misc.excCmd::(_log) '/bin/rpm -q --qf "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n" libvirt' (cwd None)</font></i></div>
<div><i><font face="'comic sans ms', sans-serif">Thread-13::DEBUG::2012-04-13 17:18:33,754::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0</font></i></div><div><br></div>
<br><br><div class="gmail_quote">On Sun, Apr 15, 2012 at 6:57 AM, Dan Kenigsberg <span dir="ltr"><<a href="mailto:danken@redhat.com">danken@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, Apr 13, 2012 at 12:26:39PM -0700, Christian Hernandez wrote:<br>
> Here is the log from the Host<br>
><br>
><br>
</div>> *Thread-1821::DEBUG::2012-04-13<br>
<div><div class="h5">> 12:18:52,200::BindingXMLRPC::167::vds::(wrapper) [192.168.11.236]<br>
> Thread-1821::ERROR::2012-04-13<br>
> 12:18:52,200::BindingXMLRPC::171::vds::(wrapper) Unexpected exception<br>
> Traceback (most recent call last):<br>
> File "/usr/share/vdsm/BindingXMLRPC.py", line 169, in wrapper<br>
> return f(*args, **kwargs)<br>
> File "/usr/share/vdsm/BindingXMLRPC.py", line 571, in<br>
> poolValidateStorageServerConnection<br>
> return pool.validateStorageServerConnection(domType, conList)<br>
> File "/usr/share/vdsm/API.py", line 897, in<br>
> validateStorageServerConnection<br>
> return self._irs.validateStorageServerConnection(domainType,<br>
> AttributeError: 'NoneType' object has no attribute<br>
> 'validateStorageServerConnection'<br>
> Thread-1822::DEBUG::2012-04-13<br>
> 12:18:52,333::BindingXMLRPC::167::vds::(wrapper) [192.168.11.236]<br>
> Thread-1822::ERROR::2012-04-13<br>
> 12:18:52,334::BindingXMLRPC::171::vds::(wrapper) Unexpected exception<br>
> Traceback (most recent call last):<br>
> File "/usr/share/vdsm/BindingXMLRPC.py", line 169, in wrapper<br>
> return f(*args, **kwargs)<br>
> File "/usr/share/vdsm/BindingXMLRPC.py", line 491, in<br>
> poolDisconnectStorageServer<br>
> return pool.disconnectStorageServer(domType, conList)<br>
> File "/usr/share/vdsm/API.py", line 823, in disconnectStorageServer<br>
> return self._irs.disconnectStorageServer(domainType, self._UUID,<br>
> AttributeError: 'NoneType' object has no attribute 'disconnectStorageServer'<br>
<br>
</div></div>It seems like the interesting traceback should be further up - I<br>
suppose self._irs failed initialization and kept its original None<br>
value. Please scroll up and try to find out why this failed on Vdsm<br>
startup.<br>
<br>
We have a FIXME in vdsm so that we report such failures better:<br>
<br>
vdsm/BindingXMLRPC.py: # XXX: Need another way to check if IRS init was okay<br>
<br>
Adam, could you take a further look into this?<br>
<br>
Regards,<br>
Dan.<br>
</blockquote></div><br>