sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.3k stars 2.26k forks source link

virter vm cp not working #1397

Closed bashfulrobot closed 11 months ago

bashfulrobot commented 11 months ago

Hi there, I am not sure what I am doing wrong.

λ virter vm cp --help
Copy files and directories from and to VM

Usage:
  virter vm cp [HOST:]SRC... [HOST:]DEST [flags]

Flags:
  -h, --help   help for cp

Global Flags:
      --config string      config file (default is /home/dustin/.config/virter/virter.toml)
      --logformat string   Log format, current options: short (default "default")
  -l, --loglevel string    Log level, default may be set with environment variable "VIRTER_LOG_LEVEL" (default "info")

So looking at this help output, I assume it is VM to VM copying.

So I tried:

λ virter vm cp r1:~/config.yaml r2:/root
FATA[0000] error executing rsync: exit status 1

and

λ virter vm cp r1:/root/config.yaml r2:/root
FATA[0000] error executing rsync: exit status 1

The file exists, so I am not sure what I am missing here, and I could not find anything on your page.

Thank you.

ripienaar commented 11 months ago

Wrong repo?

bashfulrobot commented 11 months ago

OMG. I am such an idiot. The project I was going to open the issue on uses logrus, and I was checking the valid levels over here.

My bad.

Thank you.