Also, here is an example of a read-only volume attachment where the connection_info says the access_mode is 'rw' but the attachment shows the attach_mode='ro':
http://logs.openstack.org/90/572790/6/check/nova-multiattach/a1c6b26/logs/screen-n-api.txt.gz#_Jun_06_23_08_15_201532
{ "attachment":{ "status":"attached", "detached_at":"", "connection_info":{ "auth_password":"jA5qkRgKkfEWXYSp", "attachment_id":"18d5e902-f509-48ed-91fe-29cb4a893f7c", "target_discovered":false, "encrypted":false, "driver_volume_type":"iscsi", "qos_specs":null, "target_iqn":"iqn.2010-10.org.openstack:volume-c430ddbc-aa1a-4e7d-8914-961e193bc42a", "target_portal":"104.239.135.61:3260", "volume_id":"c430ddbc-aa1a-4e7d-8914-961e193bc42a", "target_lun":1, "access_mode":"rw", "auth_username":"Nt3XB76dNPTBrTHBaddF", "auth_method":"CHAP" }, "attached_at":"2018-06-06T23:08:14.000000", "attach_mode":"ro", "instance":"7e21dad7-3ca1-405b-b70b-1a2e1f80d83c", "volume_id":"c430ddbc-aa1a-4e7d-8914-961e193bc42a", "id":"18d5e902-f509-48ed-91fe-29cb4a893f7c" } }
Also, here is an example of a read-only volume attachment where the connection_info says the access_mode is 'rw' but the attachment shows the attach_mode='ro':
http:// logs.openstack. org/90/ 572790/ 6/check/ nova-multiattac h/a1c6b26/ logs/screen- n-api.txt. gz#_Jun_ 06_23_08_ 15_201532
{ status" :"attached" , detached_ at":"", connection_ info":{
"auth_ password" :"jA5qkRgKkfEWX YSp",
"attachment_ id":"18d5e902- f509-48ed- 91fe-29cb4a893f 7c",
"target_ discovered" :false,
"encrypted" :false,
"driver_ volume_ type":" iscsi",
"qos_ specs": null,
"target_ iqn":"iqn. 2010-10. org.openstack: volume- c430ddbc- aa1a-4e7d- 8914-961e193bc4 2a",
"target_ portal" :"104.239. 135.61: 3260",
"volume_ id":"c430ddbc- aa1a-4e7d- 8914-961e193bc4 2a",
"target_ lun":1,
"access_ mode":" rw",
"auth_ username" :"Nt3XB76dNPTBr THBaddF" ,
"auth_ method" :"CHAP" attached_ at":"2018- 06-06T23: 08:14.000000" , attach_ mode":" ro", instance" :"7e21dad7- 3ca1-405b- b70b-1a2e1f80d8 3c", volume_ id":"c430ddbc- aa1a-4e7d- 8914-961e193bc4 2a", id":"18d5e902- f509-48ed- 91fe-29cb4a893f 7c"
"attachment":{
"
"
"
},
"
"
"
"
"
}
}