<p>Hi all, </p>
<p>Am not too familiar with fedora and its services, anyone can help him?</p>
<p>Alex<br>
</p>
<div class="gmail_quote">On Jan 23, 2013 5:02 AM, &quot;T-Sinjon&quot; &lt;<a href="mailto:tscbj1989@gmail.com">tscbj1989@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>I have forced v3 in my /etc/nfsmount and there&#39;s no firewall between NFS server and the host.</div><div><br></div><div>The only problem is no rpc.statd running . Could you tell me how can i start it since there&#39;s no rpcbind installed on overt node 2.5.5-0.1?</div>
<div><br></div><div><div>[root@ovirtnode1 ~]# systemctl status nfs-lock.service</div><div>nfs-lock.service - NFS file locking service.</div><div><span style="white-space:pre-wrap">        </span>  Loaded: loaded (/usr/lib/systemd/system/nfs-lock.service; enabled)</div>
<div><span style="white-space:pre-wrap">        </span>  Active: failed (Result: exit-code) since Thu, 17 Jan 2013 09:41:45 +0000; 5 days ago</div><div><span style="white-space:pre-wrap">        </span>  CGroup: name=systemd:/system/nfs-lock.service</div>
<div><br></div><div>Jan 17 09:41:45 localhost.localdomain rpc.statd[1385]: Version 1.2.6 starting</div><div>Jan 17 09:41:45 localhost.localdomain rpc.statd[1385]: Initializing NSM state</div><div>[root@ovirtnode1 ~]# systemctl start nfs-lock.service</div>
<div>Failed to issue method call: Unit rpcbind.service failed to load: No such file or directory. See system logs and &#39;systemctl status rpcbind.service&#39; for details.</div></div><br><div><div>On 22 Jan, 2013, at 6:14 PM, Alex Leonhardt &lt;<a href="mailto:alex.tuxx@gmail.com" target="_blank">alex.tuxx@gmail.com</a>&gt; wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><div><div>Hi, this seems to look like the error you&#39;re getting : <br><br>MountError: (32, &quot;;mount.nfs: rpc.statd is not running but is required 
for remote locking.\nmount.nfs: Either use &#39;-o nolock&#39; to keep locks 
local, or start statd.\nmount.nfs: an incorrect mount option was 
specified\n&quot;)<br><br></div>Are you running nfs3 on that host ? if yes, have you forced v3 ? is rpc.statd running ? is the NFS server firewalling off the rpc.* ports ? <br><br></div>alex<br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On 22 January 2013 09:58, T-Sinjon <span dir="ltr">&lt;<a href="mailto:tscbj1989@gmail.com" target="_blank">tscbj1989@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

HI, everyone:<br>
        Recently , I newly installed ovirt 3.1 from <a href="http://resources.ovirt.org/releases/stable/rpm/Fedora/17/noarch/" target="_blank">http://resources.ovirt.org/releases/stable/rpm/Fedora/17/noarch/</a>,<br>
        and node use <a href="http://resources.ovirt.org/releases/stable/tools/ovirt-node-iso-2.5.5-0.1.fc17.iso" target="_blank">http://resources.ovirt.org/releases/stable/tools/ovirt-node-iso-2.5.5-0.1.fc17.iso</a><br>


<br>
        when i add gluster domain via nfs, mount error occurred,<br>
        I have do manually mount action on the node but failed if without -o nolock option:<br>
        # /usr/bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 my-gluster-ip:/gvol02/GlusterDomain /rhev/data-center/mnt/my-gluster-ip:_gvol02_GlusterDomain<br>
        mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use &#39;-o nolock&#39; to keep locks local, or start statd. mount.nfs: an incorrect mount option was specified<br>
<br>
        blow is the vdsm.log from node and engine.log, any help was appreciated :<br>
<br>
vdsm.log<br>
Thread-12717::DEBUG::2013-01-22 09:19:02,261::BindingXMLRPC::156::vds::(wrapper) [my-engine-ip]<br>
Thread-12717::DEBUG::2013-01-22 09:19:02,261::task::588::TaskManager.Task::(_updateState) Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::moving from state init -&gt; state preparing<br>
Thread-12717::INFO::2013-01-22 09:19:02,262::logUtils::37::dispatcher::(wrapper) Run and protect: validateStorageServerConnection(domType=1, spUUID=&#39;00000000-0000-0000-0000-000000000000&#39;, conList=[{&#39;connection&#39;: &#39;my-gluster-ip:/gvol02/GlusterDomain&#39;, &#39;iqn&#39;: &#39;&#39;, &#39;portal&#39;: &#39;&#39;, &#39;user&#39;: &#39;&#39;, &#39;password&#39;: &#39;******&#39;, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;, &#39;port&#39;: &#39;&#39;}], options=None)<br>


Thread-12717::INFO::2013-01-22 09:19:02,262::logUtils::39::dispatcher::(wrapper) Run and protect: validateStorageServerConnection, Return response: {&#39;statuslist&#39;: [{&#39;status&#39;: 0, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;}]}<br>


Thread-12717::DEBUG::2013-01-22 09:19:02,262::task::1172::TaskManager.Task::(prepare) Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::finished: {&#39;statuslist&#39;: [{&#39;status&#39;: 0, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;}]}<br>


Thread-12717::DEBUG::2013-01-22 09:19:02,262::task::588::TaskManager.Task::(_updateState) Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::moving from state preparing -&gt; state finished<br>
Thread-12717::DEBUG::2013-01-22 09:19:02,262::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}<br>
Thread-12717::DEBUG::2013-01-22 09:19:02,262::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}<br>
Thread-12717::DEBUG::2013-01-22 09:19:02,263::task::978::TaskManager.Task::(_decref) Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::ref 0 aborting False<br>
Thread-12718::DEBUG::2013-01-22 09:19:02,307::BindingXMLRPC::156::vds::(wrapper) [my-engine-ip]<br>
Thread-12718::DEBUG::2013-01-22 09:19:02,307::task::588::TaskManager.Task::(_updateState) Task=`c07a075a-a910-4bc3-9a33-b957d05ea270`::moving from state init -&gt; state preparing<br>
Thread-12718::INFO::2013-01-22 09:19:02,307::logUtils::37::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=1, spUUID=&#39;00000000-0000-0000-0000-000000000000&#39;, conList=[{&#39;connection&#39;: &#39;my-gluster-ip:/gvol02/GlusterDomain&#39;, &#39;iqn&#39;: &#39;&#39;, &#39;portal&#39;: &#39;&#39;, &#39;user&#39;: &#39;&#39;, &#39;password&#39;: &#39;******&#39;, &#39;id&#39;: &#39;6463ca53-6c57-45f6-bb5c-45505891cae9&#39;, &#39;port&#39;: &#39;&#39;}], options=None)<br>


Thread-12718::DEBUG::2013-01-22 09:19:02,467::__init__::1249::Storage.Misc.excCmd::(_log) &#39;/usr/bin/sudo -n /usr/bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 my-gluster-ip:/gvol02/GlusterDomain /rhev/data-center/mnt/my-gluster-ip:_gvol02_GlusterDomain&#39; (cwd None)<br>


Thread-12718::ERROR::2013-01-22 09:19:02,486::hsm::1932::Storage.HSM::(connectStorageServer) Could not connect to storageServer<br>
Traceback (most recent call last):<br>
  File &quot;/usr/share/vdsm/storage/hsm.py&quot;, line 1929, in connectStorageServer<br>
  File &quot;/usr/share/vdsm/storage/storageServer.py&quot;, line 256, in connect<br>
  File &quot;/usr/share/vdsm/storage/storageServer.py&quot;, line 179, in connect<br>
  File &quot;/usr/share/vdsm/storage/mount.py&quot;, line 190, in mount<br>
  File &quot;/usr/share/vdsm/storage/mount.py&quot;, line 206, in _runcmd<br>
MountError: (32, &quot;;mount.nfs: rpc.statd is not running but is required for remote locking.\nmount.nfs: Either use &#39;-o nolock&#39; to keep locks local, or start statd.\nmount.nfs: an incorrect mount option was specified\n&quot;)<br>


<br>
engine.log:<br>
2013-01-22 17:19:20,073 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] (ajp--0.0.0.0-8009-7) [25932203] START, ValidateStorageServerConnectionVDSCommand(vdsId = 626e37f4-5ee3-11e2-96fa-0030487c133e, storagePoolId = 00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList = [{ id: null, connection: my-gluster-ip:/gvol02/GlusterDomain };]), log id: 303f4753<br>


2013-01-22 17:19:20,095 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] (ajp--0.0.0.0-8009-7) [25932203] FINISH, ValidateStorageServerConnectionVDSCommand, return: {00000000-0000-0000-0000-000000000000=0}, log id: 303f4753<br>


2013-01-22 17:19:20,115 INFO  [org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] (ajp--0.0.0.0-8009-7) [25932203] Running command: AddStorageServerConnectionCommand internal: false. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: System<br>


2013-01-22 17:19:20,117 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (ajp--0.0.0.0-8009-7) [25932203] START, ConnectStorageServerVDSCommand(vdsId = 626e37f4-5ee3-11e2-96fa-0030487c133e, storagePoolId = 00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList = [{ id: 6463ca53-6c57-45f6-bb5c-45505891cae9, connection: my-gluster-ip:/gvol02/GlusterDomain };]), log id: 198f3eb4<br>


2013-01-22 17:19:20,323 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (ajp--0.0.0.0-8009-7) [25932203] FINISH, ConnectStorageServerVDSCommand, return: {6463ca53-6c57-45f6-bb5c-45505891cae9=477}, log id: 198f3eb4<br>


2013-01-22 17:19:20,325 ERROR [org.ovirt.engine.core.bll.storage.NFSStorageHelper] (ajp--0.0.0.0-8009-7) [25932203] The connection with details my-gluster-ip:/gvol02/GlusterDomain failed because of error code 477 and error message is: 477<br>


2013-01-22 17:19:20,415 INFO  [org.ovirt.engine.core.bll.storage.AddNFSStorageDomainCommand] (ajp--0.0.0.0-8009-6) [6641b9e1] Running command: AddNFSStorageDomainCommand internal: false. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: System<br>


2013-01-22 17:19:20,425 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] (ajp--0.0.0.0-8009-6) [6641b9e1] START, CreateStorageDomainVDSCommand(vdsId = 626e37f4-5ee3-11e2-96fa-0030487c133e, storageDomain=org.ovirt.engine.core.common.businessentities.storage_domain_static@8e25c6bc, args=my-gluster-ip:/gvol02/GlusterDomain), log id: 675539c4<br>


2013-01-22 17:19:21,064 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--0.0.0.0-8009-6) [6641b9e1] Failed in CreateStorageDomainVDS method<br>
2013-01-22 17:19:21,065 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--0.0.0.0-8009-6) [6641b9e1] Error code StorageDomainFSNotMounted and error message VDSGenericException: VDSErrorException: Failed to CreateStorageDomainVDS, error = Storage domain remote path not mounted: (&#39;/rhev/data-center/mnt/my-gluster-ip:_gvol02_GlusterDomain&#39;,)<br>


2013-01-22 17:19:21,066 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--0.0.0.0-8009-6) [6641b9e1] Command org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand 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                         360<br>
mMessage                      Storage domain remote path not mounted: (&#39;/rhev/data-center/mnt/my-gluster-ip:_gvol02_GlusterDomain&#39;,)<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><br></div>| RHCE | Senior Systems Engineer | <a href="http://www.vcore.co/" target="_blank">www.vcore.co</a> | <a href="http://www.vsearchcloud.com/" target="_blank">www.vsearchcloud.com</a> | <br>

</div>
</div>
</blockquote></div><br></div></blockquote></div>