mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 16:35:33 +02:00
[GH-ISSUE #433] Synchronization between master and slave #113
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ElGigi on GitHub (Nov 15, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/433
Hi,
An error occured during synchronization between master and slave:
The manual synchronization works fine:
The configuration file:
@ksourdrille commented on GitHub (Nov 17, 2023):
Hi @ElGigi , in your /etc/bastion/osh-sync-watcher.sh fill
rshcmd=""like thisrshcmd="ssh -i /root/.ssh/id_master2slave", and tell us if it's better@ElGigi commented on GitHub (Nov 22, 2023):
Works fine, thx!
@ElGigi commented on GitHub (Nov 22, 2023):
Perhaps, update documentation?
@ksourdrille commented on GitHub (Nov 22, 2023):
Maybe @speed47, can update the documentation ?
Kélian
@speed47 commented on GitHub (Jan 19, 2024):
Hey, sorry for the delay, and thanks for you report!
The documentation states that this value must be filled :
However, the script should check that and not even attempt to run the
rsyncbut warn you and exit. That must be fixed.I'll also try to make it more obvious in the documentation that this option needs to be looked into.
Do you feel that the default value in the unmodified dist config file should be
ssh -q -i /root/.ssh/id_master2slave, hoping that this should work on systems using the default port 22 and the default key name setup during a standard install?@ksourdrille commented on GitHub (Jan 19, 2024):
Hey @speed47, in my opinion, for a default installation, this is the right value to enter.