Cannot create a volume from a backup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Triaged
|
High
|
Pete Zaitcev |
Bug Description
Trying to create a volume from a backup fails miserably.
Command run is:
openstack --os-volume-
The error in volume service is:
|__Flow 'volume_
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
2023-06-28 16:18:38.158 654574 ERROR cinder.
This happens because `_create_
Yet the signature of that method is:
def restore_
Which requires parameter `volume_is_new` to always be provided.
Changed in cinder: | |
importance: | Undecided → High |
tags: | added: api osc |
tags: | removed: osc |
Changed in cinder: | |
assignee: | nobody → Pete Zaitcev (zaitcev) |
Changed in cinder: | |
status: | New → Triaged |
And the backup is left is "restoring" state :-(
A workaround would be using the cinder backup-restore command that uses a different code path.