STX-Openstack | Can't create volume backup with `--location` flag via Openstack CLI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Lucas de Ataides Barreto |
Bug Description
Brief Description
-----------------
When creating a volume backup via Openstack CLI, specifying the `–location` parameter, the backup creation fails with the error "Backup driver reported an error: Multidriver is set but a backup driver wasn't provided.".
This issue is specific to the Openstack CLI, as the same cannot be reproduced with the Cinder CLI.
Severity
--------
Major: System/Feature is usable but degraded
Steps to Reproduce
------------------
1. Create a volume
2. Boot a VM with this volume
3. Create a backup using the Openstack CLI, and specify the `–location` parameter
Expected Behavior
------------------
Backup is created
Actual Behavior
----------------
Backup fails with error: Backup driver reported an error: Multidriver is set but a backup driver wasn't provided.
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
20231112T170059Z
Timestamp/Logs
--------------
[sysadmin@
+------
| Field | Value |
+------
| id | 3062af7a-
| name | backup-
+------
[sysadmin@
+------
| ID | Name | Description | Status | Size |
+------
| 3062af7a-
+------
[sysadmin@
+------
| Field | Value |
+------
| availability_zone | None |
| container | None |
| created_at | 2023-11-
| data_timestamp | 2023-11-
| description | None |
| fail_reason | Backup driver reported an error: Multidriver is set but a backup driver wasn't provided. |
| has_dependent_
| id | 3062af7a-
| is_incremental | False |
| location | None |
| name | backup-
| object_count | 0 |
| size | 10 |
| snapshot_id | None |
| status | error |
| updated_at | 2023-11-
| volume_id | b624af98-
+------
Test Activity
-------------
Developer Testing
Workaround
----------
Use Cinder CLI: cinder backup-create
Changed in starlingx: | |
assignee: | nobody → Lucas de Ataides Barreto (ldeataid) |
Changed in starlingx: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. opendev. org/c/starlingx /openstack- armada- app/+/900803
Review: https:/