[openstack-dev] Manila manage share problem
Valeriy Ponomaryov
vponomaryov at mirantis.com
Tue Apr 19 17:41:21 UTC 2016
Hello, Grigoriy
One or more of following requirements are not met in your case:
1) Generic driver should be configured to use
"driver_handles_share_servers=False" mode.
2) Share type "my_share_type" should contain extra spec
"driver_handles_share_servers=False",
same as for (1)
3) Your NFS server should be in Nova VM and this Nova VM should be enabled
in manila configuration for generic driver (1).
Valeriy
On Tue, Apr 19, 2016 at 8:26 PM, Grigoriy Roghkov <grigoriyroghkov at gmail.com
> wrote:
> Hello,
> I am trying to use OpenStack Manila to manage custom standalone shared
> file system that supports NFS protocol.
>
> Is there any way to use Manila Generic Driver with standalone NFS server?
>
> I tried to execute
>
> manila manage devstack at generic1#GENERIC1 nfs <ip>:/folder
> --name my_share --description "We manage share." --share_type
> my_share_type
>
> but I got an error
>
> 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
> alid host was found. Cannot place share
> 48fa7b52-9769-4d85-a62e-a1109a5c9ee3 on devstack at generic1#GENERIC1.
> 2016-04-19 19:46:46.611 ERROR oslo_messaging.rpc.dispatcher
> [req-e16952a0-084e-454f-a7d2-5d63091b3be4 4d0d3d65f55e4c86a9b92f28cccb7874
> a3277de126db4748b5a1bf6153875fb1] Exception during message handlin
> g: No valid host was found. Cannot place share
> 48fa7b52-9769-4d85-a62e-a1109a5c9ee3 on devstack at generic1#GENERIC1.
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher Traceback
> (most recent call last):
> 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
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher
> incoming.message))
> 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
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher return
> self._do_dispatch(endpoint, method, ctxt, args)
> 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
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher result =
> func(ctxt, **new_args)
> 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
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher
> _manage_share_set_error(self, context, ex, request_spec)
> 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__
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher
> self.force_reraise()
> 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
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher
> six.reraise(self.type_, self.value, self.tb)
> 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
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher context,
> share_ref['host'], request_spec, filter_properties)
> 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
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher raise
> exception.NoValidHost(reason=msg)
> 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 at generic1#GENERIC1.
> 2016-04-19 19:46:46.611 TRACE oslo_messaging.rpc.dispatcher
>
>
> What the value should I chose for devstack at generic1#GENERIC1 ?
>
> Thanks,
> Grigoriy
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
--
Kind Regards
Valeriy Ponomaryov
www.mirantis.com
vponomaryov at mirantis.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160419/c5bbdcc9/attachment.html>
More information about the OpenStack-dev
mailing list