Bug report for RHPD CloudForms AAP2 Satellite Workshop
rhjcd opened this issue · 0 comments
Problem Summary
workshop fails to deploy with this error:
TASK [../roles/manage_ec2_instances : provision satellite server] **************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.ClientError: An error occurred (InvalidParameterValue) when calling the RunInstances operation: Invalid value 'e' for InstanceType.
fatal: [localhost]: FAILED! => {"boto3_version": "1.20.49", "botocore_version": "1.23.54", "changed": false, "error": {"code": "InvalidParameterValue", "message": "Invalid value 'e' for InstanceType."}, "msg": "Failed to create new EC2 instance: An error occurred (InvalidParameterValue) when calling the RunInstances operation: Invalid value 'e' for InstanceType.", "response_metadata": {"http_headers": {"cache-control": "no-cache, no-store", "connection": "close", "content-type": "text/xml;charset=UTF-8", "date": "Mon, 03 Jul 2023 21:26:37 GMT", "server": "AmazonEC2", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", "vary": "accept-encoding", "x-amzn-requestid": "30490b73-5ecf-401a-ba8c-10f9e8fc0161"}, "http_status_code": 400, "request_id": "30490b73-5ecf-401a-ba8c-10f9e8fc0161", "retry_attempts": 0}}
Issue Type
Bug
Extra vars file
https://github.com/rhpds/agnosticv/tree/master/ansiblebu/AAP2_WORKSHOP_AUTO_SATELLITE
Ansible Playbook Output
TASK [../roles/manage_ec2_instances : provision satellite server] **************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.ClientError: An error occurred (InvalidParameterValue) when calling the RunInstances operation: Invalid value 'e' for InstanceType.
fatal: [localhost]: FAILED! => {"boto3_version": "1.20.49", "botocore_version": "1.23.54", "changed": false, "error": {"code": "InvalidParameterValue", "message": "Invalid value 'e' for InstanceType."}, "msg": "Failed to create new EC2 instance: An error occurred (InvalidParameterValue) when calling the RunInstances operation: Invalid value 'e' for InstanceType.", "response_metadata": {"http_headers": {"cache-control": "no-cache, no-store", "connection": "close", "content-type": "text/xml;charset=UTF-8", "date": "Mon, 03 Jul 2023 21:26:37 GMT", "server": "AmazonEC2", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", "vary": "accept-encoding", "x-amzn-requestid": "30490b73-5ecf-401a-ba8c-10f9e8fc0161"}, "http_status_code": 400, "request_id": "30490b73-5ecf-401a-ba8c-10f9e8fc0161", "retry_attempts": 0}}
TASK [../roles/manage_ec2_instances : All instance sizes attempted fail task via when] ***
fatal: [localhost]: FAILED! => {"changed": false, "msg": "All instance sizes attempted."}
PLAY RECAP *********************************************************************
localhost : ok=154 changed=25 unreachable=0 failed=1 skipped=39 rescued=10 ignored=0
Ansible Version
aap2
Ansible Configuration
https://github.com/rhpds/agnosticv/tree/master/ansiblebu/AAP2_WORKSHOP_AUTO_SATELLITE
Ansible Execution Node
CLI Ansible (Ansible Core)
Operating System
rhel