This bug was initially created as a copy of Bug #1793245 I am copying this bug because: Description of problem: In cinder attahment-list, we see that all attachment records has empty Sever ID. At the same time we see that cinder api returns instance information correctly, so this is the bug in cinderclient. ~~~ (overcloud) [stack@undercloud-0 ~]$ cinder --debug --os-volume-api-version 3.50 attachment-list ... DEBUG:keystoneauth:REQ: curl -g -i -X GET http://10.0.0.116:8776/v3/470b11ac8f90471ebef6c7f550ce76b6/attachments -H "OpenStack-API-Version: volume 3.50" -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}40dd6acdf32df3e9f9d2a7de9a550da8240102d2" DEBUG:keystoneauth:RESP: [200] Date: Tue, 21 Jan 2020 00:14:27 GMT Server: Apache x-compute-request-id: req-7bbb807d-8ae6-4f53-a1fd-09aa9a5e2f34 OpenStack-API-Version: volume 3.50 Vary: OpenStack-API-Version,Accept-Encoding x-openstack-request-id: req-7bbb807d-8ae6-4f53-a1fd-09aa9a5e2f34 Content-Encoding: gzip Content-Length: 161 Content-Type: application/json RESP BODY: {"attachments": [{"status": "attached", "instance": "8f1f617d-9f8f-492d-bf02-4929d37ed298", "id": "b0b71b46-3d38-48cd-85e0-d63c72d1a5ba", "volume_id": "4f51dd40-95ef-4a5d-ba02-27f9fff62a22"}]} DEBUG:keystoneauth:GET call to volumev3 for http://10.0.0.116:8776/v3/470b11ac8f90471ebef6c7f550ce76b6/attachments used request id req-7bbb807d-8ae6-4f53-a1fd-09aa9a5e2f34 +--------------------------------------+--------------------------------------+----------+-----------+ | ID | Volume ID | Status | Server ID | +--------------------------------------+--------------------------------------+----------+-----------+ | b0b71b46-3d38-48cd-85e0-d63c72d1a5ba | 4f51dd40-95ef-4a5d-ba02-27f9fff62a22 | attached | | +--------------------------------------+--------------------------------------+----------+-----------+ ~~~ There exists the fix[1] already merged in stable/train and master. We should also backport it to stable branches so that we can see required information by a single command. [1] https://review.opendev.org/#/c/658948/ Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create an instance 2. Create a volume and attach it to the instance 3. See cinder attachment-list Actual results: Server ID is empty Expected results: Server ID is shows id of the instance Additional info:
OSP15 is EOL. The problem (only relevant for <=15) has been solved in OSP13 (see the dependent bug)