mirror of
https://github.com/Corsinvest/cv4pve-autosnap.git
synced 2026-04-25 17:05:48 +03:00
[GH-ISSUE #31] Problem connection! #30
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-autosnap#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alamoHoi on GitHub (Feb 24, 2020).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/31
My automatic snapshot are broken. I updated Proxmox from 5.4 to 6.1. with these results :
root@nfs1:~# ./cv4pve-autosnap --version
Automatic snapshot VM/CT with retention (Made in Italy)
1.7.2
root@nfs1:~# ./cv4pve-autosnap --host=hostname --username=snapshot-user@pve --password=PASSWORD --debug --vmid=102 status
Method: POST, Url: https://hostname:8006/api2/json/access/ticket
Parameters:
password : PASSWORD
username : snapshot-user
realm : pve
StatusCode: ServiceUnavailable
ReasonPhrase: Service Unavailable
IsSuccessStatusCode: False
Problem connection!
Package versions
proxmox-ve: 6.1-2 (running kernel: 5.3.13-3-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-5.3: 6.1-3
pve-kernel-helper: 6.1-3
pve-kernel-5.3.13-3-pve: 5.3.13-3
pve-kernel-4.15.18-24-pve: 4.15.18-52
ceph: 14.2.6-pve1
ceph-fuse: 14.2.6-pve1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.14-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-11
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-4
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
openvswitch-switch: 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-12+deb10u1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-19
pve-docs: 6.1-4
pve-edk2-firmware: 2.20191127-1
pve-firewall: 4.0-10
pve-firmware: 3.0-4
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-5
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1
My old installation with cv4pve-autosnap.1.2.0.debian-x64.deb does not work also.
root@nfs1:~# cv4pve-autosnap --host=hostname --username=snapshot-user@pve --password=PASSWORD --debug --vmid=102 status
Method: POST, Url: https://hostname:8006/api2/json/access/ticket
Parameters:
password : PASSWORD
username : snapshot-user
realm : pve
StatusCode: ServiceUnavailable
ReasonPhrase: Service Unavailable
IsSuccessStatusCode: False
================ EXCEPTION ================
Newtonsoft.Json.JsonReaderException
Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Corsinvest.ProxmoxVE.Api.ClientBase.ExecuteAction(String resource, HttpMethod method, IDictionary`2 parameters)
at Corsinvest.ProxmoxVE.Api.ClientBase.Login(String userName, String password, String realm)
at Corsinvest.ProxmoxVE.Api.ClientBase.Login(String userName, String password)
at Corsinvest.ProxmoxVE.Api.Extension.Utils.Shell.CommandOptionExtension.ClientTryLogin(CommandLineApplication command)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.CreateApp(CommandLineApplication parent) in C:\Users\Daniele\source\repos\OpenSource\ProxmoxVE\cv4pve-autosnap\src\dotnet\Corsinvest.ProxmoxVE.AutoSnap\ShellCommands.cs:line 32
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass4_1.b__1() in C:\Users\Daniele\source\repos\OpenSource\ProxmoxVE\cv4pve-autosnap\src\dotnet\Corsinvest.ProxmoxVE.AutoSnap\ShellCommands.cs:line 69
at McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.<>c__DisplayClass9_0.b__0()
at Corsinvest.ProxmoxVE.Api.Extension.Utils.Shell.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, TextWriter stdOut, String[] args)
What is wrong?
@franklupo commented on GitHub (Feb 24, 2020):
The user snapshot-user@pve is correct?
@alamoHoi commented on GitHub (Feb 25, 2020):
Its not working anymore if I start cv4pve-autosnap from a vm. It is working from my real pc.
@franklupo commented on GitHub (Feb 25, 2020):
The ping to host Proxmox VE work on vm?
@alamoHoi commented on GitHub (Feb 25, 2020):
Yes, it works.
root@nfs1:~# ping hostname
PING hostname (172.17.XX.XX) 56(84) bytes of data.
64 bytes from hostname (172.17.XX.XX): icmp_seq=1 ttl=64 time=0.203 ms
@alamoHoi commented on GitHub (Feb 25, 2020):
Sorry, my mistake. I uses a http proxy to get your Software and the proxy is not allowed for this network.
Thanks for your time.
Uwe
@franklupo commented on GitHub (Feb 25, 2020):
You are welcome