mirror of
https://github.com/Corsinvest/cv4pve-autosnap.git
synced 2026-04-25 08:55:49 +03:00
[GH-ISSUE #17] QEMU Agent enabled but not recognized v1.1.2 #13
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-autosnap#13
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 @francio87 on GitHub (Sep 4, 2019).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/17
Hi, the latest release, always show the warning of QEMU Agent not enabled, on both windows and linux VM:
VM500 - W10 Pro, Latest QEMU-GA
VM800 - Debian 10 apt'd get qemu-ga
VM900 - Ubuntu lxc container
After some digging, i've found that the error show up only if the option "Run guest-trim after clone disk" it's enabled
@franklupo commented on GitHub (Sep 4, 2019):
Hi,
I check if the "Agent" option is enabled.
What solution can there be?
best regards
@francio87 commented on GitHub (Sep 4, 2019):
hi,
to be honest i don't have idea what could be the solution, but i could help you debug it.
Btw what's the command you send to the agent to check if it's enable ?
I could try to reproduce it on proxmox host to see if it change the output when the option it's enabled / disabled.
@franklupo commented on GitHub (Sep 5, 2019):
Hi,
i'm using API,
You can check using my other software CLI https://github.com/Corsinvest/cv4pve-cli.
Execute
cv4pve-cli --host={host} --username=root@pam --password={password} get /nodes/{node}/qemu/500/status/current
or in interactive shell mode
get /nodes/{node}/qemu/500/status/current
Check if key agent equal 1
Best regards
@francio87 commented on GitHub (Sep 5, 2019):
Uhm, i've tried with pvesh since i'm at work right now and can't check your other software, but it seems that proxmox return the correct information via API.
Also if you compare the output in json format, you will recive the simple agent : 1 there aren't any notable difference between the enable and disable version.
https://www.diffchecker.com/lwBPWkIr
btw, can you replicate the issue ?
I'll check out cv4pve-cli as soon as i get home
Thanks
@franklupo commented on GitHub (Sep 5, 2019):
ok run command autosnap with option --debug and save (> log.txt") to file.
In output are present the password.
Send me file.
best regards
@francio87 commented on GitHub (Sep 5, 2019):
Hi, here's the logs:
With both guest-trim enable and disable, it's a test environment, so i don't mind if the passwords are shown ;)
log_guest-trim_enable.txt
log_guest-trim_disable.txt
Best Regards
@franklupo commented on GitHub (Sep 5, 2019):
Ok, found error.
I check angent equal "1" but the string is structured.
Create fix
@francio87 commented on GitHub (Sep 5, 2019):
Great!
Thanks
@franklupo commented on GitHub (Sep 5, 2019):
See new release 1,2.0
Best regards