Corsinvest / cv4pve-autosnap

Automatic snapshot tool for Proxmox VE
https://www.corsinvest.it/cv4pve
GNU General Public License v3.0
413 stars 51 forks source link

does not work with proxmox ve 6.0 #16

Closed elurex closed 5 years ago

elurex commented 5 years ago

root@cv4pve:~# cv4pve-autosnap --host=10.10.90.50 --username=root@pam --password=[PW] --vmid=800 status ================ EXCEPTION ================ System.Exception Problem connection! at Corsinvest.ProxmoxVE.Api.Extension.Shell.Utils.CommandOptionExtension.ClientTryLogin(CommandLineApplication command) at Corsinvest.ProxmoxVE.Api.Extension.App.AutoSnap.ShellCommand.CreateApp(CommandLineApplication autosnapCmd) at Corsinvest.ProxmoxVE.Api.Extension.App.AutoSnap.ShellCommand.<>cDisplayClass7_1.b1() at McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.<>cDisplayClass9_0.b0() at Corsinvest.ProxmoxVE.Api.Extension.Shell.Utils.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, TextWriter std Out, String[] args)

codesmaker commented 5 years ago

I get the same error message with v5.4-10

franklupo commented 5 years ago

Hi, in the new version it has been fixed. In the coming days I should release it.

Best regards

franklupo commented 5 years ago

New version released

elurex commented 5 years ago

its fixed... thanks...

also for status command output... is it possible to have an option output in json?

franklupo commented 5 years ago

its fixed... thanks...

also for status command output... is it possible to have an option output in json?

Good idea

franklupo commented 5 years ago

Hi, if I did so:

-o | --output Type output (default: text) Text, Json, JsonPretty what do you say?

Bets regards

elurex commented 5 years ago

Yes! it would be great

franklupo commented 5 years ago

See new release 1,2.0

Best regards