Bug 1519359 - Azure provider allows validation with no Subscription ID
Summary: Azure provider allows validation with no Subscription ID
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.11.0
Assignee: Richard Vsiansky
QA Contact: Angelina Vasileva
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-30 16:09 UTC by Russ Builta
Modified: 2019-12-12 13:33 UTC (History)
12 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:33:21 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:33:36 UTC

Description Russ Builta 2017-11-30 16:09:08 UTC
Description of problem:
When editing the Azure provider - you can delete the Subscription ID, validate and save. The validation works as well as "Refresh Relationships and Power States"


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


How reproducible: Everytime


Steps to Reproduce:
1. Add Azure provider
2. Edit Azure provider and remove the Subscription ID
3. Validate
4. Save
5. Refresh Relationships and Power States


Actual results: Validation succeeds and allows save


Expected results: Should fail with no Subscription ID 


Additional info:

Comment 2 Bronagh Sorota 2018-03-21 17:05:53 UTC
I think the subscription ID on an existing provider should be read only. Modifying the subscription id value on an existing EMS would alter the inventory we collect from the provider.

Sending to the UI team.

Comment 8 CFME Bot 2019-03-21 13:12:52 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/95df1ce6912b8498258212f72aeeb1f4c5c3aa11
commit 95df1ce6912b8498258212f72aeeb1f4c5c3aa11
Author:     Richard Vsiansky <r.vsia>
AuthorDate: Wed Mar 20 10:10:43 2019 -0400
Commit:     Richard Vsiansky <r.vsia>
CommitDate: Wed Mar 20 10:10:43 2019 -0400

    Subscription ID is required when adding, readOnly when editing (Azure)

    fixes https://bugzilla.redhat.com/show_bug.cgi?id=1519359

 app/views/shared/views/ems_common/angular/_form.html.haml | 4 +
 1 file changed, 4 insertions(+)

Comment 9 Angelina Vasileva 2019-05-06 09:07:41 UTC
Fixed and verified in 5.11.0.2.20190430174828_0e34dea.
Subscription ID is a read only field when editing Azure provider.

Comment 11 errata-xmlrpc 2019-12-12 13:33:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4199


Note You need to log in before you can comment on or make changes to this bug.