Bug 1454829 - [RFE] Warning message on "admin" username during Azure provision
Summary: [RFE] Warning message on "admin" username during Azure provision
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Daniel Berger
QA Contact: Dave Johnson
URL:
Whiteboard: ui:provision
Depends On:
Blocks: 1478563 1524710
TreeView+ depends on / blocked
 
Reported: 2017-05-23 14:14 UTC by Leo Khomenko
Modified: 2018-06-21 20:22 UTC (History)
10 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1478563 1524710 (view as bug list)
Environment:
Last Closed: 2018-06-21 20:22:55 UTC
Category: ---
Cloudforms Team: Azure
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Leo Khomenko 2017-05-23 14:14:21 UTC
Description of problem: "admin" username can't be used. But we are able to create such request wich will fail with :
 [[Azure::Armrest::BadRequestException]: The Admin Username specified is not allowed.] Message [[Azure::Armrest::BadRequestException]: The Admin Username specified is not allowed.] 


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


How reproducible:100%


Steps to Reproduce:
1.use "admin" username during Instance provision on azure provider
2.
3.

Actual results: Request gets created but fails


Expected results: Warning message in UI

Comment 3 Daniel Berger 2017-06-27 17:45:17 UTC
Yes, there is a list of usernames that are not allowed by Azure. Why? Not sure, must be some attempt at security. In any case, I'll add some hooks to catch those.

Comment 4 Daniel Berger 2017-07-05 18:20:21 UTC
Part 1 here: https://github.com/ManageIQ/manageiq/pull/15513

Comment 5 Daniel Berger 2017-07-05 18:28:47 UTC
Part 2 here: https://github.com/ManageIQ/manageiq-providers-azure/pull/88

Comment 8 Daniel Berger 2017-10-27 14:05:39 UTC
Pretty sure it's a UI issue:

https://github.com/ManageIQ/manageiq-ui-classic/issues/1630

Comment 19 CFME Bot 2017-12-08 22:24:39 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/9ebf810383c82e3b55251dd5e1ef49e4a0da77ad

commit 9ebf810383c82e3b55251dd5e1ef49e4a0da77ad
Author:     Aparna Karve <akarve>
AuthorDate: Fri Dec 8 11:30:01 2017 -0800
Commit:     Aparna Karve <akarve>
CommitDate: Fri Dec 8 11:31:00 2017 -0800

    Fixes the vm_cloud routing for sort_template_grid
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1454829

 config/routes.rb | 1 +
 1 file changed, 1 insertion(+)


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