Host monitoring error - command execution fail


(petr108m) #1

Tue Jan 22 12:48:08 2019 [Z0][ReM][D]: Req:9920 UID:0 one.host.allocate invoked , “d10-mpv1”, “kvm”, “kvm”, -1
Tue Jan 22 12:48:08 2019 [Z0][ReM][D]: Req:9920 UID:0 one.host.allocate result SUCCESS, 0
Tue Jan 22 12:48:11 2019 [Z0][InM][D]: Monitoring host d10-mpv1 (0)
Tue Jan 22 12:48:12 2019 [Z0][InM][I]: Command execution fail: scp -r /var/lib/one/remotes/. d10-mpv1:/var/tmp/one
Tue Jan 22 12:48:12 2019 [Z0][InM][I]: scp: error: unexpected filename: .
Tue Jan 22 12:48:12 2019 [Z0][InM][I]: ExitCode: 1
Tue Jan 22 12:48:12 2019 [Z0][ONE][E]: Error monitoring Host d10-mpv1 (0):

manually
scp -r /var/lib/one/remotes/. d10-mpv1:/var/tmp/one
scp: error: unexpected filename: .

again with *
scp -r /var/lib/one/remotes/* d10-mpv1:/var/tmp/one
files are copied

what is the file to change? couldn’t grep it in fs

v 5.4.13


(petr108m) #2

manuall fix
rsync -av /var/lib/one/remotes/ d10-mpv1:/var/tmp/one