Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2013-12-31 05:11:09 -0500

teju gravatar image

How to list iscsi target details like iqn number using cinder client?

I have cinder on Ubuntu12.04. I've created volumes and when I run the command tgt-admin -s ,it shows all the target details corresponding to the volumes created. We can get iqn numbers by querying the db as : select provider_location from cinder.volumes; My requirement is to get similar details without querying the db. Is there a way to achieve the same using REST API or python cinder client?

How to list iscsi target details like iqn number using cinder client?

I have cinder on Ubuntu12.04. I've created volumes and when I run the command tgt-admin -s ,it shows all the target details corresponding to the volumes created. We can get iqn numbers by querying the db as : select provider_location from cinder.volumes; My requirement is to get similar details without querying the db. Is there a way to achieve the same using REST API or python cinder client?