Multi Store feature failed in victoria version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Expired
|
Undecided
|
Unassigned |
Bug Description
Description
===========
An error occured when I configured multistores in openstack enviroment of
victoria verson deployed by devstack. The specific configuration complied
with the document as follows:
https:/
Steps to reproduce
==================
1. Deploy an openstack environment using devstack.
2. Configure lvm backend and rbd backend for cinder.
3. Configure glance-api.conf as follows:
[DEFAULT]
......
enabled_backends = rbd1:rbd, file1:file, cinderlvm:cinder, cinderceph:cinder
[glance_store]
default_backend = rbd1
[rbd1]
store_description = "rbd backend"
rbd_store_pool = images
rbd_store_user = glance
rbd_store_ceph_conf = /etc/ceph/ceph.conf
rbd_store_
[cinderlvm]
store_description = "cinderlvm backend"
cinder_volume_type = lvm-type
[cinderceph]
store_description = "cinderceph backend"
cinder_volume_type = ceph-type
[file1]
store_description = "file backend"
filesystem_
4. Restart glance-api service.
Expected result
===============
The 'glance stores-info' command returns four backends.
Actual result
=============
The glance-api service failed.
Environment
===========
Openstack enviroment of
victoria verson deployed by devstack
Logs & Configs
==============
Jan 16 16:16:20 devcon glance-
Jan 16 16:16:20 devcon glance-
Jan 16 16:16:20 devcon glance-
Jan 16 16:16:20 devcon glance-
Jan 16 16:16:20 devcon systemd[1]: <email address hidden>: Main process exited, code=exited, status=99/n/a
Jan 16 16:16:20 devcon systemd[1]: <email address hidden>: Failed with result 'exit-code'.
Workarounds
==============
root@devcon:
diff --git a/_drivers/
index 2754017..551b088 100644
--- a/_drivers/
+++ b/_drivers/
@@ -415,7 +415,7 @@ class Store(glance_
:raises: `exceptions.
"""
- if self.backend_group:
+ if False:
if cinder_volume_type:
# NOTE: `cinder_
As this configuration metod introduces backend_group, we can set it to False to workaround this issue.
Does this still happen? Please try if it works on master for comparison.