Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): 5.6.1.0 How reproducible: Always Steps to Reproduce: 1. Add an ec2 provider(for example in sa-east-1 region) 2. Try to provision instance. I tried to provision this AMI: RHEL-5.6-Starter-EBS-i386-17-Access2 3. Then I selected sa-east-1c region, which doesn't allow me according to list from this query:`aws ec2 describe-reserved-instances-offerings --query "ReservedInstancesOfferings[?AvailabilityZone=='sa-east-1c'] [InstanceType]" --output text --region sa-east-1 | uniq` 4. I was able to select T1.micro, which is not available in this AZ. Actual results: ERROR -- : Q-task_id([miq_provision_7]) MIQ(ManageIQ::Providers::Amazon::CloudManager::Provision#provision_error) [[Aws::EC2::Errors::Unsupported]: Your requested instance type (t1.micro) is not supported in your requested Availability Zone (sa-east-1c). Please retry your request by not specifying an Availability Zone or choosing sa-east-1b, sa-east-1a.] encountered during phase [start_clone_task] Expected results: List of available instance types should be checked after selecting AZ and shouldn't allow to provision instances with unavailable type. Additional info:
AlexZ has been looking at some ways to improve how we work with Amazon APIs, specifically with regions and flavors. Sending this Alex's direction to investigate. Alex, let us know if there are barriers to doing what Matous was testing. If so, we can close this wontfix. Otherwise, document in this BZ how we would go about handling this and we can get it onto the AWS backlog. Thanks!!