Open Lithimlin opened 2 weeks ago
The test ansible-test sanity --test compile --python 2.7
[explain] failed with 1 error:
plugins/modules/proxmox.py:696:21: SyntaxError: **kwargs,
The test ansible-test sanity --test import --python 2.7
[explain] failed with 1 error:
plugins/modules/proxmox.py:696:21: traceback: SyntaxError: invalid syntax
The test ansible-test sanity --test compile --python 2.7
[explain] failed with 1 error:
plugins/modules/proxmox.py:696:21: SyntaxError: **kwargs,
The test ansible-test sanity --test compile --python 3.5
[explain] failed with 1 error:
plugins/modules/proxmox.py:696:21: SyntaxError: **kwargs,
The test ansible-test sanity --test import --python 2.7
[explain] failed with 1 error:
plugins/modules/proxmox.py:696:21: traceback: SyntaxError: invalid syntax
The test ansible-test sanity --test import --python 3.5
[explain] failed with 1 error:
plugins/modules/proxmox.py:696:21: traceback: SyntaxError: invalid syntax
cc @Ajpantuso @Thulium-Drake @UnderGreen @joshainglis @karmab @krauthosting click here for bot help
The test extra-docs
failed with 17 errors:
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> disk_volume -> suboptions -> host_path -> description[1]: O(host_path): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> disk_volume -> suboptions -> options -> description[1]: O(options): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> disk_volume -> suboptions -> size -> description[1]: O(size): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> disk_volume -> suboptions -> volume -> description[1]: O(volume): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> host_path -> description[1]: O(host_path): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> host_path -> description[2]: O(mount_volumes.[].size): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> host_path -> description[2]: O(mount_volumes.[].storage): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> host_path -> description[2]: O(mount_volumes.[].volume): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> id -> description[1]: O(id): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> mountpoint -> description[1]: O(mountpoint): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> options -> description[1]: O(options): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> size -> description[1]: O(size): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> size -> description[3]: O(mount_volumes.[].host_path): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> size -> description[3]: O(mount_volumes.[].storage): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> storage -> description[2]: O(mount_volumes.[].host_path): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> volume -> description[1]: O(volume): option name does not reference to an existing option of the module community.general.proxmox
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> volume -> description[4]: O(mount_volumes.[].host_path): option name does not reference to an existing option of the module community.general.proxmox
The test ansible-test sanity --test validate-modules
[explain] failed with 10 errors:
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(host_path)" contains a non-existing option "host_path"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(id)" contains a non-existing option "id"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].host_path)" contains a non-existing option "mount_volumes.[].host_path"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].size)" contains a non-existing option "mount_volumes.[].size"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].storage)" contains a non-existing option "mount_volumes.[].storage"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].volume)" contains a non-existing option "mount_volumes.[].volume"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mountpoint)" contains a non-existing option "mountpoint"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(options)" contains a non-existing option "options"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(size)" contains a non-existing option "size"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(volume)" contains a non-existing option "volume"
The test ansible-test sanity --test validate-modules
[explain] failed with 10 errors:
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(host_path)" contains a non-existing option "host_path"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(id)" contains a non-existing option "id"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].host_path)" contains a non-existing option "mount_volumes.[].host_path"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].size)" contains a non-existing option "mount_volumes.[].size"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].storage)" contains a non-existing option "mount_volumes.[].storage"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].volume)" contains a non-existing option "mount_volumes.[].volume"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mountpoint)" contains a non-existing option "mountpoint"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(options)" contains a non-existing option "options"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(size)" contains a non-existing option "size"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(volume)" contains a non-existing option "volume"
The test ansible-test sanity --test validate-modules
[explain] failed with 10 errors:
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(host_path)" contains a non-existing option "host_path"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(id)" contains a non-existing option "id"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].host_path)" contains a non-existing option "mount_volumes.[].host_path"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].size)" contains a non-existing option "mount_volumes.[].size"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].storage)" contains a non-existing option "mount_volumes.[].storage"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].volume)" contains a non-existing option "mount_volumes.[].volume"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mountpoint)" contains a non-existing option "mountpoint"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(options)" contains a non-existing option "options"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(size)" contains a non-existing option "size"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(volume)" contains a non-existing option "volume"
The test ansible-test sanity --test validate-modules
[explain] failed with 10 errors:
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(host_path)" contains a non-existing option "host_path"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(id)" contains a non-existing option "id"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].host_path)" contains a non-existing option "mount_volumes.[].host_path"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].size)" contains a non-existing option "mount_volumes.[].size"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].storage)" contains a non-existing option "mount_volumes.[].storage"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mount_volumes.[].volume)" contains a non-existing option "mount_volumes.[].volume"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(mountpoint)" contains a non-existing option "mountpoint"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(options)" contains a non-existing option "options"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(size)" contains a non-existing option "size"
plugins/modules/proxmox.py:0:0: invalid-documentation-markup: Directive "O(volume)" contains a non-existing option "volume"
The test extra-docs
failed with 15 errors:
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> host_path -> description[1]: O(mount_volumes.host_path): option name 'mount_volumes.host_path' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> host_path -> description[2]: O(mount_volumes.size): option name 'mount_volumes.size' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> host_path -> description[2]: O(mount_volumes.storage): option name 'mount_volumes.storage' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> host_path -> description[2]: O(mount_volumes.volume): option name 'mount_volumes.volume' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> id -> description[1]: O(mount_volumes.id): option name 'mount_volumes.id' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> mountpoint -> description[1]: O(mount_volumes.mountpoint): option name 'mount_volumes.mountpoint' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> options -> description[1]: O(mount_volumes.options): option name 'mount_volumes.options' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> size -> description[1]: O(mount_volumes.size): option name 'mount_volumes.size' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> size -> description[3]: O(mount_volumes.host_path): option name 'mount_volumes.host_path' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> size -> description[3]: O(mount_volumes.storage): option name 'mount_volumes.storage' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> storage -> description[1]: O(mount_volumes.storage): option name 'mount_volumes.storage' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> storage -> description[2]: O(mount_volumes.host_path): option name 'mount_volumes.host_path' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> volume -> description[1]: O(mount_volumes.volume): option name 'mount_volumes.volume' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> volume -> description[4]: O(mount_volumes.host_path): option name 'mount_volumes.host_path' refers to list mount_volumes without `[]`
plugins/modules/proxmox.py:0:0: DOCUMENTATION -> options -> mount_volumes -> suboptions -> volume -> description[4]: O(mount_volumes.storage): option name 'mount_volumes.storage' refers to list mount_volumes without `[]`
SUMMARY
Fixes #8407
Makes the creation of new volumes idempotent and adds new keys with better readability.
ISSUE TYPE
COMPONENT NAME
proxmox
ADDITIONAL INFORMATION
Here is a sample playbook to test the new features/bug fixes:
Note: To test bind mounting, we actually need to use the
root@pam
user with its password. Even a token owned by that user will not work due to missing permissions.Output: