Bug 1402528 - Azure : Instance name restriction should be shown in UI when creating a catalog item for Azure
Summary: Azure : Instance name restriction should be shown in UI when creating a catal...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.7.1
Assignee: Daniel Berger
QA Contact: Jeff Teehan
URL:
Whiteboard: service:ui:azure
Depends On: 1377889
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-07 18:12 UTC by Satoe Imaishi
Modified: 2022-07-09 08:06 UTC (History)
10 users (show)

Fixed In Version: 5.7.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1377889
Environment:
Last Closed: 2017-02-27 19:27:16 UTC
Category: ---
Cloudforms Team: Azure
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0320 0 normal SHIPPED_LIVE Moderate: CFME 5.7.1 bug fixes and enhancement update 2017-02-28 00:13:26 UTC

Comment 2 CFME Bot 2017-01-09 18:00:51 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/0f4142ff5b86bdc72f4cc60cf3090868b3228718

commit 0f4142ff5b86bdc72f4cc60cf3090868b3228718
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Dec 6 10:10:10 2016 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Jan 9 12:58:01 2017 -0500

    Merge pull request #12947 from djberg96/provision_template
    
    Update Azure provision template to restrict VM names
    (cherry picked from commit 5f9094f3e2b9dd8fe5174e70bba36b51dade5982)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1402528

 .../miq_dialogs/miq_provision_azure_dialogs_template.yaml      | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Comment 3 Daniel Berger 2017-01-11 14:39:59 UTC
https://github.com/ManageIQ/manageiq/pull/12947

Comment 4 Jeff Teehan 2017-01-26 19:35:09 UTC
Does this bug feature require the new Armrest version as well.  I see some things working but some not.  For instance, it caps it at 15 chars just fine, but it accepts this 1111111 which should generate the message but doesn't

Comment 5 Daniel Berger 2017-02-01 16:46:46 UTC
Jeff, I didn't see anything in the docs that stated that it could not contain only numbers. However, I can tell by using the portal that restriction does exist, so I'll need to update the regex. Still, what I have gets us most of the way there.

Comment 6 Daniel Berger 2017-02-01 17:17:29 UTC
https://github.com/ManageIQ/manageiq/pull/13730

Comment 7 Jeff Teehan 2017-02-08 18:41:47 UTC
Please note this only addresses the azure provisioning dialogs and not the orchestration dialogs that are created by the orchestration templates themselvesm which may or may not included error checking.  Errors on the latter are now reported via Events and are easier to find.

For the implementation, the name error trapping is working as expected so I'm moving it to verified on 5.7.1.0.1

Comment 8 errata-xmlrpc 2017-02-27 19:27:16 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://rhn.redhat.com/errata/RHSA-2017-0320.html


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