backup service startup fails when backup's original volume has been deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Tom Barron |
Bug Description
The non-disruptive backup commit e78018bd05a51e3
Steps to reproduce:
reate a volume:
tbarron@
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2015-07-
| description | None |
| encrypted | False |
| id | 7513ff6f-
| metadata | {} |
| multiattach | False |
| name | None |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| os-volume-
| os-volume-
| replication_status | disabled |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| user_id | 003cba7ded5b42b
| volume_type | lvmdriver-1 |
+------
Create a backup from the volume:
tbarron@
+------
| Property | Value |
+------
| id | 11cf1734-
| name | None |
| volume_id | 7513ff6f-
+------
Delete the volume:
-----------------
tbarron@
Restart c-vol and observe the exception:
-------
Traceback (most recent call last):
File "/usr/local/
timer()
File "/usr/local/
cb(*args, **kw)
File "/usr/local/
result = function(*args, **kwargs)
File "/usr/local/
service.start()
File "/opt/stack/
self.
File "/usr/local/
return f(*args, **kwargs)
File "/opt/stack/
self.
File "/opt/stack/
volume = self.db.
File "/opt/stack/
return IMPL.volume_
File "/opt/stack/
return f(*args, **kwargs)
File "/opt/stack/
return _volume_
File "/opt/stack/
return f(*args, **kwargs)
File "/opt/stack/
raise exception.
VolumeNotFound: Volume 7513ff6f-
Changed in cinder: | |
assignee: | nobody → Tom Barron (tpb) |
Changed in cinder: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-2 → 7.0.0 |
Fix proposed to branch: master /review. openstack. org/206131
Review: https:/