Ask Your Question
0

cinder nfs hypervisor tab doesnt show nfs share disk space on horizon

asked 2014-05-07 05:54:21 -0600

anonymous user

Anonymous

2 node openstack havana with ubuntu. Cinder volume running on compute & cinder api, schedular running on controller.

Iv attached 10TB volume from netapp to the compute node using nfs. but horizon under hypervisors shows the free disk space of the host disk rather than the netapp nfs share volume.

Hostname Type VCPUs (total)VCPUs (used) RAM (total) RAM (used) Storage (total) Storage (used) Instances heos-cmpt2 QEMU 64 4 755GB 5GB 340.0GB 42.0GB 3

disk space shown here is of compute node. I am creating volumes on nfs share. how would i be able to see the disk space of nfs share here?

nfs is mounted at /var/lib/cinder/netapp/1b992a43854fceb32d1302d8676bdcdf

root@heos-cmpt2:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/heos--cmpt2--vg-root 341G 14G 310G 5% / udev 378G 4.0K 378G 1% /dev tmpfs 76G 332K 76G 1% /run none 5.0M 0 5.0M 0% /run/lock none 378G 0 378G 0% /run/shm cgroup 378G 0 378G 0% /sys/fs/cgroup /dev/sda1 236M 64M 160M 29% /boot 192.168.10.10:/vol/vol_for_cmpt2 11T 12M 11T 1% /var/lib/cinder/netapp/1b992a43854fceb32d1302d8676bdcdf

volumes are getting created on the nfs share root@heos-cmpt2:/var/lib/cinder/netapp/1b992a43854fceb32d1302d8676bdcdf# ls volume-6d7a3427-2199-4123-a99f-500a57534171 volume-d7bdddeb-4410-4955-8041-f55e7f04e432 volume-92ba2f6f-7a7e-4cf5-9652-3c1191266d44

PLease help

edit retag flag offensive close merge delete

Comments

I have the same problem !

Rodrigo gravatar imageRodrigo ( 2016-01-28 17:59:18 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2015-05-06 09:28:14 -0600

ajeffrey gravatar image

This is working correctly. The Horizon interface is showing how much free disk space the compute nodes have locally because that is the criteria the Nova scheduler will use to decide where to place new instances (as well as free memory and vcpus). You can prevent overallocation of cinder volumes by managing disk quotas and this can be done even on a per volume type basis.

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: 2014-05-07 05:54:21 -0600

Seen: 272 times

Last updated: May 06 '15