Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTT1 - Iteration 3 - Allocation module - Fix key file name in inventory.yml #4926

Closed
c-bordon opened this issue Feb 7, 2024 · 0 comments · Fixed by #4961
Closed

DTT1 - Iteration 3 - Allocation module - Fix key file name in inventory.yml #4926

c-bordon opened this issue Feb 7, 2024 · 0 comments · Fixed by #4961
Assignees
Labels

Comments

@c-bordon
Copy link
Member

c-bordon commented Feb 7, 2024

Epic #4855

The name of the key file written in the inventory file has an error in the AWS deploy

cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa/deployability$ python3 launchers/allocation.py --composite-name linux-ubuntu-22.04-amd64 --provider aws --size large
[2024-02-07 12:08:39] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-02-07 12:08:39] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-02-07 12:08:39] [DEBUG] ALLOCATOR: Creating base directory: /tmp/wazuh-qa/AWS-DF53C7A2-9395-457E-96DD-5BB42BAB93B9
[2024-02-07 12:08:59] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-DF53C7A2-9395-457E-96DD-5BB42BAB93B9 directory to /tmp/wazuh-qa/i-04e08f101fe6d8e31
[2024-02-07 12:08:59] [INFO] ALLOCATOR: Instance i-04e08f101fe6d8e31 created.
[2024-02-07 12:09:00] [INFO] ALLOCATOR: Instance i-04e08f101fe6d8e31 started.
[2024-02-07 12:09:01] [INFO] ALLOCATOR: Inventory file generated at /tmp/wazuh-qa/inventory.yml
[2024-02-07 12:09:01] [INFO] ALLOCATOR: Track file generated at /tmp/wazuh-qa/track.yml
cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa/deployability$ cat /tmp/wazuh-qa/inventory.yml
ansible_host: ec2-44-212-61-42.compute-1.amazonaws.com
ansible_port: 22
ansible_ssh_private_key_file: /tmp/wazuh-qa/i-04e08f101fe6d8e31/5BB42BAB93B9_key.pem
ansible_user: ubuntu
cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa/deployability$ ls -la /tmp/wazuh-qa/i-04e08f101fe6d8e31/5BB42BAB93B9_key
-rw------- 1 cbordon cbordon 1674 feb  7 12:08 /tmp/wazuh-qa/i-04e08f101fe6d8e31/5BB42BAB93B9_key
@c-bordon c-bordon linked a pull request Feb 14, 2024 that will close this issue
@c-bordon c-bordon self-assigned this Feb 14, 2024
@wazuhci wazuhci moved this to Pending review in Release 4.9.0 Feb 14, 2024
@wazuhci wazuhci moved this from Pending review to Done in Release 4.9.0 Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants