<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 8:12 AM, Ayal Baron wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Gianluca,<br>
<br>
The problem you have now doesn&#39;t seem related $subject.<br>
It looks like <a href="http://gerrit.ovirt.org/#/c/10024/5" target="_blank">http://gerrit.ovirt.org/#/c/10024/5</a> to me.<br>
Can you check to see if your code contains the above fix?<br>
Did you vdsm from nightly as well or from Fedora 18 rpms?<br>
<br>
Fede, does the f18 build include the above fix?<br>
<br>
Thanks,<br>
Ayal.<br></blockquote><br></div>For this particular host I already updated the rpm package<br>vdsm-4.10.3-0.50.gitc6625ce.fc18.x86_64<br></div><div class="gmail_extra">that contains the patched file /usr/share/vdsm/storage/localFsSD.py so it seems I&#39;m not hitting this problem.<br>
<br></div><div class="gmail_extra">I ran <br>yum update ovirt-engine-setup<br></div><div class="gmail_extra">that pulled these new packages<br></div><div class="gmail_extra"><br>Jan 07 08:06:27 Updated: ovirt-engine-setup-3.2.0-1.20130106.git0cb01e1.fc18.noarch<br>
Jan 07 08:08:53 Updated: otopi-0.0.0-0.5.master.20130106.git0a731eb.fc18.noarch<br>Jan 07 08:08:54 Updated: otopi-java-0.0.0-0.5.master.20130106.git0a731eb.fc18.noarch<br>Jan 07 08:08:54 Updated: ovirt-host-deploy-0.0.0-0.0.master.20130106.gitaa0edd4.fc18.noarch<br>
Jan 07 08:08:54 Updated: ovirt-host-deploy-offline-0.0.0-0.0.master.20130106.gitaa0edd4.fc18.noarch<br>Jan 07 08:08:54 Updated: ovirt-engine-setup-plugin-allinone-3.2.0-1.20130106.git0cb01e1.fc18.noarch<br>Jan 07 08:08:54 Updated: ovirt-host-deploy-java-0.0.0-0.0.master.20130106.gitaa0edd4.fc18.noarch<br>
Jan 07 08:08:55 Updated: ovirt-engine-cli-3.2.0.8-1.20130106.git0b16093.fc18.noarch<br><br></div><div class="gmail_extra">Then engine-upgrade and reboot but still not able to activate storage domain<br><br></div><div class="gmail_extra">
In vdsm.log<br>Thread-20::DEBUG::2013-01-07 19:57:41,148::BindingXMLRPC::163::vds::(wrapper) [10.194.53.246]<br>Thread-20::DEBUG::2013-01-07 19:57:41,149::task::568::TaskManager.Task::(_updateState) Task=`133ef0a7-30ac-4cad-94ee-276dd59731e0`::moving from state init -&gt; state preparing<br>
Thread-20::INFO::2013-01-07 19:57:41,149::logUtils::41::dispatcher::(wrapper) Run and protect: getSpmStatus(spUUID=&#39;a6e0d929-065b-4f69-a46a-0b07d3b79731&#39;, options=None)<br>Thread-20::ERROR::2013-01-07 19:57:41,150::task::833::TaskManager.Task::(_setError) Task=`133ef0a7-30ac-4cad-94ee-276dd59731e0`::Unexpected error<br>
Traceback (most recent call last):<br>  File &quot;/usr/share/vdsm/storage/task.py&quot;, line 840, in _run<br>    return fn(*args, **kargs)<br>  File &quot;/usr/share/vdsm/logUtils.py&quot;, line 42, in wrapper<br>    res = f(*args, **kwargs)<br>
  File &quot;/usr/share/vdsm/storage/hsm.py&quot;, line 602, in getSpmStatus<br>    pool = self.getPool(spUUID)<br>  File &quot;/usr/share/vdsm/storage/hsm.py&quot;, line 312, in getPool<br>    raise se.StoragePoolUnknown(spUUID)<br>
StoragePoolUnknown: Unknown pool id, pool not connected: (&#39;a6e0d929-065b-4f69-a46a-0b07d3b79731&#39;,)<br>Thread-20::DEBUG::2013-01-07 19:57:41,153::task::852::TaskManager.Task::(_run) Task=`133ef0a7-30ac-4cad-94ee-276dd59731e0`::Task._run: 133ef0a7-30ac-4cad-94ee-276dd59731e0 (&#39;a6e0d929-065b-4f69-a46a-0b07d3b79731&#39;,) {} failed - stopping task<br>
Thread-20::DEBUG::2013-01-07 19:57:41,154::task::1177::TaskManager.Task::(stop) Task=`133ef0a7-30ac-4cad-94ee-276dd59731e0`::stopping in state preparing (force False)<br>Thread-20::DEBUG::2013-01-07 19:57:41,154::task::957::TaskManager.Task::(_decref) Task=`133ef0a7-30ac-4cad-94ee-276dd59731e0`::ref 1 aborting True<br>
<br></div><div class="gmail_extra">while in engine.log<br>2013-01-07 19:57:33,782 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-2) XML RPC error in command GetHardwareInfoVDS ( HostName = local_host ), the error was: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException, &lt;type &#39;exceptions.Exception&#39;&gt;:method &quot;getVdsHardwareInfo&quot; is not supported <br>
2013-01-07 19:57:33,783 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] (QuartzScheduler_Worker-2) FINISH, GetHardwareInfoVDSCommand, log id: 5f98da5d<br>2013-01-07 19:57:33,795 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-2) Cannot convert string &lt;&lt;&lt;&lt;&lt;&lt;&lt; to AuditLogType<br>
...<br>2013-01-07 19:57:33,800 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-2) AuditLogType: DWH_ERROR not exist in string table<br>2013-01-07 19:57:33,800 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-2) AuditLogType: EXTERNAL_EVENT_NORMAL not exist in string table<br>
2013-01-07 19:57:33,800 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-2) AuditLogType: EXTERNAL_EVENT_WARNING not exist in string table<br>2013-01-07 19:57:33,801 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-2) AuditLogType: EXTERNAL_EVENT_ERROR not exist in string table<br>
...<br>2013-01-07 19:57:46,007 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (QuartzScheduler_Worker-8) Command ConnectStoragePoolVDS execution failed. Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: &#39;spUUID=a6e0d929-065b-4f69-a46a-0b07d3b79731, msdUUID=eb9d38ff-34d6-4dd9-8309-b004f02ee510&#39;<br>
2013-01-07 19:57:46,010 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (QuartzScheduler_Worker-8) FINISH, ConnectStoragePoolVDSCommand, log id: 2f2957ee<br>2013-01-07 19:57:46,011 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (QuartzScheduler_Worker-8) IrsBroker::Failed::GetStoragePoolInfoVDS<br>
2013-01-07 19:57:46,011 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (QuartzScheduler_Worker-8) Exception: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: &#39;spUUID=a6e0d929-065b-4f69-a46a-0b07d3b79731, msdUUID=eb9d38ff-34d6-4dd9-8309-b004f02ee510&#39;<br>
2013-01-07 19:57:46,236 INFO  [org.ovirt.engine.core.bll.storage.ReconstructMasterDomainCommand] (pool-3-thread-19) [47e9e14a] Running command: ReconstructMasterDomainCommand internal: true. Entities affected :  ID: eb9d38ff-34d6-4dd9-8309-b004f02ee510 Type: Storage<br>
2013-01-07 19:57:46,358 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.MarkPoolInReconstructModeVDSCommand] (pool-3-thread-19) [47e9e14a] START, MarkPoolInReconstructModeVDSCommand( storagePoolId = a6e0d929-065b-4f69-a46a-0b07d3b79731, ignoreFailoverLimit = false, compatabilityVersion = null, reconstructMarkAction = ClearCache), log id: 768a1787<br>
2013-01-07 19:57:46,361 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (pool-3-thread-19) [47e9e14a] clearing cache for problematic entities in pool a6e0d929-065b-4f69-a46a-0b07d3b79731<br>2013-01-07 19:57:46,363 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.MarkPoolInReconstructModeVDSCommand] (pool-3-thread-19) [47e9e14a] FINISH, MarkPoolInReconstructModeVDSCommand, log id: 768a1787<br>
2013-01-07 19:57:46,438 INFO  [org.ovirt.engine.core.bll.eventqueue.EventQueueMonitor] (pool-3-thread-18) Finished reconstruct for pool a6e0d929-065b-4f69-a46a-0b07d3b79731. Clearing all event queue<br>2013-01-07 19:57:56,131 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (QuartzScheduler_Worker-22) hostFromVds::selectedVds - local_host, spmStatus Unknown_Pool, storage pool local_datacenter<br>
2013-01-07 19:57:56,153 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (QuartzScheduler_Worker-22) START, ConnectStoragePoolVDSCommand(HostName = local_host, HostId = 919c3ca3-980f-425f-a97d-778c9cd076ca, storagePoolId = a6e0d929-065b-4f69-a46a-0b07d3b79731, vds_spm_id = 1, masterDomainId = eb9d38ff-34d6-4dd9-8309-b004f02ee510, masterVersion = 1), log id: 56c65032<br>
2013-01-07 19:58:00,669 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (QuartzScheduler_Worker-22) Command org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand return value <br> Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc<br>
mStatus                       Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc<br>mCode                         304<br>mMessage                      Cannot find master domain: &#39;spUUID=a6e0d929-065b-4f69-a46a-0b07d3b79731, msdUUID=eb9d38ff-34d6-4dd9-8309-b004f02ee510&#39;<br>
<br><br>2013-01-07 19:58:00,671 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (QuartzScheduler_Worker-22) HostName = local_host<br>2013-01-07 19:58:00,671 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (QuartzScheduler_Worker-22) Command ConnectStoragePoolVDS execution failed. Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: &#39;spUUID=a6e0d929-065b-4f69-a46a-0b07d3b79731, msdUUID=eb9d38ff-34d6-4dd9-8309-b004f02ee510&#39;<br>
<br></div><div class="gmail_extra">Could it be that this host, that is a PC with 6Gb of ram and Opteron processor<br>model name    : AMD Athlon(tm) II X4 630 Processor<br></div><div class="gmail_extra">gets its ip by dhcp?<br>
</div><div class="gmail_extra"><br>At this moment<br>[root@tekkaman ovirt-engine]# ip addr list<br>1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 16436 qdisc noqueue state UNKNOWN <br>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>
    inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo<br>    inet6 ::1/128 scope host <br>       valid_lft forever preferred_lft forever<br>2: p10p1: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast master ovirtmgmt state UP qlen 1000<br>
    link/ether 90:e6:ba:c9:f1:e1 brd ff:ff:ff:ff:ff:ff<br>    inet6 fe80::92e6:baff:fec9:f1e1/64 scope link <br>       valid_lft forever preferred_lft forever<br>4: ovirtmgmt: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UP <br>
    link/ether 90:e6:ba:c9:f1:e1 brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://10.194.53.246/20">10.194.53.246/20</a> brd 10.194.63.255 scope global ovirtmgmt<br>    inet6 fe80::92e6:baff:fec9:f1e1/64 scope link <br>       valid_lft forever preferred_lft forever<br>
6: ;vdsmdummy;: &lt;BROADCAST,MULTICAST&gt; mtu 1500 qdisc noop state DOWN <br>    link/ether 12:1a:6c:ef:c0:fc brd ff:ff:ff:ff:ff:ff<br>7: bond0: &lt;NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP&gt; mtu 1500 qdisc noqueue state DOWN <br>
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff<br>8: bond4: &lt;NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP&gt; mtu 1500 qdisc noqueue state DOWN <br>    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff<br>[root@tekkaman ovirt-engine]# ip route list<br>
default via 10.194.48.1 dev ovirtmgmt <br><a href="http://10.194.48.0/20">10.194.48.0/20</a> dev ovirtmgmt  proto kernel  scope link  src 10.194.53.246 <br><a href="http://169.254.0.0/16">169.254.0.0/16</a> dev ovirtmgmt  scope link  metric 1004 <br>
<br></div><div class="gmail_extra">Gianluca<br></div></div>