Details of the call:
ubuntu@os-1:~$ cinder attachment-show 7efd5656-dc84-4996-ae7f-323142986a85 +-------------+--------------------------------------+ | Property | Value | +-------------+--------------------------------------+ | attach_mode | rw | | attached_at | 2017-11-28T22:38:55.000000 | | detached_at | | | id | 7efd5656-dc84-4996-ae7f-323142986a85 | | instance | 2d509dbc-8b62-49a9-b5fe-ad5d9c169bdd | | status | attached | | volume_id | b822fb57-b820-47ae-b97f-0c85ea7bcfa5 | +-------------+--------------------------------------+ +--------------------+-----------------------------------------------------------------------+ | Property | Value | +--------------------+-----------------------------------------------------------------------+ | access_mode | rw | | attachment_id | 7efd5656-dc84-4996-ae7f-323142986a85 | | auth_method | CHAP | | auth_password | Aa8WDrNaZAYBN8sa | | auth_username | C4W5WBxj3WgxvCaKMEvR | | driver_volume_type | iscsi | | encrypted | False | | qos_specs | None | | target_discovered | False | | target_iqn | iqn.2010-10.org.openstack:volume-b822fb57-b820-47ae-b97f-0c85ea7bcfa5 | | target_lun | 1 | | target_portal | 10.117.36.28:3260 | | volume_id | b822fb57-b820-47ae-b97f-0c85ea7bcfa5 | +--------------------+-----------------------------------------------------------------------+
### Raw response below from the view-builder, note the connection_info key should be popped for non-admin callers
{'attachment': {'status': u'attached', 'detached_at': '', 'connection_info': {u'auth_password': u'Aa8WDrNaZAYBN8sa', u'attachment_id': u'7efd5656-dc84-4996-ae7f-323142986a85', u'target_discovered': False, u'encrypted': False, u'driver_volume_type': u'iscsi', u'qos_specs': None, u'target_iqn': u'iqn.2010-10.org.openstack:volume-b822fb57-b820-47ae-b97f-0c85ea7bcfa5', u'target_portal': u'10.117.36.28:3260', u'volume_id': u'b822fb57-b820-47ae-b97f-0c85ea7bcfa5', u'target_lun': 1, u'access_mode': u'rw', u'auth_username': u'C4W5WBxj3WgxvCaKMEvR', u'auth_method': u'CHAP'}, 'attached_at': datetime.datetime(2017, 11, 28, 22, 38, 55), 'attach_mode': u'rw', 'instance': '2d509dbc-8b62-49a9-b5fe-ad5d9c169bdd', 'volume_id': 'b822fb57-b820-47ae-b97f-0c85ea7bcfa5', 'id': '7efd5656-dc84-4996-ae7f-323142986a85'}}
Details of the call:
ubuntu@os-1:~$ cinder attachment-show 7efd5656- dc84-4996- ae7f-323142986a 85 ------- +------ ------- ------- ------- ------- ----+ ------- +------ ------- ------- ------- ------- ----+ 28T22:38: 55.000000 | dc84-4996- ae7f-323142986a 85 | 8b62-49a9- b5fe-ad5d9c169b dd | b820-47ae- b97f-0c85ea7bcf a5 | ------- +------ ------- ------- ------- ------- ----+ ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ dc84-4996- ae7f-323142986a 85 | KMEvR | 10.org. openstack: volume- b822fb57- b820-47ae- b97f-0c85ea7bcf a5 | b820-47ae- b97f-0c85ea7bcf a5 | ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- --+
+------
| Property | Value |
+------
| attach_mode | rw |
| attached_at | 2017-11-
| detached_at | |
| id | 7efd5656-
| instance | 2d509dbc-
| status | attached |
| volume_id | b822fb57-
+------
+------
| Property | Value |
+------
| access_mode | rw |
| attachment_id | 7efd5656-
| auth_method | CHAP |
| auth_password | Aa8WDrNaZAYBN8sa |
| auth_username | C4W5WBxj3WgxvCa
| driver_volume_type | iscsi |
| encrypted | False |
| qos_specs | None |
| target_discovered | False |
| target_iqn | iqn.2010-
| target_lun | 1 |
| target_portal | 10.117.36.28:3260 |
| volume_id | b822fb57-
+------
### Raw response below from the view-builder, note the connection_info key should be popped for non-admin callers
{'attachment': {'status': u'attached', 'detached_at': '', 'connection_info': {u'auth_password': u'Aa8WDrNaZAYBN 8sa', u'attachment_id': u'7efd5656- dc84-4996- ae7f-323142986a 85', u'target_ discovered' : False, u'encrypted': False, u'driver_ volume_ type': u'iscsi', u'qos_specs': None, u'target_iqn': u'iqn.2010- 10.org. openstack: volume- b822fb57- b820-47ae- b97f-0c85ea7bcf a5', u'target_portal': u'10.117. 36.28:3260' , u'volume_id': u'b822fb57- b820-47ae- b97f-0c85ea7bcf a5', u'target_lun': 1, u'access_mode': u'rw', u'auth_username': u'C4W5WBxj3Wgxv CaKMEvR' , u'auth_method': u'CHAP'}, 'attached_at': datetime. datetime( 2017, 11, 28, 22, 38, 55), 'attach_mode': u'rw', 'instance': '2d509dbc- 8b62-49a9- b5fe-ad5d9c169b dd', 'volume_id': 'b822fb57- b820-47ae- b97f-0c85ea7bcf a5', 'id': '7efd5656- dc84-4996- ae7f-323142986a 85'}}