Bug 1315947

Summary: [RFE] When provisioning to Azure, Resource Group should be listed first under placement.
Product: Red Hat CloudForms Management Engine Reporter: Jeff Teehan <jteehan>
Component: ProvisioningAssignee: Greg McCullough <gmccullo>
Status: CLOSED NOTABUG QA Contact: Jeff Teehan <jteehan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: bsorota, jhardy, jteehan, obarenbo
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: provision:ui:azure
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-06 16:29:00 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:

Description Jeff Teehan 2016-03-09 05:29:37 UTC
Description of problem:

In the Azure Provisioning: Environment Tab : Placement Options, Resource Group is the last choice, but the first three fields are sub-components of the Resource Group.  As Resource Group is the top most important selection, it doesn't make sense to select it last as it would void all the previous selections if they were not in that Resource Group.

Or, it should be automatically selected based on the Resource Group associated with the Storage Account which contains the Image.

Version-Release number of selected component (if applicable):
cfme-hyperv-5.6.0.0-nightly-20160308112121-1.x86_64.vhd

How reproducible:
Feature Request

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Bronagh Sorota 2016-03-09 15:54:40 UTC
Hi Jeff,

A virtual machine can be provisioned to a different resource group than the one the selected network/subnet belongs to. The requirement is that the resource groups of each must belong to the same region. If you select a resource group and then change your mind and select a different one you will not see any change in the cloud network/subnet controls.

Also, it wouldn't be ideal to force the virtual machine to be placed in the same resource group that the source image (storage account) belongs to.

Comment 3 Jeff Teehan 2016-03-09 16:17:59 UTC
Ok, let me try a few more complicated provision requests and if it handles them all I'll close this.  If we are going to allow any resource group to be used then we should also update the docs and require that the Active Directory App be assigned to the entire subscription rather than at the Resource Group level, unless you're already checking for that.

I'm just so used to having Resource Group being drilled into my head as just about every PowerShell cmdlet requires it as the first parameter.

Comment 4 Bronagh Sorota 2016-05-06 13:46:43 UTC
Jeff,
Did you try a few more complicated provisioning requests? Can this ticket be closed?

Thanks

Comment 5 Jeff Teehan 2016-05-06 16:29:00 UTC
Hi,

We can definitely do things using cross resource group objects that don't appear to be possible using the Azure GUI.  That said, it works and the VM runs without errors.

Closing as requested.