Ask Your Question
0

Cinder Multibacked netapp driver - Kilo

asked 2016-01-29 13:47:07 -0500

Rodrigo gravatar image

I configured the cinder driver for netapp with success, I can create volumes, instances using the nfs backend. But when I create a new instance using the horizon, the value from internal storage for the hypervisor is marked as in use at the local disk, even not in use. The volume for instance is created in nfs shared but the LOCAL STORAGE in hypervisor is updated as used.

# nova hypervisor-stats
+----------------------+-------+
| Property             | Value |
+----------------------+-------+
| count                | 2     |
| current_workload     | 0     |
| disk_available_least | 470   |
| free_disk_gb         | 10    |
| free_ram_mb          | 48428 |
| local_gb             | 470   |
| local_gb_used        | 460   |
| memory_mb            | 96556 |
| memory_mb_used       | 48128 |
| running_vms          | 23    |
| vcpus                | 32    |
| vcpus_used           | 23    |
+----------------------+-------+

When all space from the local hypervisor is marked as in use a received the error:

No valid host was found. There are not enough hosts available.

But I have space in NFS share and all volumes was created in the NFS, I don't have any volumes created in the compute local storages.

- cinder.conf
[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
enable_v2_api=True
iscsi_protocol=iscsi
use_syslog=True
api_paste_config=/etc/cinder/api-paste.ini
glance_num_retries=0
volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver
use_stderr=False
debug=False
storage_availability_zone=nova
glance_api_ssl_compression=False
glance_api_insecure=False
syslog_log_facility=LOG_LOCAL3
log_dir=/var/log/cinder
iscsi_ip_address=10.250.3.131
glance_api_servers=10.1.3.130:9292
volume_backend_name=DEFAULT
default_availability_zone=nova
use_syslog_rfc_format=True
control_exchange=cinder
enable_v1_api=True
glance_api_version=2
amqp_durable_queues=False
rpc_backend=cinder.openstack.common.rpc.impl_kombu
kombu_reconnect_delay=5.0
enabled_backends=cinder_isci,cinder_netapp
default_volume_type=cinder_netapp

[oslo_messaging_rabbit]
rabbit_ha_queues=True
rabbit_use_ssl=False
rabbit_hosts=10.1.3.131:5673, 10.1.3.132:5673, 10.1.3.134:5673
rabbit_virtual_host=/
rabbit_password=password
rabbit_userid=nova

[keystone_authtoken]
signing_dir=/tmp/keystone-signing-cinder
admin_password=password
admin_tenant_name=services
auth_uri=http://10.1.3.130:5000/
identity_uri=http://10.1.3.130:5000/
admin_user=cinder
signing_dirname=/tmp/keystone-signing-cinder

[database]
idle_timeout=3600
max_pool_size=30
max_retries=-1
retry_interval=10
max_overflow=60
min_pool_size=1
connection=mysql://cinder:password@10.1.3.130/cinder?charset=utf8&read_timeout=60

[keymgr]
fixed_key=8756254f7e8ee8c57f3858af6c47c420b074c2608e3932ca6720538112ee99d5

[cinder_isci]
iscsi_helper=tgtadm
volume_backend_name=cinder_isci
volume_group=cinder

[cinder_netapp]
netapp_login=root
netapp_eseries_host_type=linux_dm_mp
netapp_controller_ips=
netapp_size_multiplier=1.2
netapp_vserver=
netapp_server_port=80
nfs_shares_config=/etc/cinder/shares.conf
netapp_sa_password=
thres_avl_size_perc_start=20
netapp_storage_pools=
volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver
netapp_storage_protocol=nfs
netapp_storage_family=ontap_7mode
volume_backend_name=cinder_netapp
thres_avl_size_perc_stop=60
netapp_vfiler=
netapp_volume_list=
netapp_server_hostname=10.1.0.25
expiry_thres_minutes=2160
netapp_transport_type=http
netapp_password=password
netapp_webservice_path=/devmgr/v2
netapp_copyoffload_tool_path=
root@node-6:~#

- shared.conf
10.250.3.253:/vol/openstack

# df -h
Filesystem                   Size  Used Avail Use% Mounted on
udev                          16G   12K   16G   1% /dev
tmpfs                        3.2G  5.4M  3.2G   1% /run
/dev/dm-1                     27G  2.1G   24G   9% /
none                         4.0K     0  4.0K   0% /sys/fs/cgroup
none                         5.0M     0  5.0M   0% /run/lock
none                          16G     0   16G   0% /run/shm
none                         100M     0  100M   0% /run/user
/dev/sda3                    196M   44M  143M  24% /boot
/dev/mapper/vm-nova           91G   33M   91G   1% /var/lib/nova
10.250.3.253:/vol/openstack ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-01 17:16:38 -0500

Rodrigo gravatar image

The user "dcain" in netapp community forum post the solution:

http://community.netapp.com/t5/OpenSt...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-29 13:47:07 -0500

Seen: 198 times

Last updated: Feb 01 '16