How to extend attached/in-use volume in Openstack?

Solution In Progress - Updated -

Issue

  • How to extend attached/in-use volume in Openstack?
  • Extending attached volume gives error
  • using cinder client :
# cinder   extend  582a5eb4-0bfc-460b-a32e-d051a9a72d2a  10
ERROR: Invalid volume: Volume 582a5eb4-0bfc-460b-a32e-d051a9a72d2a status must be '{'status': 'available'}' to extend, currently in-use. (HTTP 400) (Request-ID: req-9cc9af0d-57d1-4b76-afc7-d72170732ea0)
  • using openstack client :
# openstack volume set --size 2 585a80eb-75b9-49e2-b780-c93c1f11a617
Failed to set volume size: Volume is in in-use state, it must be available before size can be extended
One or more of the set operations failed

Environment

  • Red Hat Openstack Platform 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In