RFE: report free storage

Bug #1380555 reported by Miroslav Suchý
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Wishlist
Nate Potter

Bug Description

It is not easy to get information about available free and used storage. Especially if you use multiple Cinder backends. It would be nice if Cinder can report used across all backend drivers. E.g.:

# cinder free
+----+--------+--------------+------+
| backend_name | Used | Free | Total |
+- ---------------+--------+--------+--------+
| LVM | 500 GB | 1TB | 1,5 TB |
+- ---------------+--------+--------+--------+
| EqualLogic | 1 TB | 4TB | 5 TB |
+- ---------------+--------+--------+--------+
| Total | 1,5 TB | 5TB | 6,5 TB |
+- ---------------+--------+--------+--------+

And if this information can be exported to Horizon, then even better.

Revision history for this message
Vincent Hou (houshengbo) wrote :

I think this could be put in Wishlist.

Changed in cinder:
assignee: nobody → Vincent Hou (houshengbo)
Revision history for this message
John Griffith (john-griffith) wrote :

May end up needing to be a spec or BP but we'll see what we can put together. This has been a shortcoming for quite a while, I think we finally have enough people agreeing that it needs to be addressed.

Changed in cinder:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

Automatically unassigning due to inactivity.

Changed in cinder:
assignee: Vincent Hou (houshengbo) → nobody
Nate Potter (ntpttr)
Changed in cinder:
assignee: nobody → Nate Potter (ntpttr)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/301444

Changed in cinder:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Nate Potter (<email address hidden>) on branch: master
Review: https://review.openstack.org/301444
Reason: API exists for this functionality already, 'cinder get-pools --detail'.

Nate Potter (ntpttr)
Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
attila123 (vangel-attila) wrote :

Sorry to necrobump, may help the googlers:
For me the mentioned command 'cinder get-pools --detail' returned an error:
"ERROR: Policy doesn't allow scheduler_extension:scheduler_stats:get_pools to be performed. (HTTP 403) (Request-ID: req-d2ae2472-b49d-4e67-889e-e396b004a4a2)"

So if there is no permission for that, the following may be useful (I got the tip from a colleague):
'openstack limits show --absolute --sort-column Name | grep Gigabytes'
(I just wanted to have a command to get the used volume storage)

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.