Statistics API change in Quobyte
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Silvan Kaiser |
Bug Description
Statistics API has changed slightly from it's pre-release state resulting in errors when reading backend capabilities:
2015-09-16 12:08:08.316 4382 DEBUG manila.
Traceback (most recent call last):
File "/usr/local/
listener.
File "/usr/local/
result = function(*args, **kwargs)
File "/usr/local/
service.start()
File "/opt/stack/
self.
File "/opt/stack/
return f(self, *args, **kwargs)
File "/opt/stack/
self.
File "/opt/stack/
return f(self, *args, **kwargs)
File "/opt/stack/
self.
File "/opt/stack/
share_stats = self.driver.
File "/opt/stack/
self.
File "/opt/stack/
total_gb, free_gb = self._get_
File "/opt/stack/
total = float(result[
KeyError: 'statistics'
The system information (capacity, used space) is not available as member of the 'statistics' field in the Quobyte backend but as direct members of the message. This means calls trying to read the key 'statistics' fail as this field is not available. Need to read the capacity and used fields directly.
Changed in manila: | |
importance: | Undecided → High |
milestone: | none → liberty-rc1 |
description: | updated |
Changed in manila: | |
status: | Fix Committed → Fix Released |
Changed in manila: | |
milestone: | liberty-rc1 → 1.0.0 |
Simple fix, will upload shortly