<div dir="ltr">Hello, Grigoriy<div><br></div><div>One or more of following requirements are not met in your case:</div><div><br></div><div>1) Generic driver should be configured to use "driver_handles_share_servers=False" mode.</div><div>2) Share type "<span style="font-size:12.8px">my_share_type" should contain extra spec "</span>driver_handles_share_servers=False", same as for (1)</div><div>3) Your NFS server should be in Nova VM and this Nova VM should be enabled in manila configuration for generic driver (1).</div><div><br></div><div>Valeriy</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 19, 2016 at 8:26 PM, Grigoriy Roghkov <span dir="ltr"><<a href="mailto:grigoriyroghkov@gmail.com" target="_blank">grigoriyroghkov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div>I am trying to use OpenStack Manila to manage custom standalone shared file system that supports NFS protocol. </div><div> </div><div>Is there any way to use Manila Generic Driver with standalone NFS server?<br><br>I tried to execute <br><br>manila
manage devstack@generic1#GENERIC1 nfs <ip>:/folder
--name my_share --description "We manage share." --share_type
my_share_type<br><br></div>but I got an error <br><div><br><blockquote>2016-04-19
19:46:46.544 ERROR manila.scheduler.manager
[req-e16952a0-084e-454f-a7d2-5d63091b3be4
4d0d3d65f55e4c86a9b92f28cccb7874 a3277de126db4748b5a1bf6153875fb1]
Failed to schedule manage_share: No v<br>alid host was found. Cannot place share 48fa7b52-9769-4d85-a62e-a1109a5c9ee3 on devstack@generic1#GENERIC1.<br>2016-04-19
19:46:46.611 ERROR oslo_messaging.rpc.dispatcher
[req-e16952a0-084e-454f-a7d2-5d63091b3be4
4d0d3d65f55e4c86a9b92f28cccb7874 a3277de126db4748b5a1bf6153875fb1]
Exception during message handlin<br>g: No valid host was found. Cannot place share 48fa7b52-9769-4d85-a62e-a1109a5c9ee3 on devstack@generic1#GENERIC1.<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py",
line 138, in _dispatch_and_reply<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher incoming.message))<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py",
line 185, in _dispatch<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py",
line 127, in _do_dispatch<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher File
"/opt/stack/manila/manila/scheduler/manager.py", line 141, in
manage_share<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher _manage_share_set_error(self, context, ex, request_spec)<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher File
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line
220, in __exit__<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher self.force_reraise()<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher File
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line
196, in force_reraise<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher File
"/opt/stack/manila/manila/scheduler/manager.py", line 138, in
manage_share<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher context, share_ref['host'], request_spec, filter_properties)<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher File
"/opt/stack/manila/manila/scheduler/drivers/filter.py", line 458, in
host_passes_filters<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher raise exception.NoValidHost(reason=msg)<br>2016-04-19
19:46:46.611 TRACE oslo_messaging.rpc.dispatcher NoValidHost: No valid
host was found. Cannot place share 48fa7b52-9769-4d85-a62e-a1109a5c9ee3
on devstack@generic1#GENERIC1.<br>2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher <br></blockquote><br></div><div>What the value should I chose for devstack@generic1#GENERIC1 ?</div><div><br></div><div>Thanks, </div><span class="HOEnZb"><font color="#888888"><div>Grigoriy</div></font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Kind Regards<br>Valeriy Ponomaryov<br><a href="http://www.mirantis.com" target="_blank">www.mirantis.com</a><br><a href="mailto:vponomaryov@mirantis.com" target="_blank">vponomaryov@mirantis.com</a><br></div></div>
</div>