The problem is that in Nova, it detaches the old volume, and attaches the new volume.
https://github.com/openstack/nova/blob/master/nova/compute/api.py#L3296-L3299
But later in cinder, it changes the new volume id with old volume id.
The problem is that in Nova, it detaches the old volume, and attaches the new volume.
https:/ /github. com/openstack/ nova/blob/ master/ nova/compute/ api.py# L3296-L3299
But later in cinder, it changes the new volume id with old volume id.