Creating 2 backends with the same name creates a mess
Bug #1886164 reported by
Gorka Eguileor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cinderlib |
Fix Released
|
Undecided
|
Gorka Eguileor |
Bug Description
There's nothing preventing us from accidentally creating multiple Backends with the same name on the same code run. For example 2 lvm backends using the 'lvm' name with different VGs.
This will create a mess in the DB.
Cinderlib should at least prevent that from happening on the same run, even if it cannot prevent it between runs.
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/739190
Review: https:/