Manila : Failed to create share : No valid host found (GPFS )

asked 2016-02-05 19:58:05 -0500

anonymous user

Anonymous

Currently I am trying to create share using Manila. I have two nodes, one node (IP-ADDR1) has Keystone-Manila installed on to it and the other node (IP-ADDR2) has GPFS installed and GPFS mounted on /mnt/gpfs1.

Following is my Manila config file settings :

[DEFAULT]
logging_exception_prefix = %(asctime)s.%(msecs)d TRACE %(name)s %(instance)s
logging_debug_format_suffix = from (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d
logging_default_format_string = %(asctime)s.%(msecs)d %(color)s%(levelname)s %(name)s [-%(color)s] %(instance)s%(color)s%(message)s
logging_context_format_string = %(asctime)s.%(msecs)d %(color)s%(levelname)s %(name)s [%(request_id)s %(user_id)s %(project_id)s%(color)s] %(instance)s%(color)s%(message)s
log_dir = /var/log/stack/manila/
# Set auth strategy for usage of Keystone
auth_strategy = keystone

# Set message bus creds
rabbit_userid = openstack
rabbit_password = xxxxx
rabbit_hosts = 127.0.0.1
rpc_backend = rabbit

# Following opt is used for definition of share backends that should be enabled.
# Values are conf groupnames that contain per manila-share service opts.
enabled_share_backends = gpfs

# Enable protocols ‘NFS’ and ‘CIFS’ as those are the only supported
# by Generic driver that we are configuring in this set up.
# All available values are (‘NFS’, ‘CIFS’, ‘GlusterFS’, ‘HDFS’)
enabled_share_protocols = NFS,CIFS

default_share_type = gpfs

state_path = /opt/stack/data/manila
osapi_share_extension = manila.api.contrib.standard_extensions
rootwrap_config = /etc/manila/rootwrap.conf
api_paste_config = /etc/manila/api-paste.ini
share_name_template = share-%s

# scheduler_driver = manila.scheduler.filter_scheduler.FilterScheduler

verbose = True
debug = True

[gpfs]
share_driver = manila.share.drivers.ibm.gpfs.GPFSShareDriver
gpfs_share_export_ip = <IP_ADDR2>
driver_handles_share_servers = false
# GPFS backend credentials
gpfs_ssh_login = root
gpfs_ssh_private_key = <KEY PATH>
gpfs_mount_point_base = /mnt/gpfs1/
gpfs_nfs_server_list = <IP_ADDR2>
gpfs_nfs_server_type = KNFS
# GNFS - for Ganesha NFS
ssh_conn_timeout = 60
ssh_min_pool_conn = 1
ssh_max_pool_conn = 10
gpfs_share_helpers = KNFS=manila.share.drivers.ibm.gpfs.KNFSHelper
gpfs_ssh_port = 22
knfs_export_options = rw
# Custom name for share backend.
share_backend_name = GPFS

When I issue command :

manila create --share-type gpfs --name testshare NFS 1

I get this error in scheduler logs : No valid hosts found. I also had created a type as gpfs using

manila type-create gpfs False

Can someone please help me debug this issue? I am using Ubuntu 14.04.

edit retag flag offensive close merge delete