Open rajat-soda opened 3 years ago
Although , Create replication can be done on a Single node , as per the findings below, replication is not possible with the current approach used. It will have to be relooked using latest LinBit Frameworks i.e LinStor
The following approaches have been tried for enabling replication.
Devsds multi-node setup : Even though in some instances, the Volume creation and attach was successful on Primary & Secondary hosts. The Enable Replication failed with [EnableReplication-fm' failed: rpc error: code = Unknown desc = exit status 1]. Another issue observed is that, all the osdsctl commands are going though the Primary Controller-Dock and not to the Secondary Controller-Dock. However, the code [dock\pkg\model\replication.go] is written with the assumption that its executed simultaneously on both Primary and Secondary Nodes. As the simultaneous execution of the above code block was not happening the DRBD configuration / metadata was not getting created on both the Nodes, which is an expectation for DRBD to work successfully. Hence, the current implementation is not suitable for Replication feature and other alternatives should be explored.
Enhancements would need be made to
In all the above approaches the following steps were missing
As there is no more to be done on this task, it can be closed.
Issue/Feature Description: Make the POST API work and add documentation / help for it.
Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)