Description of problem: When configuring geo-replication options using the command line, this doesn't work anymore for ssh-port and ssh-command. Version-Release number of selected component (if applicable): 4.1.2 How reproducible: 100% Steps to Reproduce: 1.Example of a working configuration option: # gluster volume geo-replication volname ssh://1.2.3.4::certificates config ssh_options "-oPasswordAuthentication=no -oStrictHostKeyChecking=no" geo-replication config updated successfully Example of non-working configuration option: # gluster volume geo-replication volname ssh://1.2.3.4::certificates config ssh_port "2222" geo-replication config-set failed for certificates ssh://192.168.92.11::certificates geo-replication command failed Same for using ssh-port, ssh-command, ssh_command options and with or without quotes. Actual results: geo-replication command failed Expected results: geo-replication config updated successfully for ssh-port and ssh-command options Additional info: This worked fine on 3.12. I don't know if there are more options that don't work...I've tried a couple which worked fine...the ssh_port and ssh_command are ones we use.
(Oh, don't mind the 1.2.3.4 / 192.168.92.11 / volname / certificates messup in my examples :)
Same here on a brand new install.
If you want to use the different ssh-port for geo-rep. It has to be specified during creation itself. gluster volume geo-replication <MASTER_VOL> <SLAVE_HOST>::<SLAVE_VOL> create [[ssh-port n][[no-verify]|[push-pem]]] [force] If the session is already created, please follow below steps. 1. Stop geo-rep 2. gluster volume geo-replication <MASTER_VOL> <SLAVE_HOST>::<SLAVE_VOL> create ssh-port <n> push-pem force 3. Start geo-rep I am closing the bug. Please re-open if the above does not work.