After transfering volume without snapshot, driver may raise exception when doing cascade deleting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
wanghao |
Bug Description
Reproduce Steps:
Environment: devstack in ubuntu 17.04
Backend Driver: LVM
Cinder Branch: Master
1. Create a volume in a user project A
2. Create a snapshot of this volume in project A too.
3. Transfer this volume to a user project B without snapshot.
4. Make a cascade deleting in project B
There is an exception in cinder-volume and volume's status become to 'error_deleting'
There is exception log:
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
2017-06-16 15:22:44.343 14705 ERROR oslo_messaging.
The reason of this issue is Cinder didn't check if the snapshot is existing in other project.
This bug should be fixed before we start to code bp 'transfer snapshots with volumes'[1]
[1]:https:/
Changed in cinder: | |
assignee: | nobody → wanghao (wanghao749) |
Fix proposed to branch: master /review. openstack. org/474890
Review: https:/