<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 23, 2014 at 7:06 PM, Sandro Bonazzola <span dir="ltr">&lt;<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Il 23/07/2014 04:08, Andrew Lau ha scritto:<br>
<div class="">&gt; Looks like the multipath rules ovirt seems to setup by default, not sure why..<br>
&gt; I just blacklist my (HDD) devices, otherwise my consoles get filled with a similar message.<br>
<br>
</div>hosted-engine setup doesn&#39;t set power management, it can be done by hand from the UI.<br>
also, hosted-engine setup don&#39;t touch the multipath configuration.<br>
If something changes it, it&#39;s not hosted-engine setup.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">​Even non hosted-engine setups, ​this still happens.</div><div class="gmail_default" style>

<font face="tahoma, sans-serif"><a href="http://lists.ovirt.org/pipermail/users/2013-January/011474.html">http://lists.ovirt.org/pipermail/users/2013-January/011474.html</a></font><br></div><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">

​I believe that&#39;s what he&#39;s referring to - nothing to do with powermanagement.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">​</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div><div class="h5"><br>
<br>
&gt;<br>
&gt; On Thu, Jul 17, 2014 at 5:41 AM, Chris Adams &lt;<a href="mailto:cma@cmadams.net">cma@cmadams.net</a> &lt;mailto:<a href="mailto:cma@cmadams.net">cma@cmadams.net</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     I built a new node+hosted engine setup, using up-to-date 6.5 and oVirt<br>
&gt;     3.4.3-RC.  I see some odd messages, that I think are probably related:<br>
&gt;<br>
&gt;     - In the hosted engine UI, I have an Alert that says &quot;Failed to verify<br>
&gt;       Power Management configuration for Host hosted_engine_1.&quot;<br>
&gt;<br>
&gt;     - On the node, I get the following chunk repeated every 10 seconds in<br>
&gt;       /var/log/messages:<br>
&gt;<br>
&gt;     Jul 16 14:34:19 node0 kernel: device-mapper: table: 253:2: multipath: error getting device<br>
&gt;     Jul 16 14:34:19 node0 kernel: device-mapper: ioctl: error adding target to table<br>
&gt;     Jul 16 14:34:19 node0 kernel: device-mapper: table: 253:2: multipath: error getting device<br>
&gt;     Jul 16 14:34:19 node0 kernel: device-mapper: ioctl: error adding target to table<br>
&gt;     Jul 16 14:34:19 node0 multipathd: dm-2: remove map (uevent)<br>
&gt;     Jul 16 14:34:19 node0 multipathd: dm-2: devmap not registered, can&#39;t remove<br>
&gt;     Jul 16 14:34:19 node0 cpuspeed: Disabling performance cpu frequency scaling governor<br>
&gt;     Jul 16 14:34:19 node0 multipathd: dm-2: remove map (uevent)<br>
&gt;     Jul 16 14:34:19 node0 multipathd: dm-2: devmap not registered, can&#39;t remove<br>
&gt;     Jul 16 14:34:19 node0 multipathd: dm-2: remove map (uevent)<br>
&gt;     Jul 16 14:34:19 node0 multipathd: dm-2: devmap not registered, can&#39;t remove<br>
&gt;     Jul 16 14:34:19 node0 multipathd: dm-2: remove map (uevent)<br>
&gt;     Jul 16 14:34:19 node0 multipathd: dm-2: devmap not registered, can&#39;t remove<br>
&gt;     Jul 16 14:34:20 node0 cpuspeed: Enabling performance cpu frequency scaling governor<br>
&gt;<br>
&gt;     There is no dm-2; the system is installed on 2 SAS drives, mirrored<br>
&gt;     using Linux md RAID1, using LVM (dm-0 is the root filesystem and dm-1 is<br>
&gt;     swap).<br>
&gt;<br>
&gt;     Here&#39;s the corresponding chunk of /var/log/vdsm/vdsm.log:<br>
&gt;<br>
&gt;     Thread-128::DEBUG::2014-07-16 14:34:19,092::task::595::TaskManager.Task::(_updateState) Task=`6db0f7ed-ec65-4685-ae2d-604560349317`::moving from<br>
&gt;     state init -&gt; state preparing<br>
&gt;     Thread-128::INFO::2014-07-16 14:34:19,092::logUtils::44::dispatcher::(wrapper) Run and protect: repoStats(options=None)<br>
&gt;     Thread-128::INFO::2014-07-16 14:34:19,093::logUtils::47::dispatcher::(wrapper) Run and protect: repoStats, Return response:<br>
&gt;     {&#39;74cb6a07-5745-4b21-ba4b-d9012acb5cae&#39;: {&#39;code&#39;: 0, &#39;version&#39;: 3, &#39;acquired&#39;: True, &#39;delay&#39;: &#39;0.000485922&#39;, &#39;lastCheck&#39;: &#39;9.4&#39;, &#39;valid&#39;: True}}<br>


&gt;     Thread-128::DEBUG::2014-07-16 14:34:19,093::task::1185::TaskManager.Task::(prepare) Task=`6db0f7ed-ec65-4685-ae2d-604560349317`::finished:<br>
&gt;     {&#39;74cb6a07-5745-4b21-ba4b-d9012acb5cae&#39;: {&#39;code&#39;: 0, &#39;version&#39;: 3, &#39;acquired&#39;: True, &#39;delay&#39;: &#39;0.000485922&#39;, &#39;lastCheck&#39;: &#39;9.4&#39;, &#39;valid&#39;: True}}<br>


&gt;     Thread-128::DEBUG::2014-07-16 14:34:19,094::task::595::TaskManager.Task::(_updateState) Task=`6db0f7ed-ec65-4685-ae2d-604560349317`::moving from<br>
&gt;     state preparing -&gt; state finished<br>
&gt;     Thread-128::DEBUG::2014-07-16 14:34:19,094::resourceManager::940::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}<br>
&gt;     Thread-128::DEBUG::2014-07-16 14:34:19,094::resourceManager::977::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}<br>
&gt;     Thread-128::DEBUG::2014-07-16 14:34:19,095::task::990::TaskManager.Task::(_decref) Task=`6db0f7ed-ec65-4685-ae2d-604560349317`::ref 0 aborting False<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,369::BindingXMLRPC::251::vds::(wrapper) client [127.0.0.1]<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,370::task::595::TaskManager.Task::(_updateState) Task=`44641295-7f85-40f9-ba71-6f587a96f387`::moving from<br>
&gt;     state init -&gt; state preparing<br>
&gt;     Thread-2011::INFO::2014-07-16 14:34:19,371::logUtils::44::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=1,<br>
&gt;     spUUID=&#39;b15478ff-1ae1-4065-8e52-19c808d39597&#39;, conList=[{&#39;port&#39;: &#39;&#39;, &#39;connection&#39;: &#39;nfs.c1.api-digital.com:/vmstore/engine&#39;, &#39;iqn&#39;: &#39;&#39;, &#39;portal&#39;:<br>


&gt;     &#39;&#39;, &#39;user&#39;: &#39;kvm&#39;, &#39;protocol_version&#39;: &#39;4&#39;, &#39;password&#39;: &#39;******&#39;, &#39;id&#39;: &#39;7fb481a8-f7b2-4cf7-8862-8ff02acde48d&#39;}], options=None)<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,376::hsm::2328::Storage.HSM::(__prefetchDomains) nfs local path:<br>
&gt;     /rhev/data-center/mnt/nfs.c1.api-digital.com:_vmstore_engine<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,378::hsm::2352::Storage.HSM::(__prefetchDomains) Found SD uuids: (&#39;74cb6a07-5745-4b21-ba4b-d9012acb5cae&#39;,)<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,379::hsm::2408::Storage.HSM::(connectStorageServer) knownSDs: {74cb6a07-5745-4b21-ba4b-d9012acb5cae:<br>
&gt;     storage.nfsSD.findDomain}<br>
&gt;     Thread-2011::INFO::2014-07-16 14:34:19,379::logUtils::47::dispatcher::(wrapper) Run and protect: connectStorageServer, Return response:<br>
&gt;     {&#39;statuslist&#39;: [{&#39;status&#39;: 0, &#39;id&#39;: &#39;7fb481a8-f7b2-4cf7-8862-8ff02acde48d&#39;}]}<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,379::task::1185::TaskManager.Task::(prepare) Task=`44641295-7f85-40f9-ba71-6f587a96f387`::finished:<br>
&gt;     {&#39;statuslist&#39;: [{&#39;status&#39;: 0, &#39;id&#39;: &#39;7fb481a8-f7b2-4cf7-8862-8ff02acde48d&#39;}]}<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,379::task::595::TaskManager.Task::(_updateState) Task=`44641295-7f85-40f9-ba71-6f587a96f387`::moving from<br>
&gt;     state preparing -&gt; state finished<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,380::resourceManager::940::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,380::resourceManager::977::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}<br>
&gt;     Thread-2011::DEBUG::2014-07-16 14:34:19,380::task::990::TaskManager.Task::(_decref) Task=`44641295-7f85-40f9-ba71-6f587a96f387`::ref 0 aborting False<br>
&gt;     Thread-2012::DEBUG::2014-07-16 14:34:19,571::BindingXMLRPC::251::vds::(wrapper) client [127.0.0.1]<br>
&gt;     Thread-2012::DEBUG::2014-07-16 14:34:19,572::task::595::TaskManager.Task::(_updateState) Task=`a1e6fda0-5839-4a07-938f-76eb1705e654`::moving from<br>
&gt;     state init -&gt; state preparing<br>
&gt;     Thread-2012::INFO::2014-07-16 14:34:19,573::logUtils::44::dispatcher::(wrapper) Run and protect: repoStats(options=None)<br>
&gt;     Thread-2012::INFO::2014-07-16 14:34:19,573::logUtils::47::dispatcher::(wrapper) Run and protect: repoStats, Return response:<br>
&gt;     {&#39;74cb6a07-5745-4b21-ba4b-d9012acb5cae&#39;: {&#39;code&#39;: 0, &#39;version&#39;: 3, &#39;acquired&#39;: True, &#39;delay&#39;: &#39;0.000485922&#39;, &#39;lastCheck&#39;: &#39;9.9&#39;, &#39;valid&#39;: True}}<br>


&gt;     Thread-2012::DEBUG::2014-07-16 14:34:19,573::task::1185::TaskManager.Task::(prepare) Task=`a1e6fda0-5839-4a07-938f-76eb1705e654`::finished:<br>
&gt;     {&#39;74cb6a07-5745-4b21-ba4b-d9012acb5cae&#39;: {&#39;code&#39;: 0, &#39;version&#39;: 3, &#39;acquired&#39;: True, &#39;delay&#39;: &#39;0.000485922&#39;, &#39;lastCheck&#39;: &#39;9.9&#39;, &#39;valid&#39;: True}}<br>


&gt;     Thread-2012::DEBUG::2014-07-16 14:34:19,574::task::595::TaskManager.Task::(_updateState) Task=`a1e6fda0-5839-4a07-938f-76eb1705e654`::moving from<br>
&gt;     state preparing -&gt; state finished<br>
&gt;     Thread-2012::DEBUG::2014-07-16 14:34:19,574::resourceManager::940::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}<br>
&gt;     Thread-2012::DEBUG::2014-07-16 14:34:19,574::resourceManager::977::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}<br>
&gt;     Thread-2012::DEBUG::2014-07-16 14:34:19,574::task::990::TaskManager.Task::(_decref) Task=`a1e6fda0-5839-4a07-938f-76eb1705e654`::ref 0 aborting False<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,664::misc::756::SamplingMethod::(__call__) Trying to enter sampling method (storage.sdc.refreshStorage)<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,665::misc::758::SamplingMethod::(__call__) Got in to sampling method<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,665::misc::756::SamplingMethod::(__call__) Trying to enter sampling method (storage.iscsi.rescan)<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,666::misc::758::SamplingMethod::(__call__) Got in to sampling method<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,666::iscsi::407::Storage.ISCSI::(rescan) Performing SCSI scan, this will take up to 30 seconds<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,666::iscsiadm::92::Storage.Misc.excCmd::(_runCmd) &#39;/usr/bin/sudo -n /sbin/iscsiadm -m session -R&#39; (cwd None)<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,709::misc::766::SamplingMethod::(__call__) Returning last result<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,710::multipath::109::Storage.Misc.excCmd::(rescan) &#39;/usr/bin/sudo -n /sbin/multipath&#39; (cwd None)<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,842::multipath::109::Storage.Misc.excCmd::(rescan) SUCCESS: &lt;err&gt; = &#39;&#39;; &lt;rc&gt; = 0<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,843::lvm::497::OperationMutex::(_invalidateAllPvs) Operation &#39;lvm invalidate operation&#39; got the operation mutex<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,844::lvm::499::OperationMutex::(_invalidateAllPvs) Operation &#39;lvm invalidate operation&#39; released the<br>
&gt;     operation mutex<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,844::lvm::508::OperationMutex::(_invalidateAllVgs) Operation &#39;lvm invalidate operation&#39; got the operation mutex<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,845::lvm::510::OperationMutex::(_invalidateAllVgs) Operation &#39;lvm invalidate operation&#39; released the<br>
&gt;     operation mutex<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,845::lvm::528::OperationMutex::(_invalidateAllLvs) Operation &#39;lvm invalidate operation&#39; got the operation mutex<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,846::lvm::530::OperationMutex::(_invalidateAllLvs) Operation &#39;lvm invalidate operation&#39; released the<br>
&gt;     operation mutex<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,846::misc::766::SamplingMethod::(__call__) Returning last result<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,854::fileSD::150::Storage.StorageDomain::(__init__) Reading domain in path<br>
&gt;     /rhev/data-center/mnt/nfs.c1.api-digital.com:_vmstore_engine/74cb6a07-5745-4b21-ba4b-d9012acb5cae<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,856::persistentDict::192::Storage.PersistentDict::(__init__) Created a persistent dict with FileMetadataRW<br>
&gt;     backend<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,860::persistentDict::234::Storage.PersistentDict::(refresh) read lines (FileMetadataRW)=[&#39;CLASS=Data&#39;,<br>
&gt;     &#39;DESCRIPTION=hosted_storage&#39;, &#39;IOOPTIMEOUTSEC=10&#39;, &#39;LEASERETRIES=3&#39;, &#39;LEASETIMESEC=60&#39;, &#39;LOCKPOLICY=ON&#39;, &#39;LOCKRENEWALINTERVALSEC=5&#39;,<br>
&gt;     &#39;MASTER_VERSION=1&#39;, &#39;POOL_DESCRIPTION=c1&#39;, &#39;POOL_DOMAINS=74cb6a07-5745-4b21-ba4b-d9012acb5cae:Active&#39;, &#39;POOL_SPM_ID=-1&#39;, &#39;POOL_SPM_LVER=0&#39;,<br>
&gt;     &#39;POOL_UUID=b15478ff-1ae1-4065-8e52-19c808d39597&#39;, &#39;REMOTE_PATH=nfs.c1.api-digital.com:/vmstore/engine&#39;, &#39;ROLE=Master&#39;,<br>
&gt;     &#39;SDUUID=74cb6a07-5745-4b21-ba4b-d9012acb5cae&#39;, &#39;TYPE=NFS&#39;, &#39;VERSION=3&#39;, &#39;_SHA_CKSUM=4f007c871da3177ba5546459bcebc8be8aff689e&#39;]<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,863::fileSD::609::Storage.StorageDomain::(imageGarbageCollector) Removing remnants of deleted images []<br>
&gt;     Thread-40::INFO::2014-07-16 14:34:19,863::sd::383::Storage.StorageDomain::(_registerResourceNamespaces) Resource namespace<br>
&gt;     74cb6a07-5745-4b21-ba4b-d9012acb5cae_imageNS already registered<br>
&gt;     Thread-40::INFO::2014-07-16 14:34:19,863::sd::391::Storage.StorageDomain::(_registerResourceNamespaces) Resource namespace<br>
&gt;     74cb6a07-5745-4b21-ba4b-d9012acb5cae_volumeNS already registered<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,868::fileSD::259::Storage.Misc.excCmd::(getReadDelay) &#39;/bin/dd iflag=direct<br>
&gt;     if=/rhev/data-center/mnt/nfs.c1.api-digital.com:_vmstore_engine/74cb6a07-5745-4b21-ba4b-d9012acb5cae/dom_md/metadata bs=4096 count=1&#39; (cwd None)<br>
&gt;     Thread-40::DEBUG::2014-07-16 14:34:19,885::fileSD::259::Storage.Misc.excCmd::(getReadDelay) SUCCESS: &lt;err&gt; = &#39;0+1 records in\n0+1 records out\n476<br>
&gt;     bytes (476 B) copied, 0.000548138 s, 868 kB/s\n&#39;; &lt;rc&gt; = 0<br>
&gt;<br>
&gt;     --<br>
</div></div>&gt;     Chris Adams &lt;<a href="mailto:cma@cmadams.net">cma@cmadams.net</a> &lt;mailto:<a href="mailto:cma@cmadams.net">cma@cmadams.net</a>&gt;&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Users mailing list<br>
&gt;     <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&gt;<br>
&gt;     <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<div class=""><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
</div></div><span class=""><font color="#888888">--<br>
Sandro Bonazzola<br>
Better technology. Faster innovation. Powered by community collaboration.<br>
See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br>
</font></span></blockquote></div><br></div></div>