Comments (29)
Hi,
Add --debug parameter and attach output
from cv4pve-autosnap.
Thanks a lot for you replay, this si the output:
/usr/local/bin/cv4pve-autosnap --host=localhost --username=root@pam --password='PWD' --vmid=all snap --label='daily' --keep=7 --debug
Method: POST, Url: https://localhost:8006/api2/json/access/ticket
Parameters:
password : PWD
username : root
realm : pam
Problem connection!
/usr/local/bin/cv4pve-autosnap --host=IP --username=root@pam --password='PWD' --vmid=all snap --label='daily' --keep=7 --debug
Method: POST, Url: https://IP:8006/api2/json/access/ticket
Parameters:
password : PWD
username : root
realm : pam
from cv4pve-autosnap.
HI,
can you execute outside Proxmox VE?
Best regards
from cv4pve-autosnap.
Same output on a virtual Debian Buster:
/etc/nrpe.d# /usr/local/bin/cv4pve-autosnap --host=localhost --username=root@pam --password='PWD' --vmid=all snap --label='daily' --keep=7 --debug
Method: POST, Url: https://localhost:8006/api2/json/access/ticket
Parameters:
password : PWD
username : root
realm : pam
Problem connection!
from cv4pve-autosnap.
Hi,
use default port 8006?
from cv4pve-autosnap.
Yes, I have downloaded the tool made it executable and tried to set the snapshots for the individual hosts with the command.
from cv4pve-autosnap.
which URL do you use for the web connection?
from cv4pve-autosnap.
Sorry for the delay.
https://IP:8006/#v1:0:18:4:::::::
https://Hostname:8006/#v1:0:18:4:::::::
could the realm be the issue? realm : pam
from cv4pve-autosnap.
Download the latest version and run with --debug.
I have improved error logs.
Best regards
from cv4pve-autosnap.
News?
from cv4pve-autosnap.
Sorry for the delay, this ist the output with the new version:
Problem connection!
================ EXCEPTION ================
System.ApplicationException
Problem connection!
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.CommandOptionExtension.ClientTryLogin(CommandLineApplication command)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.CreateApp(CommandLineApplication parent)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass9_1.b__1()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)
from cv4pve-autosnap.
you also used the --debug parameter?
from cv4pve-autosnap.
You have enabled firewall?
from cv4pve-autosnap.
from cv4pve-autosnap.
from cv4pve-autosnap.
Hi have the same issue here with Proxmox Virtual Environment 6.2-12
cv4pve-autosnap --host='127.0.0.1', --username=root@pam --password=MyfantasticPW --vmid='100' snap --label='hourly' --keep=12 --debug
Problem connection!
================ EXCEPTION ================
System.ApplicationException
Problem connection!
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.CommandOptionExtension.ClientTryLogin(CommandLineApplication command)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.CreateApp(CommandLineApplication parent)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass9_1.b__1()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)
from cv4pve-autosnap.
Test new version. I imporve the log. Use the parameter --debug and attach result.
Bets regards
from cv4pve-autosnap.
I've tested a new version and there is the output
cv4pve-autosnap --version
Automatic snapshot VM/CT with retention (Made in Italy)
1.9.10
=================================================================
cv4pve-autosnap --host='127.0.0.1', --username=root@pam --password=MyfantasticPW --vmid='100' snap --label='hourly' --keep=1 --debug
Problem connection!
================ EXCEPTION ================
System.ApplicationException
Problem connection!
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.CommandOptionExtension.ClientTryLogin(CommandLineApplication command)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.CreateApp(CommandLineApplication parent)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass9_1.b__1()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)
===============================================================================
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
If i can do more to help you, please guide me.
Thank you
from cv4pve-autosnap.
But the Proxmox VE is installed on ubuntu?
from cv4pve-autosnap.
No, the IP is just and example, with the real IP I got the same error.
The CV4PVE are running in one container with ubuntu 20.04
thank you
from cv4pve-autosnap.
Can install dotnet core and try?
https://docs.microsoft.com/it-it/dotnet/core/install/linux-ubuntu#2004-
from cv4pve-autosnap.
I instaled the dotnet core and got the same error
from cv4pve-autosnap.
Hi,
download zip https://www.transfernow.net/MrnCvJ102020
Contains all files dotnet and cv4pve-autosnap.
Try cv4pve-autosnap
best regards
from cv4pve-autosnap.
Hi Frank,
Thank you for all your support.
There is the output with the zip file you had sended
root@CV4PVE:~/cv4# sudo /root/cv4/cv4pve-autosnap --host='127.0.0.1', --username=root@pam --password=MyfantasticPW --vmid='100' snap --label='hourly' --keep=1 --debug
Problem connection!
================ EXCEPTION ================
System.ApplicationException
Problem connection!
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.CommandOptionExtension.ClientTryLogin(CommandLineApplication command)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.CreateApp(CommandLineApplication parent) in C:\Users\Daniele\source\repos\OpenSource\ProxmoxVE\cv4pve-autosnap\src\Corsinvest.ProxmoxVE.AutoSnap\ShellCommands.cs:line 55
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass9_1.b__1() in C:\Users\Daniele\source\repos\OpenSource\ProxmoxVE\cv4pve-autosnap\src\Corsinvest.ProxmoxVE.AutoSnap\ShellCommands.cs:line 139
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)
from cv4pve-autosnap.
hi @franklupo i downgrade the ubuntu version for 18.04lts and the last relase run without problems.
Just remember, all the tests and errors i got is on ubuntu 20.04lts
thank you
from cv4pve-autosnap.
I'm figuring out if there are any missing files for Ubuntu 20.04
Thank you
from cv4pve-autosnap.
have same error on my side PVE 6.3 (Only work locally) :
================ EXCEPTION ================
System.ApplicationException
Problem connection!
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.CommandOptionExtension.ClientTryLogin(CommandLineApplication command)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.CreateApp(CommandLineApplication parent)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass9_1.<Snap>b__1()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.<OnExecute>b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)
from cv4pve-autosnap.
Hi,
You have a firewall?
from cv4pve-autosnap.
In this version use ICMP for test connection available. In the next version we only use port check.
from cv4pve-autosnap.
Related Issues (20)
- Save snap to another storage HOT 2
- Same error trying to snap on proxmox 6.2 HOT 9
- Proxmox 7.2-11 issues HOT 3
- [FEATURE] Add an option to snapshot only running VMs/CTs HOT 4
- Can this be made possible to run locally on the proxmox server shell? HOT 3
- Feature: Snap from tags HOT 7
- Is it safety to use cv4pve-autosnap in conjunction with Storage Replication (pvecm)? HOT 7
- Obsolete defaults-extra-file HOT 1
- Object reference not set to an instance of an object. HOT 2
- Cannot exclude vm disks HOT 3
- Include an example of how to use a snapshot to restore a VM/CT ? HOT 1
- Can't snapshot a VM without disk HOT 4
- No usable version of libssl was found HOT 6
- API tokens syntax is an unlucky choice HOT 13
- Documentation unclear about exclusions in vmid parameter and missing other parameters HOT 15
- Feature: Option to disable Memory on snapshot HOT 1
- Incomplete error handling (or lack of filtering) for "non-snapshottable" machines HOT 1
- Destination storage HOT 2
- is promox 8 supported? HOT 1
- Capture snapshot with RAM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cv4pve-autosnap.