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
Related: #5311
Working on #5341, I noticed that in the documentation, the --instance-name parameter is not included in the examples, and this argument is compulsory in the execution of the module.
> python3 modules/allocation/main.py --action create --provider vagrant --size large --composite-name windows-server-2019-amd64 --inventory-output "/tmp/dtt1-poc/windows-server-2019-amd64/inventory.yaml" --track-output "/tmp/dtt1-poc/windows-server-2019-amd64/track.yaml"[2024-05-09 17:02:36] [DEBUG] SPNEGO._GSS: Python gssapi not available, cannot use any GSSAPIProxy protocols: No module named 'gssapi'[2024-05-09 17:02:36] [DEBUG] SPNEGO._GSS: Python gssapi IOV extension not available: No module named 'gssapi'[2024-05-09 17:02:36] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qaTraceback (most recent call last): File "/home/davidcr01/Wazuh/wazuh-qa/deployability/modules/allocation/main.py", line 39, in <module> main() File "/home/davidcr01/Wazuh/wazuh-qa/deployability/modules/allocation/main.py", line 35, in main Allocator.run(InputPayload(**vars(parse_arguments()))) File "/home/davidcr01/Wazuh/wazuh-qa/deployability/modules/allocation/allocation.py", line 37, in run return cls.__create(payload) File "/home/davidcr01/Wazuh/wazuh-qa/deployability/modules/allocation/allocation.py", line 56, in __create instance = provider.create_instance( File "/home/davidcr01/Wazuh/wazuh-qa/deployability/modules/allocation/generic/provider.py", line 71, in create_instance return cls._create_instance(base_dir, params, config, ssh_key) File "/home/davidcr01/Wazuh/wazuh-qa/deployability/modules/allocation/vagrant/provider.py", line 61, in _create_instance raise ValueError("Instance name or issue label is required.")ValueError: Instance name or issue label is required.
Description
Related: #5311
Working on #5341, I noticed that in the documentation, the
--instance-name
parameter is not included in the examples, and this argument is compulsory in the execution of the module.It is necessary to improve this documentation: https://github.com/wazuh/wazuh-qa/tree/4495-dtt1-release/deployability/modules/allocation
The text was updated successfully, but these errors were encountered: