Currently if the same path is used in two filesystem_store_datadirs a
BadStoreConfiguration exception is raised in the filesystem driver.
This is the desired behavior if the same path appears with different
priorities, as we don't know which one is correct, but if it appears
with the same priority (it is an exact duplicate) a warning in the log
should be enough.
Reviewed: https:/ /review. openstack. org/199136 /git.openstack. org/cgit/ openstack/ glance_ store/commit/ ?id=847e6121902 75da4c49c04459c 75d1b70ec2d65d
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 847e612190275da 4c49c04459c75d1 b70ec2d65d
Author: Gorka Eguileor <email address hidden>
Date: Wed Feb 18 15:24:00 2015 +0100
Only warn on duplicate path on fs backend
Currently if the same path is used in two filesystem_ store_datadirs a figuration exception is raised in the filesystem driver.
BadStoreCon
This is the desired behavior if the same path appears with different
priorities, as we don't know which one is correct, but if it appears
with the same priority (it is an exact duplicate) a warning in the log
should be enough.
DocImpact de6a47f1fdfdb61 09b3eceb8ef 1eef199922411c7 ae51fd72e6)
Related-Bug: #1422699
Closes-Bug: #1428257
Change-Id: I4b0685f3c74851
(cherry picked from commit 774d9acb1593f18