Cinder backup of en encrypted RBD volume fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Eric Harney |
Bug Description
Description of problem: When I try to backup an RBD backed Cinder (attached or not) volume backup fails. Backup of a none encrypted volume works fine.
Version-Release number of selected component (if applicable):
rhel 7.5
openstack-
puppet-
python2-
python-
How reproducible:
Every time
Steps to Reproduce:
1. Create an encrypted RBD backed Cinder volume
2. Try to backup that volume resulting in backup error state.
$cinder backup-create 84eae95b-
+------
| Property | Value |
+------
| id | fd55218a-
| name | BackupOfEncNone
| volume_id | 84eae95b-
+------
cinder backup-show fd55218a-
| status | error
3. Backup of a none encrypted volume works fine
cinder backup-create 9a90e8dd-
+------
| Property | Value |
+------
| id | 781434ee-
| name | WorkingBackupOf
| volume_id | 9a90e8dd-
+------
$ cinder backup-show 781434ee-
| status | available
Actual results:
Backup should complete
Expected results:
Backup status error.
Additional info:
On the same system a fellow coworker Archit helped debug/get Barbican working with Cinder. Was failing to create an encrypted volume, this is what he suggested/did on my system ->
-----
Barbican is running on your setup on tigris01 now. The issue was that the auth_endpoint in cinder.conf [barbican] section was pointing to a versionless auth url and it was going to ip:5000/v2 while v2 is deprecated in RHOS-13.
-----
This here backup bug might be more of the same. As backup log trackback also complains about keystone resource not being found.
2018-04-15 11:53:25.143 1 ERROR oslo_messaging.
2018-04-15 11:53:25.143 1 ERROR oslo_messaging.
2018-04-15 11:53:25.143 1 ERROR oslo_messaging.
2018-04-15 11:53:25.143 1 ERROR oslo_messaging.
2018-04-15 11:53:25.143 1 ERROR oslo_messaging.
More can be see on attached Cinder backup log.
Look towards end of log, as head of the file contains previous attempts, which wont fit above mentioned IDs
Changed in cinder: | |
assignee: | nobody → Eric Harney (eharney) |