Activity log for bug #1496415

Date Who What changed Old value New value Message
2015-09-16 14:10:06 Silvan Kaiser bug added bug
2015-09-16 14:10:16 Silvan Kaiser manila: assignee Silvan Kaiser (2-silvan)
2015-09-21 16:00:46 OpenStack Infra manila: status New In Progress
2015-09-21 16:14:28 Ben Swartzlander manila: importance Undecided High
2015-09-21 16:14:30 Ben Swartzlander manila: milestone liberty-rc1
2015-09-21 16:14:58 Silvan Kaiser 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.share.drivers.quobyte.jsonrpc [req-8928dd45-fd90-4fe9-b06a-ca99feb109de ] Retrieved data from Quobyte backend: {u'jsonrpc': u'2.0', u'result': {u'task_counts': [], u'volume_count': 1, u'total_logical_capacity': 0, u'total_physical_capacity': 0, u'decommissioned_device': 0, u'total_physical_usage': 0, u'registered_device_count': 1, u'unavailable_device_count': 0, u'unassociated_device_count': 0, u'total_logical_usage': 0}, u'id': u'2'} call /opt/stack/manila/manila/share/drivers/quobyte/jsonrpc.py:137 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 115, in wait listener.cb(fileno) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main result = function(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/oslo_service/service.py", line 645, in run_service service.start() File "/opt/stack/manila/manila/service.py", line 120, in start self.manager.init_host() File "/opt/stack/manila/manila/share/manager.py", line 110, in wrapped return f(self, *args, **kwargs) File "/opt/stack/manila/manila/share/manager.py", line 269, in init_host self.publish_service_capabilities(ctxt) File "/opt/stack/manila/manila/share/manager.py", line 110, in wrapped return f(self, *args, **kwargs) File "/opt/stack/manila/manila/share/manager.py", line 1126, in publish_service_capabilities self._report_driver_status(context) File "/opt/stack/manila/manila/share/manager.py", line 1092, in _report_driver_status share_stats = self.driver.get_share_stats(refresh=True) File "/opt/stack/manila/manila/share/driver.py", line 614, in get_share_stats self._update_share_stats() File "/opt/stack/manila/manila/share/drivers/quobyte/quobyte.py", line 99, in _update_share_stats total_gb, free_gb = self._get_capacities() File "/opt/stack/manila/manila/share/drivers/quobyte/quobyte.py", line 114, in _get_capacities total = float(result['statistics']['total_logical_capacity']) KeyError: 'statistics' 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.share.drivers.quobyte.jsonrpc [req-8928dd45-fd90-4fe9-b06a-ca99feb109de ] Retrieved data from Quobyte backend: {u'jsonrpc': u'2.0', u'result': {u'task_counts': [], u'volume_count': 1, u'total_logical_capacity': 0, u'total_physical_capacity': 0, u'decommissioned_device': 0, u'total_physical_usage': 0, u'registered_device_count': 1, u'unavailable_device_count': 0, u'unassociated_device_count': 0, u'total_logical_usage': 0}, u'id': u'2'} call /opt/stack/manila/manila/share/drivers/quobyte/jsonrpc.py:137 Traceback (most recent call last):   File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 115, in wait     listener.cb(fileno)   File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main     result = function(*args, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/oslo_service/service.py", line 645, in run_service     service.start()   File "/opt/stack/manila/manila/service.py", line 120, in start     self.manager.init_host()   File "/opt/stack/manila/manila/share/manager.py", line 110, in wrapped     return f(self, *args, **kwargs)   File "/opt/stack/manila/manila/share/manager.py", line 269, in init_host     self.publish_service_capabilities(ctxt)   File "/opt/stack/manila/manila/share/manager.py", line 110, in wrapped     return f(self, *args, **kwargs)   File "/opt/stack/manila/manila/share/manager.py", line 1126, in publish_service_capabilities     self._report_driver_status(context)   File "/opt/stack/manila/manila/share/manager.py", line 1092, in _report_driver_status     share_stats = self.driver.get_share_stats(refresh=True)   File "/opt/stack/manila/manila/share/driver.py", line 614, in get_share_stats     self._update_share_stats()   File "/opt/stack/manila/manila/share/drivers/quobyte/quobyte.py", line 99, in _update_share_stats     total_gb, free_gb = self._get_capacities()   File "/opt/stack/manila/manila/share/drivers/quobyte/quobyte.py", line 114, in _get_capacities     total = float(result['statistics']['total_logical_capacity']) 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.
2015-09-21 19:20:18 OpenStack Infra manila: status In Progress Fix Committed
2015-09-22 19:42:57 Thierry Carrez manila: status Fix Committed Fix Released
2015-10-15 13:11:23 Thierry Carrez manila: milestone liberty-rc1 1.0.0