You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the uri field with proxmox_template to delegate the template download to Proxmox, the task fails with a message of the type
Fetching template from url <ISO's URL> failed with error: 501 Not Implemented: Method 'GET /node/<redacted>/tasks/UPID:<redacted>:download:<redacted>:<redacted>:/log' not implemented"
$ ansible-config dump --only-changedCONFIG_FILE() = NonePAGER(env: PAGER) = less
OS / Environment
Ubuntu 24.04.1 LTS (Devcontainer running on WSL)
Ansible and Proxmoxer installed using Nix
Steps to Reproduce
name: Download the Kairos OS image on Proxmox VE clustercommunity.general.proxmox_template:
node: <redacted>api_user: <redacted>api_password: <redacted>api_host: <redacted>url: https://github.com/kairos-io/kairos/releases/download/v3.2.4/kairos-alpine-3.19-standard-amd64-generic-v3.2.4-k3sv1.31.3+k3s1.isocontent_type: isostate: presentstorage: local
Expected Results
Should download the ISO directly on Proxmox without issues
Actual Results
TASK [Download the Kairos OS image on Proxmox VE cluster] *******************************************************************************************************************************************************************************************************************fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fetching template from url https://github.com/kairos-io/kairos/releases/download/v3.2.4/kairos-alpine-3.19-standard-amd64-generic-v3.2.4-k3sv1.31.3%2Bk3s1.iso failed with error: 501 Not Implemented: Method 'GET /node/<redacted>/tasks/UPID:<redacted>:download:<redacted>:<redacted>:/log' not implemented"}
The download is successfully launched, but Proxmox unfortunately fails.
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
Summary
When I use the
uri
field withproxmox_template
to delegate the template download to Proxmox, the task fails with a message of the typeThe issue is the missing
s
innode
onself.proxmox_api.node(node).tasks(taskid).log.get()[:1])
that call the wrong API path.Issue Type
Bug Report
Component Name
proxmox_template
Ansible Version
Community.general Version
Configuration
OS / Environment
Ubuntu 24.04.1 LTS (Devcontainer running on WSL)
Ansible and Proxmoxer installed using Nix
Steps to Reproduce
Expected Results
Should download the ISO directly on Proxmox without issues
Actual Results
The download is successfully launched, but Proxmox unfortunately fails.
Code of Conduct
The text was updated successfully, but these errors were encountered: