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
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
How can I deploy a template in a vApp as "provider" and not "Organization Administrator" please ?
I try to create rog user for provisionning but not working too with provider account.
I have read several issues which indicate to put the org "system" however it does not work. Do I necessarily have to already have a user created on the tenant ?
Here the error for an user :
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: Value of unknown type: <class 'pyvcloud.vcd.exceptions.OperationNotSupportedException'>, Unable to execute query.
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/modules/vcd_user.py\", line 301, in main\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/modules/vcd_user.py\", line 202, in manage_states\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/modules/vcd_user.py\", line 238, in create\n File \"/home/jcoopmann/.local/lib/python3.8/site-packages/pyvcloud/vcd/org.py\", line 1142, in get_role_record\n role_record = self.list_roles(('name', role_name))\n File \"/home/jcoopmann/.local/lib/python3.8/site-packages/pyvcloud/vcd/org.py\", line 1177, in list_roles\n for r in list(query.execute()):\n File \"/home/jcoopmann/.local/lib/python3.8/site-packages/pyvcloud/vcd/client.py\", line 1991, in execute\n raise OperationNotSupportedException('Unable to execute query.')\npyvcloud.vcd.exceptions.OperationNotSupportedException: Unable to execute query.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/jcoopmann/.ansible/tmp/ansible-tmp-1693813685.182755-60203-175060986046363/AnsiballZ_vcd_user.py\", line 107, in <module>\n _ansiballz_main()\n File \"/home/jcoopmann/.ansible/tmp/ansible-tmp-1693813685.182755-60203-175060986046363/AnsiballZ_vcd_user.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/jcoopmann/.ansible/tmp/ansible-tmp-1693813685.182755-60203-175060986046363/AnsiballZ_vcd_user.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible.modules.vcd_user', init_globals=dict(_module_fqn='ansible.modules.vcd_user', _modlib_path=modlib_path),\n File \"/usr/lib/python3.8/runpy.py\", line 207, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib/python3.8/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib/python3.8/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/modules/vcd_user.py\", line 313, in <module>\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/modules/vcd_user.py\", line 307, in main\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/module_utils/basic.py\", line 1533, in fail_json\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/module_utils/basic.py\", line 1506, in _return_formatted\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/module_utils/common/parameters.py\", line 887, in remove_values\n File \"/tmp/ansible_vcd_user_payload_umml9pvj/ansible_vcd_user_payload.zip/ansible/module_utils/common/parameters.py\", line 461, in _remove_values_conditions\nTypeError: Value of unknown type: <class 'pyvcloud.vcd.exceptions.OperationNotSupportedException'>, Unable to execute query.\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Reproduction steps
create provider user
set environnement variable org, user, password
create user with module vcd_user
Expected behavior
User created
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Good morning,
How can I deploy a template in a vApp as "provider" and not "Organization Administrator" please ?
I try to create rog user for provisionning but not working too with provider account.
I have read several issues which indicate to put the org "system" however it does not work. Do I necessarily have to already have a user created on the tenant ?
Here the error for an user :
Reproduction steps
Expected behavior
User created
Additional context
No response
The text was updated successfully, but these errors were encountered: