Broken replication_device config line when sync replication enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Pure Storage Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I configured cinder replication with cinder-purestorage in sync "Active Cluster" mode.
My settings are good (everything works as expected) but I had to manually edit the cinder.conf generated by the charm because there is a bug when configuiring replication.
Taking a look at the generated cinder.conf, I saw this :
=======
[cinder-
san_ip = <primary_
pure_api_token = <primary_
use_multipath_
image_volume_
pure_eradicate_
pure_automatic_
volume_driver = cinder.
volume_backend_name = pure-array-iscsi
allowed_
image_volume_
image_volume_
replication_device = backend_
,type:sync,
pure_iscsi_cidr = 10.23.0.0/18
=======
In the cinder-volume logs, I can see this line :
2023-02-21 16:44:27.924 243094 INFO cinder.
See the last options : "type='async', uniform='False'" which doesn't match what has been configured in the charm.
I fixed the line in cinder.conf and restart the cinder-volume service :
=======
2023-02-21 16:54:51.161 453876 INFO cinder.
Regarding charm version, I'm using the "yoga/stable" branch.
App Version Status Scale Charm Channel Rev
cinder 20.1.0 active 3 cinder yoga/stable 603
cinder-mysql-router 8.0.32 active 6 mysql-router 8.0/stable 35
cinder-
cinder-volume 20.1.0 active 3 cinder yoga/stable 603