)]}'
{"specs/newton/volume-usage-stats.rst":[{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"383f5002663e42ac8207d9104ac61b1fcb4fa78a","unresolved":false,"context_lines":[{"line_number":16,"context_line":"Problem description"},{"line_number":17,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"As on date, Cinder has no report which can tell the cloud admin how many"},{"line_number":20,"context_line":"volumes are created per volume type and per backend. Such information would be"},{"line_number":21,"context_line":"helpful to provide a hawk eye view of your entire block storage infrastructure"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fad55976_605eeb46","line":19,"range":{"start_line":19,"start_character":0,"end_line":19,"end_character":10},"updated":"2016-07-15 19:42:34.000000000","message":"Up to date","commit_id":"3df572609cdd0e217cffa034be286fc16700c1c4"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"383f5002663e42ac8207d9104ac61b1fcb4fa78a","unresolved":false,"context_lines":[{"line_number":24,"context_line":"Use Cases"},{"line_number":25,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"This would make it easy for the cloud admin to see a trend for usage of"},{"line_number":28,"context_line":"resource across his data center. Data from the report can be used to deduce"},{"line_number":29,"context_line":"the popular backend(Ceph or LVM) \u0026 volume types thereby influencing"},{"line_number":30,"context_line":"the overall cloud strategy of the admin"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fad55976_1b20449b","line":28,"range":{"start_line":27,"start_character":0,"end_line":28,"end_character":32},"updated":"2016-07-15 19:42:34.000000000","message":"Move to problem description?","commit_id":"3df572609cdd0e217cffa034be286fc16700c1c4"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"383f5002663e42ac8207d9104ac61b1fcb4fa78a","unresolved":false,"context_lines":[{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"The information required for the report is stored in the ``volumes`` and"},{"line_number":37,"context_line":"``volume-types`` table of the cinder database."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"The following are the changes to be made:"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fad55976_9b90b497","line":37,"range":{"start_line":37,"start_character":17,"end_line":37,"end_character":22},"updated":"2016-07-15 19:42:34.000000000","message":"tables","commit_id":"3df572609cdd0e217cffa034be286fc16700c1c4"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"383f5002663e42ac8207d9104ac61b1fcb4fa78a","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  the list of dictionaries and return a formatted dictionary with columns"},{"line_number":46,"context_line":"  \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027"},{"line_number":47,"context_line":"* When we query using optional parameter volume-type we pass volume-type_id"},{"line_number":48,"context_line":"  as parameter to the dp api and results are filtered only by volume-type"},{"line_number":49,"context_line":"* Volumes in \u0027attached\u0027, \u0027available\u0027 status will only be considered"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fad55976_7be4e03a","line":48,"range":{"start_line":48,"start_character":22,"end_line":48,"end_character":24},"updated":"2016-07-15 19:42:34.000000000","message":"db","commit_id":"3df572609cdd0e217cffa034be286fc16700c1c4"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"383f5002663e42ac8207d9104ac61b1fcb4fa78a","unresolved":false,"context_lines":[{"line_number":46,"context_line":"  \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027"},{"line_number":47,"context_line":"* When we query using optional parameter volume-type we pass volume-type_id"},{"line_number":48,"context_line":"  as parameter to the dp api and results are filtered only by volume-type"},{"line_number":49,"context_line":"* Volumes in \u0027attached\u0027, \u0027available\u0027 status will only be considered"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fad55976_5bc47c91","line":49,"range":{"start_line":49,"start_character":2,"end_line":49,"end_character":9},"updated":"2016-07-15 19:42:34.000000000","message":"Only volumes with \u0027...\u0027 or \u0027...\u0027 status will be considered.","commit_id":"3df572609cdd0e217cffa034be286fc16700c1c4"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"383f5002663e42ac8207d9104ac61b1fcb4fa78a","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":" Normal http response code: 200"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"..code-block:: rest"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":" {"},{"line_number":81,"context_line":"    \"volumeusage\": ["}],"source_content_type":"text/x-rst","patch_set":2,"id":"fad55976_9677e901","line":78,"range":{"start_line":78,"start_character":0,"end_line":78,"end_character":14},"updated":"2016-07-15 19:42:34.000000000","message":".. code-block:: (notice space after dots)\nalso whole section should be indented similarly to text above","commit_id":"3df572609cdd0e217cffa034be286fc16700c1c4"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"383f5002663e42ac8207d9104ac61b1fcb4fa78a","unresolved":false,"context_lines":[{"line_number":82,"context_line":"      {"},{"line_number":83,"context_line":"        \"volume-type\": \"GenericVolume\","},{"line_number":84,"context_line":"        \"backend\": \"LVM-1\","},{"line_number":85,"context_line":"        \"volumes:: 150"},{"line_number":86,"context_line":"      },"},{"line_number":87,"context_line":"      {"},{"line_number":88,"context_line":"        \"volume-type\": \"FastVolume\","}],"source_content_type":"text/x-rst","patch_set":2,"id":"fad55976_3b86e8b9","line":85,"range":{"start_line":85,"start_character":16,"end_line":85,"end_character":18},"updated":"2016-07-15 19:42:34.000000000","message":"replace with \":\"\nsame below","commit_id":"3df572609cdd0e217cffa034be286fc16700c1c4"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"383f5002663e42ac8207d9104ac61b1fcb4fa78a","unresolved":false,"context_lines":[{"line_number":141,"context_line":"A python-cinderclient command has will access to the API and print the"},{"line_number":142,"context_line":"result out in a formatted table."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"$cinder volume-usage"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Example output:"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"+---------------+-----------+-------+"},{"line_number":149,"context_line":"|  VolumeType   |  Backend  | Count |"},{"line_number":150,"context_line":"+---------------+-----------+-------+"},{"line_number":151,"context_line":"| GenericVolume | LVM-1     |  150  |"},{"line_number":152,"context_line":"| FastVolume    | Ceph-1    |  150  |"},{"line_number":153,"context_line":"| FastVolume    | Ceph-2    |  300  |"},{"line_number":154,"context_line":"+---------------+-----------+-------+"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fad55976_36371de5","line":154,"range":{"start_line":144,"start_character":0,"end_line":154,"end_character":37},"updated":"2016-07-15 19:42:34.000000000","message":"enclose in .. code:: console otherwise it will be interpreted as a rst table","commit_id":"3df572609cdd0e217cffa034be286fc16700c1c4"},{"author":{"_account_id":17275,"name":"Nate Potter","email":"nathaniel.potter@intel.com","username":"npotter"},"change_message_id":"cd364279ade44f4e4b09b74e1e8c6f705fa712bf","unresolved":false,"context_lines":[{"line_number":16,"context_line":"Problem description"},{"line_number":17,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"As on date, Cinder has no report which can tell the cloud admin how many"},{"line_number":20,"context_line":"volumes are created per volume type and per backend. Such information would"},{"line_number":21,"context_line":"make it easy for the cloud admin to see a trend for usage of resource"},{"line_number":22,"context_line":"across the data center and provide an overview of the entire block"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fad55976_81415e3c","line":19,"range":{"start_line":19,"start_character":0,"end_line":19,"end_character":10},"updated":"2016-07-15 22:40:46.000000000","message":"s/As on date/As of today","commit_id":"c43c1212818ed81edd05fcb9169450433aaf05ce"},{"author":{"_account_id":17275,"name":"Nate Potter","email":"nathaniel.potter@intel.com","username":"npotter"},"change_message_id":"cd364279ade44f4e4b09b74e1e8c6f705fa712bf","unresolved":false,"context_lines":[{"line_number":26,"context_line":"Use Cases"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The cloud admin can use the report to deduce the popular backend(Ceph or LVM)"},{"line_number":30,"context_line":"\u0026 volume types. The admin can also narrow the report data by volume type."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"fad55976_a148e25c","line":29,"range":{"start_line":29,"start_character":49,"end_line":29,"end_character":56},"updated":"2016-07-15 22:40:46.000000000","message":"s/popular/most popular","commit_id":"c43c1212818ed81edd05fcb9169450433aaf05ce"},{"author":{"_account_id":17275,"name":"Nate Potter","email":"nathaniel.potter@intel.com","username":"npotter"},"change_message_id":"cd364279ade44f4e4b09b74e1e8c6f705fa712bf","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* ``GET /v3.x/{tenant_id}/types/{volume_type_id}/volumeusage``"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":" This method get the count of all volumes across all tenants but restricted"},{"line_number":107,"context_line":" to that volume type."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":" Normal http response code: 200"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fad55976_6479cd2f","line":106,"range":{"start_line":106,"start_character":13,"end_line":106,"end_character":16},"updated":"2016-07-15 22:40:46.000000000","message":"s/get/gets","commit_id":"c43c1212818ed81edd05fcb9169450433aaf05ce"},{"author":{"_account_id":17275,"name":"Nate Potter","email":"nathaniel.potter@intel.com","username":"npotter"},"change_message_id":"cd364279ade44f4e4b09b74e1e8c6f705fa712bf","unresolved":false,"context_lines":[{"line_number":142,"context_line":"Other end user impact"},{"line_number":143,"context_line":"---------------------"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"A python-cinderclient command has will access to the API and print the"},{"line_number":146,"context_line":"result out in a formatted table."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":" Example output:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fad55976_24b515cd","line":145,"range":{"start_line":145,"start_character":46,"end_line":145,"end_character":48},"updated":"2016-07-15 22:40:46.000000000","message":"remove \u0027to\u0027","commit_id":"c43c1212818ed81edd05fcb9169450433aaf05ce"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"b6b1a9b8b91787324e0cb7cee227fc9aae034976","unresolved":false,"context_lines":[{"line_number":26,"context_line":"Use Cases"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The cloud admin can use the report to deduce the most popular backend"},{"line_number":30,"context_line":"(Ceph or LVM) \u0026 volume types. The admin can also narrow the report data by"},{"line_number":31,"context_line":"volume type."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_4882db53","line":31,"range":{"start_line":29,"start_character":0,"end_line":31,"end_character":12},"updated":"2016-07-18 14:06:13.000000000","message":"Can you elaborate on how you\u0027ve got that requirement? Is this operator request?\n\nI don\u0027t expect including that in the spec, I\u0027m just curious.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"8c0573b7fbee7b3de321de80f91237537d297da6","unresolved":false,"context_lines":[{"line_number":26,"context_line":"Use Cases"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The cloud admin can use the report to deduce the most popular backend"},{"line_number":30,"context_line":"(Ceph or LVM) \u0026 volume types. The admin can also narrow the report data by"},{"line_number":31,"context_line":"volume type."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_c703510e","line":31,"range":{"start_line":29,"start_character":0,"end_line":31,"end_character":12},"in_reply_to":"dada55a8_4882db53","updated":"2016-07-18 23:36:51.000000000","message":"I believe this was requested by seth mason and assigned to jgriffith\n\nhttps://blueprints.launchpad.net/cinder/+spec/cinder-volume-usage-stats","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"317d3ec2fecab24e73115377474013e009975612","unresolved":false,"context_lines":[{"line_number":26,"context_line":"Use Cases"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The cloud admin can use the report to deduce the most popular backend"},{"line_number":30,"context_line":"(Ceph or LVM) \u0026 volume types. The admin can also narrow the report data by"},{"line_number":31,"context_line":"volume type."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_a8314a5c","line":31,"range":{"start_line":29,"start_character":0,"end_line":31,"end_character":12},"in_reply_to":"dada55a8_c703510e","updated":"2016-07-20 19:52:27.000000000","message":"Oh, I should have taken a look into the blueprint. Thanks!","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"b6b1a9b8b91787324e0cb7cee227fc9aae034976","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027."},{"line_number":50,"context_line":"* When we query using optional parameter volume-type we pass it as a parameter"},{"line_number":51,"context_line":"  and results are filtered by only that volume-type."},{"line_number":52,"context_line":"* We should consider only volumes in \u0027attached\u0027 \u0026 \u0027available\u0027 status while"},{"line_number":53,"context_line":"  counting the volumes."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_8512fe60","line":53,"range":{"start_line":52,"start_character":0,"end_line":53,"end_character":23},"updated":"2016-07-18 14:06:13.000000000","message":"We can make that modifiable per request I think.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"8c0573b7fbee7b3de321de80f91237537d297da6","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027."},{"line_number":50,"context_line":"* When we query using optional parameter volume-type we pass it as a parameter"},{"line_number":51,"context_line":"  and results are filtered by only that volume-type."},{"line_number":52,"context_line":"* We should consider only volumes in \u0027attached\u0027 \u0026 \u0027available\u0027 status while"},{"line_number":53,"context_line":"  counting the volumes."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_023557d9","line":53,"range":{"start_line":52,"start_character":0,"end_line":53,"end_character":23},"in_reply_to":"dada55a8_8512fe60","updated":"2016-07-18 23:36:51.000000000","message":"Yes. I agree.I will edit this part. But for now, these statuses make sense to me","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"b6b1a9b8b91787324e0cb7cee227fc9aae034976","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Alternatives"},{"line_number":57,"context_line":"------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"One of the ways for the admin to fetch this data is to directly access the"},{"line_number":60,"context_line":"cinder database and run aggregate queries which return these values."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_a810b74f","line":60,"range":{"start_line":59,"start_character":0,"end_line":60,"end_character":68},"updated":"2016-07-18 14:06:13.000000000","message":"I know operators are also using notifications and cinder-usage-audit script for that purposes.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"8c0573b7fbee7b3de321de80f91237537d297da6","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Alternatives"},{"line_number":57,"context_line":"------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"One of the ways for the admin to fetch this data is to directly access the"},{"line_number":60,"context_line":"cinder database and run aggregate queries which return these values."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_82313e0e","line":60,"range":{"start_line":59,"start_character":0,"end_line":60,"end_character":68},"in_reply_to":"dada55a8_a810b74f","updated":"2016-07-18 23:36:51.000000000","message":"I will modify this part.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"b6b1a9b8b91787324e0cb7cee227fc9aae034976","unresolved":false,"context_lines":[{"line_number":72,"context_line":"A new API would be introduced for this. The API microversion will have to be"},{"line_number":73,"context_line":"bumped."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* ``GET /v3.x/{tenant_id}/volumeusage``"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":" This method gets the count of all volumes across all tenants, volumetypes \u0026"},{"line_number":78,"context_line":" backends."}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_e8690f8d","line":75,"range":{"start_line":75,"start_character":15,"end_line":75,"end_character":24},"updated":"2016-07-18 14:06:13.000000000","message":"Hm, if it\u0027s global API do we need to include tenant_id here? Pools also has it, I just wonder if this is correct design.\n\nI\u0027m not sure on that remark, just starting discussion.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"317d3ec2fecab24e73115377474013e009975612","unresolved":false,"context_lines":[{"line_number":72,"context_line":"A new API would be introduced for this. The API microversion will have to be"},{"line_number":73,"context_line":"bumped."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* ``GET /v3.x/{tenant_id}/volumeusage``"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":" This method gets the count of all volumes across all tenants, volumetypes \u0026"},{"line_number":78,"context_line":" backends."}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_4879aec7","line":75,"range":{"start_line":75,"start_character":15,"end_line":75,"end_character":24},"in_reply_to":"dada55a8_82d147d0","updated":"2016-07-20 19:52:27.000000000","message":"Not sure really, I don\u0027t even know if we\u0027re able to serve requests without tenant_id part in the URL with our current API layer.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"8c0573b7fbee7b3de321de80f91237537d297da6","unresolved":false,"context_lines":[{"line_number":72,"context_line":"A new API would be introduced for this. The API microversion will have to be"},{"line_number":73,"context_line":"bumped."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* ``GET /v3.x/{tenant_id}/volumeusage``"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":" This method gets the count of all volumes across all tenants, volumetypes \u0026"},{"line_number":78,"context_line":" backends."}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_82d147d0","line":75,"range":{"start_line":75,"start_character":15,"end_line":75,"end_character":24},"in_reply_to":"dada55a8_e8690f8d","updated":"2016-07-18 23:36:51.000000000","message":"Hmm.. good point.Now, I am thinking maybe we can try to restrict the output of the report by tenant_id in addition to volume-type. However,  It makes sense to have it only in that case otherwise I can remove it.\n\nDo you see a way in which the operator would like to narrow the report result by tenant??","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"b6b1a9b8b91787324e0cb7cee227fc9aae034976","unresolved":false,"context_lines":[{"line_number":84,"context_line":"  {"},{"line_number":85,"context_line":"    \"volumeusage\": ["},{"line_number":86,"context_line":"      {"},{"line_number":87,"context_line":"        \"volume-type\": \"GenericVolume\","},{"line_number":88,"context_line":"        \"backend\": \"LVM-1\","},{"line_number":89,"context_line":"        \"volumes\": 150"},{"line_number":90,"context_line":"      },"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_c8952b41","line":87,"range":{"start_line":87,"start_character":9,"end_line":87,"end_character":20},"updated":"2016-07-18 14:06:13.000000000","message":"Looks like we\u0027re using volume_type in other places. Same below.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"b6b1a9b8b91787324e0cb7cee227fc9aae034976","unresolved":false,"context_lines":[{"line_number":115,"context_line":"    \"volumeusage\": ["},{"line_number":116,"context_line":"      {"},{"line_number":117,"context_line":"        \"volume-type\": \"FastVolume\","},{"line_number":118,"context_line":"        \"backend\": \"Ceph1\","},{"line_number":119,"context_line":"        \"volumes: 150"},{"line_number":120,"context_line":"      },"},{"line_number":121,"context_line":"      {"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_c8cecb82","line":118,"range":{"start_line":118,"start_character":8,"end_line":118,"end_character":27},"updated":"2016-07-18 14:06:13.000000000","message":"Are we assuming 1-to-1 mapping between volume types and backends? That\u0027s not always true.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"317d3ec2fecab24e73115377474013e009975612","unresolved":false,"context_lines":[{"line_number":115,"context_line":"    \"volumeusage\": ["},{"line_number":116,"context_line":"      {"},{"line_number":117,"context_line":"        \"volume-type\": \"FastVolume\","},{"line_number":118,"context_line":"        \"backend\": \"Ceph1\","},{"line_number":119,"context_line":"        \"volumes: 150"},{"line_number":120,"context_line":"      },"},{"line_number":121,"context_line":"      {"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_e814e24d","line":118,"range":{"start_line":118,"start_character":8,"end_line":118,"end_character":27},"in_reply_to":"dada55a8_22a69bc1","updated":"2016-07-20 19:52:27.000000000","message":"It\u0027s even more complicated - a volume type may not define volume_backend_name, but still map to a subset backends through requested capabilities.\n\nBut yeah, we can just present volume_backend_name value here and nothing if it\u0027s empty. That would still make sense.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"8c0573b7fbee7b3de321de80f91237537d297da6","unresolved":false,"context_lines":[{"line_number":115,"context_line":"    \"volumeusage\": ["},{"line_number":116,"context_line":"      {"},{"line_number":117,"context_line":"        \"volume-type\": \"FastVolume\","},{"line_number":118,"context_line":"        \"backend\": \"Ceph1\","},{"line_number":119,"context_line":"        \"volumes: 150"},{"line_number":120,"context_line":"      },"},{"line_number":121,"context_line":"      {"}],"source_content_type":"text/x-rst","patch_set":5,"id":"dada55a8_22a69bc1","line":118,"range":{"start_line":118,"start_character":8,"end_line":118,"end_character":27},"in_reply_to":"dada55a8_c8cecb82","updated":"2016-07-18 23:36:51.000000000","message":"Did you mean two different volume-types can map to the same backend? \n\nYes even if it does, this wouldn\u0027t affect the count of volumes because we directly using results from db\u0027s volume table\n\nCorrect me if i am wrong.","commit_id":"6efc383fc95901291c9f69689e588188db0a7e71"},{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"4f6a4cc41f59459f39ad640998dda5345a1a7710","unresolved":false,"context_lines":[{"line_number":58,"context_line":"------------"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Currently, the operators are using notifications and cinder-usage-audit"},{"line_number":61,"context_line":"script for this purpose. I beleive these scripts directly access the cinder"},{"line_number":62,"context_line":"database and run aggregate queries which return these values."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"dada55a8_080a1679","line":61,"range":{"start_line":61,"start_character":27,"end_line":61,"end_character":34},"updated":"2016-07-20 19:52:10.000000000","message":"believe","commit_id":"18911c41c30eba6cf7c61cccda858ac6bf91c7b8"}],"specs/ocata/volume-usage-stats.rst":[{"author":{"_account_id":11600,"name":"Michał Dulko","email":"michal.dulko@gmail.com","username":"dulek"},"change_message_id":"e919b28ab1d7b9350cfba0939c69d324d4b95be3","unresolved":false,"context_lines":[{"line_number":74,"context_line":"A new API would be introduced for this. The API microversion will have to be"},{"line_number":75,"context_line":"bumped."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"* ``GET /v3.x/{tenant_id}/volumeusage``"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":" This method gets the count of all volumes across all tenants, volumetypes \u0026"},{"line_number":80,"context_line":" backends."}],"source_content_type":"text/x-rst","patch_set":7,"id":"1ac06dbe_58f8094a","line":77,"range":{"start_line":77,"start_character":4,"end_line":77,"end_character":37},"updated":"2016-08-24 13:32:59.000000000","message":"To be consistent with the [1] patch - maybe we should use something like /v3.x/{tenant_id}/volumes/usage?\n\n[1] https://review.openstack.org/#/c/335067/","commit_id":"57fcad259610dfd925183f606ae510dc9889504a"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"174dda19fbf1f8c2510ceaf1326aef1c6af82d83","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Volume Usage Stat Reporting"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Include the URL of your launchpad blueprint:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/cinder/+spec/cinder-volume-usage-stats"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_d0f84be8","line":11,"range":{"start_line":11,"start_character":0,"end_line":11,"end_character":44},"updated":"2016-10-28 08:52:09.000000000","message":"Seems part of template only... you can delete this line..","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"174dda19fbf1f8c2510ceaf1326aef1c6af82d83","unresolved":false,"context_lines":[{"line_number":49,"context_line":"* If detail\u003dTrue, a new method will be called under cinder.api.v3.views.volumes"},{"line_number":50,"context_line":"  class named get_summary_detail which will return a formatted dictionary"},{"line_number":51,"context_line":"  with columns \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027."},{"line_number":52,"context_line":"* We should consider only volumes in \u0027attached\u0027 \u0026 \u0027available\u0027 status while"},{"line_number":53,"context_line":"  counting the volumes."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_1049e331","line":53,"range":{"start_line":52,"start_character":6,"end_line":53,"end_character":23},"updated":"2016-10-28 08:52:09.000000000","message":"what if some values are in Error or any other state but still claims quota from cinder quota?","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":23083,"name":"TommyLike","email":"tommylikehu@gmail.com","username":"TommyLike"},"change_message_id":"6f54d95b8f709ed2b1dc197f46dafbc3194fa302","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"No new API will be required. The API microversion will have to be bumped."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* ``GET /v3.x/{tenant_id}/volumes/summary/detail`"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":" This method gets the count of all volumes across all tenants, volumetypes \u0026"},{"line_number":78,"context_line":" backends."}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_15d9d8f3","line":75,"range":{"start_line":75,"start_character":48,"end_line":75,"end_character":49},"updated":"2016-10-28 06:29:15.000000000","message":"missing ` here?","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"3c2f3199f9ebc0857b464390edbb6c1353157adc","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"No new API will be required. The API microversion will have to be bumped."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* ``GET /v3.x/{tenant_id}/volumes/summary/detail`"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":" This method gets the count of all volumes across all tenants, volumetypes \u0026"},{"line_number":78,"context_line":" backends."}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_a03617e5","line":75,"range":{"start_line":75,"start_character":48,"end_line":75,"end_character":49},"in_reply_to":"ba5da102_15d9d8f3","updated":"2016-10-28 18:55:04.000000000","message":"Done","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":23083,"name":"TommyLike","email":"tommylikehu@gmail.com","username":"TommyLike"},"change_message_id":"6f54d95b8f709ed2b1dc197f46dafbc3194fa302","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  }"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"* ``GET /v3.x/{tenant_id}/volumes/summary/detail``"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":" This method gets the count of all volumes across all tenants but restricted"},{"line_number":108,"context_line":" to that volume type."}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_75ee948c","line":105,"range":{"start_line":105,"start_character":4,"end_line":105,"end_character":48},"updated":"2016-10-28 06:29:15.000000000","message":"this API is identical with the previous one, miss the query_parameter \u0027volume_type\u0027?","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"3c2f3199f9ebc0857b464390edbb6c1353157adc","unresolved":false,"context_lines":[{"line_number":102,"context_line":"  }"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"* ``GET /v3.x/{tenant_id}/volumes/summary/detail``"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":" This method gets the count of all volumes across all tenants but restricted"},{"line_number":108,"context_line":" to that volume type."}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_c04ceb72","line":105,"range":{"start_line":105,"start_character":4,"end_line":105,"end_character":48},"in_reply_to":"ba5da102_75ee948c","updated":"2016-10-28 18:55:04.000000000","message":"Sorry about that.","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"174dda19fbf1f8c2510ceaf1326aef1c6af82d83","unresolved":false,"context_lines":[{"line_number":143,"context_line":"Other end user impact"},{"line_number":144,"context_line":"---------------------"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"A python-cinderclient command has will access the API and print the"},{"line_number":147,"context_line":"result out in a formatted table."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":" Example output:"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_f0f9cfc9","line":146,"range":{"start_line":146,"start_character":30,"end_line":146,"end_character":38},"updated":"2016-10-28 08:52:09.000000000","message":"s/has will/will","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":23083,"name":"TommyLike","email":"tommylikehu@gmail.com","username":"TommyLike"},"change_message_id":"6f54d95b8f709ed2b1dc197f46dafbc3194fa302","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":" Example output:"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":" $cinder summary --detail"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":" .. code-block:: console"},{"line_number":154,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_1500f833","line":151,"range":{"start_line":151,"start_character":2,"end_line":151,"end_character":25},"updated":"2016-10-28 06:29:15.000000000","message":"how about the case with volume-type filter","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"3c2f3199f9ebc0857b464390edbb6c1353157adc","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":" Example output:"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":" $cinder summary --detail"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":" .. code-block:: console"},{"line_number":154,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_2078478f","line":151,"range":{"start_line":151,"start_character":2,"end_line":151,"end_character":25},"in_reply_to":"ba5da102_1500f833","updated":"2016-10-28 18:55:04.000000000","message":"thanks for pointing that out. I have updated that.","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":16308,"name":"Sheel Rana","email":"ranasheel2000@gmail.com","username":"sheel.rana"},"change_message_id":"174dda19fbf1f8c2510ceaf1326aef1c6af82d83","unresolved":false,"context_lines":[{"line_number":199,"context_line":"----------"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"* Implement server side api which calls the db api method."},{"line_number":202,"context_line":"* Make changes to the python-cinderclient."},{"line_number":203,"context_line":"* API documentation."},{"line_number":204,"context_line":"* Unit Tests for client and server."},{"line_number":205,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_d0b92beb","line":202,"range":{"start_line":202,"start_character":20,"end_line":202,"end_character":42},"updated":"2016-10-28 08:52:09.000000000","message":"I would suggest to update openstack client as well. This is just a suggestion to sync things around.","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"3c2f3199f9ebc0857b464390edbb6c1353157adc","unresolved":false,"context_lines":[{"line_number":199,"context_line":"----------"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"* Implement server side api which calls the db api method."},{"line_number":202,"context_line":"* Make changes to the python-cinderclient."},{"line_number":203,"context_line":"* API documentation."},{"line_number":204,"context_line":"* Unit Tests for client and server."},{"line_number":205,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_5df7e4f4","line":202,"range":{"start_line":202,"start_character":20,"end_line":202,"end_character":42},"in_reply_to":"ba5da102_d0b92beb","updated":"2016-10-28 18:55:04.000000000","message":"yes thats a valuable suggestion ..will do. Thanks!","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":23083,"name":"TommyLike","email":"tommylikehu@gmail.com","username":"TommyLike"},"change_message_id":"6f54d95b8f709ed2b1dc197f46dafbc3194fa302","unresolved":false,"context_lines":[{"line_number":201,"context_line":"* Implement server side api which calls the db api method."},{"line_number":202,"context_line":"* Make changes to the python-cinderclient."},{"line_number":203,"context_line":"* API documentation."},{"line_number":204,"context_line":"* Unit Tests for client and server."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_d5a4c058","line":204,"range":{"start_line":204,"start_character":2,"end_line":204,"end_character":35},"updated":"2016-10-28 06:29:15.000000000","message":"funcitonal test?","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"3c2f3199f9ebc0857b464390edbb6c1353157adc","unresolved":false,"context_lines":[{"line_number":201,"context_line":"* Implement server side api which calls the db api method."},{"line_number":202,"context_line":"* Make changes to the python-cinderclient."},{"line_number":203,"context_line":"* API documentation."},{"line_number":204,"context_line":"* Unit Tests for client and server."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5da102_bde80012","line":204,"range":{"start_line":204,"start_character":2,"end_line":204,"end_character":35},"in_reply_to":"ba5da102_d5a4c058","updated":"2016-10-28 18:55:04.000000000","message":"I think that should be framed as functional \u0026 unit tests","commit_id":"a084bb8a8365c2dc99955c244122cb4c976f0c19"}],"specs/pike/volume-usage-stats.rst":[{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"9a8476df0253a146cebb468a3f091b94fadc187d","unresolved":false,"context_lines":[{"line_number":84,"context_line":"      {"},{"line_number":85,"context_line":"        \"volume_type\": \"GenericVolume\","},{"line_number":86,"context_line":"        \"backend\": \"LVM-1\","},{"line_number":87,"context_line":"        \"volumes\": 150"},{"line_number":88,"context_line":"      },"},{"line_number":89,"context_line":"      {"},{"line_number":90,"context_line":"        \"volume_type\": \"FastVolume\","}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a71b18c_6a311c0b","line":87,"updated":"2016-12-09 11:05:26.000000000","message":"IMO, it would be useful to add allocated size too or even full capacity report","commit_id":"8e91747646e5e42e8826aef8022ee3f8f1b42f71"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"892ffeac5847ac26dd9df10ecb50742758ceea49","unresolved":false,"context_lines":[{"line_number":84,"context_line":"      {"},{"line_number":85,"context_line":"        \"volume_type\": \"GenericVolume\","},{"line_number":86,"context_line":"        \"backend\": \"LVM-1\","},{"line_number":87,"context_line":"        \"volumes\": 150"},{"line_number":88,"context_line":"      },"},{"line_number":89,"context_line":"      {"},{"line_number":90,"context_line":"        \"volume_type\": \"FastVolume\","}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_a7d918f5","line":87,"in_reply_to":"3a71b18c_6a311c0b","updated":"2017-01-31 20:14:34.000000000","message":"I could get the sum(size) across volumes.. but currently it is being handled in this spec\n\nhttps://review.openstack.org/#/c/335067/\n\nIt will be good to add this to this report ...then we get size of volumes per backend or per volume-type. Please let me know","commit_id":"8e91747646e5e42e8826aef8022ee3f8f1b42f71"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"9a8476df0253a146cebb468a3f091b94fadc187d","unresolved":false,"context_lines":[{"line_number":100,"context_line":"  }"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* ``GET /v3.x/{tenant_id}/volumes/summary/detail?volume_type\u003dFastVolume``"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":" This method gets the count of all volumes across all tenants but restricted"},{"line_number":106,"context_line":" to that volume type."}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a71b18c_0af42885","line":103,"updated":"2016-12-09 11:05:26.000000000","message":"v3.x \u003d\u003e v3","commit_id":"8e91747646e5e42e8826aef8022ee3f8f1b42f71"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"892ffeac5847ac26dd9df10ecb50742758ceea49","unresolved":false,"context_lines":[{"line_number":100,"context_line":"  }"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* ``GET /v3.x/{tenant_id}/volumes/summary/detail?volume_type\u003dFastVolume``"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":" This method gets the count of all volumes across all tenants but restricted"},{"line_number":106,"context_line":" to that volume type."}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_678570cd","line":103,"in_reply_to":"3a71b18c_0af42885","updated":"2017-01-31 20:14:34.000000000","message":"Done","commit_id":"8e91747646e5e42e8826aef8022ee3f8f1b42f71"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"8bb815e7bdabfcac6dc3f5af1354631836d2f8fe","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  cinder.api.views.scheduler_stats class named get_usage which will return"},{"line_number":49,"context_line":"  a formatted dictionary with columns \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027."},{"line_number":50,"context_line":"* We should consider only volumes in \u0027attached\u0027 \u0026 \u0027available\u0027 status while"},{"line_number":51,"context_line":"  counting the volumes."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a30ddce_634cd09e","line":51,"updated":"2017-03-09 20:02:18.000000000","message":"Why?  Volumes in \"error\", \"migrating\", \"backing-up\", etc., statuses are still consuming resources.\n\nThe use cases need better definition to understand why this would only consider attached and available volumes.","commit_id":"2cff6a082826daa4a8b3dffcfb679dac565bf62a"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"19dddea0eef477f32f1e47076bf49e7c7c89fcc1","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  cinder.api.views.scheduler_stats class named get_usage which will return"},{"line_number":49,"context_line":"  a formatted dictionary with columns \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027."},{"line_number":50,"context_line":"* We should consider only volumes in \u0027attached\u0027 \u0026 \u0027available\u0027 status while"},{"line_number":51,"context_line":"  counting the volumes."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a30ddce_9c4383ae","line":51,"in_reply_to":"9a30ddce_32d13ffb","updated":"2017-03-13 14:31:16.000000000","message":"Well, like I was saying, it really depends on what the targeted use cases are.  Why they are trying to find stats on these volumes, what the aim of using that data is, what goals we are trying to support by adding this, etc.","commit_id":"2cff6a082826daa4a8b3dffcfb679dac565bf62a"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"caaa56a8a88782802a843592756ebe8a28657f21","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  cinder.api.views.scheduler_stats class named get_usage which will return"},{"line_number":49,"context_line":"  a formatted dictionary with columns \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027."},{"line_number":50,"context_line":"* We should consider only volumes in \u0027attached\u0027 \u0026 \u0027available\u0027 status while"},{"line_number":51,"context_line":"  counting the volumes."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a30ddce_32d13ffb","line":51,"in_reply_to":"9a30ddce_634cd09e","updated":"2017-03-09 20:40:15.000000000","message":"I was under the impression that it is helpful for operators to find all the volumes in available \u0026 attached state. \n\nI was thinking of not including transient states like migrating, creating or  available as they would eventually change to final states like available or attached.\n\nI know what you are saying though. Let me know if that makes sense.","commit_id":"2cff6a082826daa4a8b3dffcfb679dac565bf62a"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"34f388de538985205a4ff897fa1867ab1345845f","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  cinder.api.views.scheduler_stats class named get_usage which will return"},{"line_number":49,"context_line":"  a formatted dictionary with columns \u0027VolumeType\u0027, \u0027Backend\u0027 \u0026 \u0027Count\u0027."},{"line_number":50,"context_line":"* We should consider only volumes in \u0027attached\u0027 \u0026 \u0027available\u0027 status while"},{"line_number":51,"context_line":"  counting the volumes."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":12,"id":"1a1ced50_5949e55e","line":51,"in_reply_to":"9a30ddce_9c4383ae","updated":"2017-03-17 18:40:11.000000000","message":"I see what JGriffith is doing with the generalized list filter param. It will filter existing apis or commands to filter as per \n\nhttps://review.openstack.org/#/c/441516/1/specs/pike/generalized_list_filters.rst.\n\nWith the filter option applied to the get-pools api, we can filter exactly as this usage stat report was intended to do.\n\nIn this current form, existing $cinder get-pools --detailed will provide this information total_volumes per pools and backend-type.\n\nThis does not make sense. I will abandon this one.","commit_id":"2cff6a082826daa4a8b3dffcfb679dac565bf62a"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"8bb815e7bdabfcac6dc3f5af1354631836d2f8fe","unresolved":false,"context_lines":[{"line_number":214,"context_line":"* Implement server side api which calls the db api method."},{"line_number":215,"context_line":"* Make changes to the python-cinderclient and openstack client."},{"line_number":216,"context_line":"* API documentation."},{"line_number":217,"context_line":"* Unit \u0026 functional Tests"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a30ddce_7ef0e3fe","line":217,"updated":"2017-03-09 20:02:18.000000000","message":"Tempest tests","commit_id":"2cff6a082826daa4a8b3dffcfb679dac565bf62a"},{"author":{"_account_id":20140,"name":"Karthik Prabhu Vinod","email":"karthik.prabhu.vinod@intel.com","username":"kprabhuv"},"change_message_id":"caaa56a8a88782802a843592756ebe8a28657f21","unresolved":false,"context_lines":[{"line_number":214,"context_line":"* Implement server side api which calls the db api method."},{"line_number":215,"context_line":"* Make changes to the python-cinderclient and openstack client."},{"line_number":216,"context_line":"* API documentation."},{"line_number":217,"context_line":"* Unit \u0026 functional Tests"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a30ddce_d2fc6374","line":217,"in_reply_to":"9a30ddce_7ef0e3fe","updated":"2017-03-09 20:40:15.000000000","message":"Done","commit_id":"2cff6a082826daa4a8b3dffcfb679dac565bf62a"}]}
