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

Changed Windows 10 AMI #5455

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

c-bordon
Copy link
Member

@c-bordon c-bordon commented Jun 3, 2024

close https://github.com/wazuh/internal-devel-requests/issues/1210

A new AMI for Windows 10 with SSH was created. This AMI will be the new Windows 10 AMI for the Allocation module.

cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa$ python3 deployability/modules/allocation/main.py --provider aws --size large --label-team devops --label-termination-date 1d --label-issue https://github.com/wazuh/internal-devel-requests/issues/1210 --composite-name windows-desktop-10-amd64
[2024-06-03 12:13:48] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa
[2024-06-03 12:13:49] [DEBUG] ALLOCATOR: No config provided. Generating from payload
[2024-06-03 12:13:49] [DEBUG] ALLOCATOR: Creating temp directory: /tmp/wazuh-qa/AWS-472E7410-BA55-454F-ADEB-01E92D2C9203
[2024-06-03 12:14:07] [DEBUG] ALLOCATOR: Renaming temp /tmp/wazuh-qa/AWS-472E7410-BA55-454F-ADEB-01E92D2C9203 directory to /tmp/wazuh-qa/i-026552e522199dbcc
[2024-06-03 12:14:07] [INFO] ALLOCATOR: Instance i-026552e522199dbcc created.
[2024-06-03 12:14:08] [INFO] ALLOCATOR: Instance i-026552e522199dbcc started.
[2024-06-03 12:14:09] [INFO] ALLOCATOR: The inventory file generated at /tmp/wazuh-qa/i-026552e522199dbcc/inventory.yaml
[2024-06-03 12:14:09] [INFO] ALLOCATOR: The track file generated at /tmp/wazuh-qa/i-026552e522199dbcc/track.yaml
[2024-06-03 12:14:39] [WARNING] ALLOCATOR: Error on attempt 1 of 30: HTTPSConnectionPool(host='ec2-3-95-218-67.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7bab6b692230>, 'Connection to ec2-3-95-218-67.compute-1.amazonaws.com timed out. (connect timeout=30)'))
[2024-06-03 12:15:39] [WARNING] ALLOCATOR: Error on attempt 2 of 30: HTTPSConnectionPool(host='ec2-3-95-218-67.compute-1.amazonaws.com', port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7bab6b2ead40>, 'Connection to ec2-3-95-218-67.compute-1.amazonaws.com timed out. (connect timeout=30)'))
[2024-06-03 12:16:10] [WARNING] ALLOCATOR: Error on attempt 3 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:16:40] [WARNING] ALLOCATOR: Error on attempt 4 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:17:11] [WARNING] ALLOCATOR: Error on attempt 5 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:17:41] [WARNING] ALLOCATOR: Error on attempt 6 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:18:12] [WARNING] ALLOCATOR: Error on attempt 7 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:18:42] [WARNING] ALLOCATOR: Error on attempt 8 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:19:12] [WARNING] ALLOCATOR: Error on attempt 9 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:19:43] [WARNING] ALLOCATOR: Error on attempt 10 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:20:13] [WARNING] ALLOCATOR: Error on attempt 11 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:20:43] [WARNING] ALLOCATOR: Error on attempt 12 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:21:19] [WARNING] ALLOCATOR: Error on attempt 13 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:21:49] [WARNING] ALLOCATOR: Error on attempt 14 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:22:20] [WARNING] ALLOCATOR: Error on attempt 15 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:22:50] [WARNING] ALLOCATOR: Error on attempt 16 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:23:22] [WARNING] ALLOCATOR: Error on attempt 17 of 30: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2024-06-03 12:24:14] [WARNING] ALLOCATOR: Error on attempt 18 of 30: 
[2024-06-03 12:24:46] [INFO] ALLOCATOR: WinRM connection successful.
[2024-06-03 12:24:46] [INFO] ALLOCATOR: Instance i-026552e522199dbcc created successfully.
cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-qa$ cat /tmp/wazuh-qa/i-026552e522199dbcc/inventory.yaml
ansible_connection: winrm
ansible_host: ec2-3-95-218-67.compute-1.amazonaws.com
ansible_password: 4npc02tOzkO
ansible_port: 5986
ansible_user: wazuh-user
ansible_winrm_server_cert_validation: ignore


Microsoft Windows [Version 10.0.19045.2006]
(c) Microsoft Corporation. All rights reserved.

wazuh-user@DESKTOP-AM596O1 C:\Users\wazuh-user>

The inventory file will continue to provide the connection information through winrm, although this AMI also has SSH as a connection method

@c-bordon c-bordon requested review from teddytpc1 and davidcr01 June 3, 2024 15:30
@c-bordon c-bordon self-assigned this Jun 3, 2024
@c-bordon c-bordon merged commit 1cbc1fc into 4495-dtt1-release Jun 3, 2024
@c-bordon c-bordon deleted the change/1210-idr-Update-Windows-10-AMI branch June 3, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants