Open hadoopch opened 2 years ago
hi! now it is fixed
Hi Polina,
it is fixed for state present. But for the state absent it has still problems in the second run. I get the following error.
The full traceback is:
Traceback (most recent call last):
File "/home/linux/.ansible/tmp/ansible-tmp-1680773288.3978603-2246-59218644342428/AnsiballZ_cbr_vault.py", line 107, in <module>
_ansiballz_main()
File "/home/linux/.ansible/tmp/ansible-tmp-1680773288.3978603-2246-59218644342428/AnsiballZ_cbr_vault.py", line 99, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/home/linux/.ansible/tmp/ansible-tmp-1680773288.3978603-2246-59218644342428/AnsiballZ_cbr_vault.py", line 47, in invoke_module
runpy.run_module(mod_name='ansible_collections.opentelekomcloud.cloud.plugins.modules.cbr_vault', init_globals=dict(_module_fqn='ansible_collections.opentelekomcloud.cloud.plugins.modules.cbr_vault', _modlib_path=modlib_path),
File "/usr/local/lib/python3.8/runpy.py", line 206, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "/usr/local/lib/python3.8/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/local/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/tmp/ansible_opentelekomcloud.cloud.cbr_vault_payload_j7_cnl3n/ansible_opentelekomcloud.cloud.cbr_vault_payload.zip/ansible_collections/opentelekomcloud/cloud/plugins/modules/cbr_vault.py", line 598, in <module>
File "/tmp/ansible_opentelekomcloud.cloud.cbr_vault_payload_j7_cnl3n/ansible_opentelekomcloud.cloud.cbr_vault_payload.zip/ansible_collections/opentelekomcloud/cloud/plugins/modules/cbr_vault.py", line 594, in main
File "/tmp/ansible_opentelekomcloud.cloud.cbr_vault_payload_j7_cnl3n/ansible_opentelekomcloud.cloud.cbr_vault_payload.zip/ansible_collections/opentelekomcloud/cloud/plugins/module_utils/otc.py", line 215, in __call__
File "/tmp/ansible_opentelekomcloud.cloud.cbr_vault_payload_j7_cnl3n/ansible_opentelekomcloud.cloud.cbr_vault_payload.zip/ansible_collections/opentelekomcloud/cloud/plugins/modules/cbr_vault.py", line 565, in run
AttributeError: 'NoneType' object has no attribute 'id'
fatal: [localhost]: FAILED! => {
"changed": false,
"module_stderr": "Traceback (most recent call last):\n File \"/home/linux/.ansible/tmp/ansible-tmp-1680773288.3978603-2246-59218644342428/AnsiballZ_cbr_vault.py\", line 107, in <module>\n _ansiballz_main()\n File \"/home/linux/.ansible/tmp/ansible-tmp-1680773288.3978603-2246-59218644342428/AnsiballZ_cbr_vault.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/linux/.ansible/tmp/ansible-tmp-1680773288.3978603-2246-59218644342428/AnsiballZ_cbr_vault.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.opentelekomcloud.cloud.plugins.modules.cbr_vault', init_globals=dict(_module_fqn='ansible_collections.opentelekomcloud.cloud.plugins.modules.cbr_vault', _modlib_path=modlib_path),\n File \"/usr/local/lib/python3.8/runpy.py\", line 206, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/local/lib/python3.8/runpy.py\", line 96, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/local/lib/python3.8/runpy.py\", line 86, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_opentelekomcloud.cloud.cbr_vault_payload_j7_cnl3n/ansible_opentelekomcloud.cloud.cbr_vault_payload.zip/ansible_collections/opentelekomcloud/cloud/plugins/modules/cbr_vault.py\", line 598, in <module>\n File \"/tmp/ansible_opentelekomcloud.cloud.cbr_vault_payload_j7_cnl3n/ansible_opentelekomcloud.cloud.cbr_vault_payload.zip/ansible_collections/opentelekomcloud/cloud/plugins/modules/cbr_vault.py\", line 594, in main\n File \"/tmp/ansible_opentelekomcloud.cloud.cbr_vault_payload_j7_cnl3n/ansible_opentelekomcloud.cloud.cbr_vault_payload.zip/ansible_collections/opentelekomcloud/cloud/plugins/module_utils/otc.py\", line 215, in __call__\n File \"/tmp/ansible_opentelekomcloud.cloud.cbr_vault_payload_j7_cnl3n/ansible_opentelekomcloud.cloud.cbr_vault_payload.zip/ansible_collections/opentelekomcloud/cloud/plugins/modules/cbr_vault.py\", line 565, in run\nAttributeError: 'NoneType' object has no attribute 'id'\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
Could you please check ?
Thanks in advance
Uli
Hi all,
today i tried opentelekomcloud.cloud.cbr_vault. I wanted to create a server backup vault. When i run the playbook the first time everything is working fine. In the second run i ge the the follwoing error:
Could you please check ?
Thanks in advance
Uli