Bug 1386920

Summary: Ordering a Hyper-V service catalog is failed with JSON error
Product: Red Hat CloudForms Management Engine Reporter: Saif Ali <saali>
Component: ProvidersAssignee: Bronagh Sorota <bsorota>
Status: CLOSED NOTABUG QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dajohnso, gblomqui, jfrey, jhardy, jocarter, myoder, obarenbo, saali
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: hyperv:service:catalog
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-21 18:57:23 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:
Attachments:
Description Flags
EVM Logs none

Description Saif Ali 2016-10-19 20:14:21 UTC
Created attachment 1212268 [details]
EVM Logs

Description of problem:
When I tried to deploy Hyper-V service catalog item, it failed with an error "Message: [JSON::ParserError]: A JSON text must at least contain two octets!" Looks like some parse error.

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Saif Ali 2016-10-25 18:49:15 UTC
The provisioning fail on  5.6.2.2 release as well.

Comment 5 Saif Ali 2016-10-27 19:17:44 UTC
Steps to reproduce the issue 

Here is what I'm doing to deploy this template from Hyper-V. I have Hyper-V environment added as a Infrastructure provider and a template available from Hyper-V.

I added this under service catalog with the below configuration

Catalog: SelfService
Dialog: VMware - CatalogItem
Provisioning Entry Point State Machine (NS/Cls/Inst): /Service/Provisioning/StateMachines/ServiceProvision_Template/CatalogItemInitialization

Above provisioning entry point comes from ManageIQ domain.

Comment 6 Bronagh Sorota 2016-11-02 15:03:48 UTC
Saif
Are you using the VMware CatalogItem or was that a typo?

Bronagh

Comment 7 Bronagh Sorota 2016-11-02 17:03:59 UTC
Hi Saif,

I noticed the following error in the logs:
"VMM cannot find the device or this device is not valid <snip> for a boot device. (Error ID: 23352, Detailed Error: ) <snip> Make sure you specify a valid device as a boot device."

There is a KB article on Microsoft's website that provides more information on this error:
https://support.microsoft.com/en-us/kb/2955362

It seems that the VM is created but first start up fails because the boot order is incorrectly configured. I recommend that the customer follows the steps defined in the above KB article to see if it resolves the issue.


Regards,
Bronagh

Comment 8 Bronagh Sorota 2016-11-07 15:26:04 UTC
Hi Josh,

Do you recommend this BZ be set to CLOSED/NOTABUG? 

Bronagh

Comment 9 Greg Blomquist 2016-11-21 18:57:23 UTC
Saif, please reopen if the recommendation in comment #7 does not solve the problem.