Closed ptoal closed 4 years ago
We test this nightly with the following values and this issue really surprises me.... 🤔
from the file: https://github.com/ansible/workshops/blob/master/provisioner/roles/manage_ec2_instances/defaults/main.yml
ec2_info:
juniper:
size: c4.xlarge
cisco:
size: t2.medium
arista:
size: t2.medium
So the Juniper vSRX image is "vSRX Next Generation Firewall (BYOL)" which should link to this-> https://aws.amazon.com/marketplace/server/configuration?productId=4d1495fd-4d1f-48d0-9ec6-b67794a58765&ref_=psb_cfg_continue
what is weird is I no longer see the c4.xlarge as an option, I wonder how this is working for me though...
The Arista is the same thing.... going to try to relaunch this is really really weird that AWS can allow them to increase the instance types without switching AMIs.....
My fork is here: https://github.com/ptoal/ansible-workshop/tree/new_custom_dns https://github.com/ptoal/ansible-workshop/tree/new_custom_dns
Region is us-east-1 It is a custom fork that replaces Route53 with dnsmadeeasy, which is the host I use.
Sorry for surprising you. :)
I've just hit the same problem when trying to provision arista across eu-west-[12] and us-west-[12]
looks like the workaround suggested by @ptoal in the summary works - thanks!
this is fixed since we moved to RHEL8, this is now a standard RHEL image available to the public
fixed on April 1st https://github.com/ansible/workshops/pull/760
SUMMARY
When using the AWS Provisioner with the "networking" option, the provisioner fails to complete, and gives the error:
UnsupportedOperation: The instance configuration for this AWS Marketplace product is not supported. Please see the AWS Marketplace site for more information about supported instance types, regions, and operating systems.
Changing manage_ec2_instances/defaults/main.yml to use c5.large for Juniper and c5.xlarge for Arista allows the playbook to function again, though this increases the cost of running the lab.
ISSUE TYPE
EXTRA VARS FILE
ANSIBLE VERSION
Ansible: 2.8.2 Tower: 3.5.1
OS / ENVIRONMENT
Tower 3.5.1 on RHEL 7.6
PLAYBOOK SHORT OUTPUT
PLAYBOOK LONG OUTPUT