Bug 1344103
| Summary: | Service : Azure service catalog request fails with error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Shveta <sshveta> | ||||
| Component: | Provisioning | Assignee: | Bill Wei <bilwei> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shveta <sshveta> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 5.6.0 | CC: | bilwei, jhardy, jprause, obarenbo, simaishi | ||||
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||
| Target Release: | 5.7.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | service:azure | ||||||
| Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1353243 1367176 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-01-11 20:00:08 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: | 1353243, 1367176 | ||||||
| Attachments: |
|
||||||
Bill - Found the following error in the attached log:
[Azure::Armrest::BadRequestException]: Windows computer name cannot be more than 15 characters long, be entirely numeric, or contain the following characters: ` ~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \ | ; : . ' " , < > / ?.')]
If applicable we enforce some of these rules here:
https://github.com/ManageIQ/manageiq/blob/master/app/models/miq_provision/helper.rb
I think I identified the problem and is working on a fix. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/514037fc199ae7ff995fc5e295726b6fb50a7614 commit 514037fc199ae7ff995fc5e295726b6fb50a7614 Author: Bill Wei <bilwei> AuthorDate: Wed Jun 15 11:10:34 2016 -0400 Commit: Bill Wei <bilwei> CommitDate: Wed Jun 15 12:26:10 2016 -0400 Use hostname for Azure computerName option https://bugzilla.redhat.com/show_bug.cgi?id=1344103 .../manageiq/providers/azure/cloud_manager/provision/cloning.rb | 2 +- app/models/miq_provision/options_helper.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) FIxed. Verified in 5.7.0.0.20160906172503_12f65cb |
Created attachment 1166068 [details] automation logs Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a service catalog for Azure . 2. Fill all the fields .Submit request . It fails 3. Same provisioning request works from - Cloud - Instance - Provision Instance. Logs attached Actual results: Expected results: Additional info: Build : 5.6.0.10-rc2.1.20160607103248_d06c141