mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 07:06:00 +03:00
[GH-ISSUE #61] proxmoxer agent exec-status #29
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#29
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 @enimath on GitHub (Jun 9, 2021).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/61
Hello,
I am trying to check agent exec-status command but proxmoxer don't know anything after "-" so perhaps there is some other keyword to use ?
when I am trying to check on console with pvesh it is working
"pvesh get /nodes/local-11/qemu/10001/agent/exec-status --pid 1017"
my code:
targetnode=local-11
vmid=10001
pid=1017
proxmox.nodes(targetnode).qemu(vmid).agent.exec-status(pid=pid).get()
@jhollowe commented on GitHub (Jun 10, 2021):
This is a limitation of python when using the dotted form (python doesn't like dashes in the name). If you change it to the following, it should work (I currently don't have access to my testing rig so I can't test for sure).
@enimath commented on GitHub (Jun 11, 2021):
Hello,
Thank You for reply !
I have tested Your code and it is working.