Bug 1373221

Summary: EC2 provision dialogs do not support selecting multiple IPs for multi provision
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: ProvisioningAssignee: Greg McCullough <gmccullo>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: dajohnso, gmccullo, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:provision:ec2:network
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1442175 1442177 (view as bug list) Environment:
Last Closed: 2018-03-06 15:31:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1442175, 1442177    

Description Matouš Mojžíš 2016-09-05 14:05:15 UTC
Description of problem:


Version-Release number of selected component (if applicable):
5.6.1.2

How reproducible:
Always

Steps to Reproduce:
1. Add an ec2 provider
2. Provision multiple instances
3. Select Elastic IP association in enviroment

Actual results:
Instances are provisioned but without IP addresses.
[----] I, [2016-09-05T09:53:18.937205 #11798:ff7990]  INFO -- : Q-task_id([miq_provision_5]) <AutomationEngine> In State=[CheckProvisioned], invoking [on_error] method=[update_provision_status(status => '[Aws::EC2::Errors::InvalidParameterCombination]: You must specify an allocation id when mapping an address to a VPC instance')]


Expected results:
There should be an option to select EIP for every instance currently provisioning.

Additional info:

Comment 2 Greg McCullough 2016-09-08 18:25:57 UTC
The provisioning dialogs are not setup to handle selection of different items when multiple VMs are requested.  In this case we can hide the :floating_ip_address field in the UI when the :number_of_vms count is greater than 1.

If multiple VMs are selected the IP would need to be assigned from automate using custom logic.

Comment 4 drew uhlmann 2017-03-09 21:38:04 UTC
Sorry. Ignore github link, it's wrong.

Comment 9 Matouš Mojžíš 2017-12-06 09:52:06 UTC
Verified in 5.9.0.11. IP field is hidden when having more than one instance to provision.