Comment 4 for bug 1906286

Revision history for this message
Yusuf Güngör (yusuf2) wrote :

Hi cinder team,

Modifying the cinder/volume/flows/manager/create_volume.py as below fixes this problem. Is it ok to do that? Should we create a merge request for this change to upstream?

Line 744 (zed branch)

- image_volumes = self.db.volume_get_all_by_host(
- context, volume['host'], filters={'id': image_volume_ids})

+ image_volumes = self.db.volume_get_all(context, filters={'id': image_volume_ids})