Ask Your Question

Cinder REST API - To get volume stats

asked 2014-03-27 00:08:15 -0500

parash_hallur gravatar image

Hello, I checked the Block storage REST API documentation - . I don't find API to query volume stats, is there a one or not?

Also I don't see API for volume extend/expand, are there plans to add them?

Regards, Parash

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-03-27 01:18:04 -0500

unmesh-gurjar gravatar image

AFAIK, there isn't any Cinder API for checking the volume (usage) stats, you can use Ceilometer to get that. However, for a basic status check of volume, the Cinder show volume info API is available. The volume expand API is an extension (and is available), however, unfortunately not all extensions are documented (currently only backup API is documented). Executing the CLI 'cinder extend vol-id size' with the 'debug' flag should give you the API details!

edit flag offensive delete link more


Hi Unmesh: Thanks for your response. Sorry for the delay in reply. I got the extend API detail as suggested by you. Thanks for that.

For the volume stats - how do I get it from the Ceilometer, "statistics" command lists this information?

parash_hallur gravatar imageparash_hallur ( 2014-04-09 00:04:38 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-03-27 00:08:15 -0500

Seen: 1,378 times

Last updated: Mar 27 '14