Host monitoring error - command execution fail

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

1 Like

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

Has anyone found a proper solution to this? I have been running into this issue with all of my kvm nodes. I did use the manual fix, but that doesn’t seem like a stable solution.

It has already been patched, see https://github.com/OpenNebula/one/issues/3074 and https://github.com/OpenNebula/one/issues/2962