Comment 1 for bug 1775397

Revision history for this message
Matt Riedemann (mriedem) wrote :

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"
   }
}