Problem:
When a custom ssh port is set at the secondary volume,
gluster volume geo-replication gvol-primary
geoaccount@snode1.example.com::gvol-secondary
create ssh-port <custom port> push-pem
is used. However, create push-pem command cannot alter
the config options.
One have to manually alter the config option, using:
gluster volume geo-replication gvol-primary
geoaccount@snode1.example.com::gvol-secondary
config ssh_port <custom_port>
Solution:
Added about the command:
gluster volume geo-replication gvol-primary
geoaccount@snode1.example.com::gvol-secondary config ssh_port
<custom_port>
before the usage of:
gluster volume geo-replication gvol-primary
geoaccount@snode1.example.com::gvol-secondary
create ssh-port <custom port> push-pem
Fixes: #2819
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>