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
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.
https://github.com/ManageIQ/manageiq/pull/9229
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(-)
https://github.com/ManageIQ/manageiq/pull/7620
FIxed. Verified in 5.7.0.0.20160906172503_12f65cb