kube-rclone icon indicating copy to clipboard operation
kube-rclone copied to clipboard

Cant get this to work

Open ameeno opened this issue 2 years ago • 0 comments

Hiya,

I have tried older and newer versions of the rclone containers, and I am using k3s either on ubuntu hosts or rancher desktop.

Whatever I do, I keep getting not able to refresh token error from google.

E0228 21:52:33.747528 3260 goroutinemap.go:150] Operation for "/var/lib/kubelet/plugins_registry/csi-rclone-reg.sock" failed. No retries permitted until 2022-02-28 21:54:35.747352979 +0000 UTC m=+7639.870302487 (durationBeforeRetry 2m2s). Error: RegisterPlugin error -- dial failed at socket /var/lib/kubelet/plugins_registry/csi-rclone-reg.sock, err: failed to dial socket /var/lib/kubelet/plugins_registry/csi-rclone-reg.sock, err: context deadline exceeded

is from k3s logs, and inside the cluster, I get:

2022/02/28 21:48:00 DEBUG : gd-personal: Loaded invalid token from config file - ignoring
2022/02/28 21:48:00 DEBUG : gd-personal: Token refresh failed try 5/5: Post "https://oauth2.googleapis.com/token": dial tcp 192.168.0.1:443: connect: connection refused
2022/02/28 21:48:01 DEBUG : pacer: low level retry 10/10 (error Get "https://www.googleapis.com/drive/v3/files/root?alt=json&fields=id&prettyPrint=false&supportsAllDrives=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect gd-personal:": Post "https://oauth2.googleapis.com/token": dial tcp 192.168.0.1:443: connect: connection refused)
2022/02/28 21:48:01 DEBUG : pacer: Rate limited, increasing sleep to 16.2740379s
2022/02/28 21:48:01 Failed to create file system for "gd-personal:": couldn't find root directory ID: Get "https://www.googleapis.com/drive/v3/files/root?alt=json&fields=id&prettyPrint=false&supportsAllDrives=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect gd-personal:": Post "https://oauth2.googleapis.com/token": dial tcp 192.168.0.1:443: connect: connection refused
/data # 

Anyone tried getting this to work recently? I have also enabled a debug deployment in my cluster not using the daemonset and no joy :(

ameeno avatar Feb 28 '22 21:02 ameeno