Question: When I get stats from Nexenta as in my first patch with:
stats = self.nms.volume.get_child_props(FLAGS.nexenta_volume, 'health|size|used|available')
I sometimes get the error:
TypeError: can't multiply sequence by non-int of type 'float'
I suspect its due to the T,G appended in reponse from Nexenta. I logged values of those variable as comes from Nexenta:
2013-04-11 23:08:23 INFO [cinder.volume.drivers.nexenta.volume] Query Nexenta Stats Response: health: ONLINE, size: 3.62T, used: 1.65G, available: 2.67T
What measurement is Cinder expecting? Bytes? MB? GB? Thanks!
Question: When I get stats from Nexenta as in my first patch with:
stats = self.nms. volume. get_child_ props(FLAGS. nexenta_ volume, 'health| size|used| available' )
I sometimes get the error:
TypeError: can't multiply sequence by non-int of type 'float'
I suspect its due to the T,G appended in reponse from Nexenta. I logged values of those variable as comes from Nexenta:
2013-04-11 23:08:23 INFO [cinder. volume. drivers. nexenta. volume] Query Nexenta Stats Response: health: ONLINE, size: 3.62T, used: 1.65G, available: 2.67T
What measurement is Cinder expecting? Bytes? MB? GB? Thanks!