wrong information from host_diskpool_get_info

Bug #1753830 reported by titog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zVM Cloud Connector
Confirmed
Low
cao biao

Bug Description

This is my EXTENT CONTROL:
00038 :REGIONS.
00039 *RegionId VolSer RegStart RegEnd Dev-Type Comments
00040 VM7926 VM7926 0001 END 3390-09
00041 VL7927 VL7927 0001 END 3390-09
00042 VL7928 VL7928 0001 END 3390-09
00043 VL7929 VL7929 0001 END 3390-09
00044 VL7908 VL7908 0001 END 3390-09
00045 VL7909 VL7909 0001 END 3390-09
00046 VL7910 VL7910 0001 END 3390-09
00047 VL7911 VL7911 0001 END 3390-09
00048 VL7912 VL7912 0001 END 3390-09
00049 VL7913 VL7913 0001 END 3390-09
00050 VL7914 VL7914 0001 END 3390-09
00051 VL7915 VL7915 0001 END 3390-09
00052 VL7916 VL7916 0001 END 3390-09
00053 VL7917 VL7917 0001 END 3390-09
00054 VL7918 VL7918 0001 END 3390-09
00055 :END.
00056 :GROUPS.
00057 *GroupName RegionList
00058 CLOUD VL7915 VL7916 VL7917
00059 CLOUD VL7927 VL7928 VL7929 VL7908 VL7909 VL7910 VL7911
00060 POOL1 VL7912 VL7913 VL7914
00061 VMPOOL VL7918

This is the result of "host_diskpool_get_info":

>>> sdk_client.send_request('host_diskpool_get_info')
{u'rs': 0, u'overallRC': 0, u'modID': None, u'rc': 0, u'output': {u'disk_available': 64, u'disk_total': 69, u'disk_used': 5}, u'errmsg': u''}

What does mean "disk_available' 64, disk_total 69 and disk_used 5?

Is there any function that would bring me the max_gap available and pool total size?

Thanks!

Tags: diskpool zvm
Revision history for this message
jichenjc (jichenjc) wrote :

64 , 69 and 5 means 64G , we need enhance this in our document
this might need Bill's help

>>>Is there any function that would bring me the max_gap available and pool total size?
pool total size is 69 in above sample, I don't know the 'max_gap' means.... gap between used disks?

Changed in python-zvm-sdk:
assignee: nobody → cao biao (flytiger)
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
titog (titogarrido) wrote :

Regarding the max gap, I am not sure if it is really necessary or if the "Guest add disks" function would handle it. Example:

I have a pool of model9 ECKD disks, that means about 6GB for each disk. If I request 8GB, would the "Guest add disks" function use 1 mod9 disk + part of another mod9 disk? If yes, then it is not really necessary :)

Thanks!

Tito

Revision history for this message
jichenjc (jichenjc) wrote :

no, DIRMAINT don't support this kind of 6+2 mode, so in turn openstack can't support either
so mode27 might be needed in your case otherwise you will get a 'no disk available' issue

cao biao (flytiger)
Changed in python-zvm-sdk:
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
Huang Rui (bjhuangr)
Changed in python-zvm-sdk:
milestone: none → future
Huang Rui (bjhuangr)
Changed in python-zvm-sdk:
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.