Hi Swogat, Cinder supports replication since Rocky https://review.opendev.org/c/openstack/cinder/+/333565 . Do you mind creating a new bug with more extended log msg on https://bugs.launchpad.net/cinder ? Regards, Sofia Enriquez On Thu, Jun 24, 2021 at 9:44 AM Swogat Pradhan <swogatpradhan22@gmail.com> wrote:
Hi, I am trying to configure cinder replication with ceph as backend and i followed this URL to configure the cinder replication: https://netapp.io/2016/10/14/cinder-replication-netapp-perfect-cheesecake-re... and http://www.sebastien-han.fr/blog/2017/06/19/OpenStack-Cinder-configure-repli...
i created a Volume type - REPL, with replication enabled <is> True and colume backend name parameter.
But when i am trying to create a volume using the created volume type the volume is getting created in ceph but in cinder the status is showing error. and when checked log getting the following error:
2021-06-24 17:59:39.556 28472 ERROR cinder.volume.drivers.rbd [req-6e6b901e-f2dd-43a4-a089-6c734b279e17 d576181b6a444541b8ec7f37d750a4c1 a9ac2eba50d84d64ac44b179bbcc9183 - default default] Error creating rbd image volume-361f35c4-a589-4653-b404-fb93d2f598cf.: cinder.exception.ReplicationError: Volume 361f35c4-a589-4653-b404-fb93d2f598cf replication error: Failed to enable image replication
I tried to create a volume using volume type- default and then later changed the volume type using command 'cinder retype' to the created volume type and it changed without any issue.
I am using openstack victoria .
With regards, Swogat Pradhan
-- L. Sofía Enriquez she/her Software Engineer Red Hat PnT <https://www.redhat.com> IRC: @enriquetaso @RedHat <https://twitter.com/redhat> Red Hat <https://www.linkedin.com/company/red-hat> Red Hat <https://www.facebook.com/RedHatInc> <https://www.redhat.com>