Ask Your Question

How to list all volumes attached to a particular instance

asked 2015-11-28 11:04:54 -0500

John Zhao gravatar image

Given an instance name/id, is there a API call or filter option to list ALL volumes attached? Thanks, John

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-11-28 23:11:38 -0500

nova --debug show <instance name/id>

Refer os-extended-volumes:volumes_attached attribute in the response to get the list of volumes attached to a instance.

edit flag offensive delete link more


thanks, I got it. John

John Zhao gravatar imageJohn Zhao ( 2015-12-03 13:29:19 -0500 )edit

answered 2015-11-30 08:16:41 -0500

John Zhao gravatar image

Thanks, Jay. Do you know Python API call that will do the same? Thanks, John

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-11-28 11:04:54 -0500

Seen: 672 times

Last updated: Nov 30 '15