Bug 1267545 - trace raised when provising from catalog with JSON parser error
Summary: trace raised when provising from catalog with JSON parser error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.6.0
Assignee: Daniel Berger
QA Contact: Shveta
URL:
Whiteboard: catalog:provision
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-30 11:30 UTC by Felix Dewaleyne
Modified: 2019-08-15 05:33 UTC (History)
9 users (show)

Fixed In Version: 5.6.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 14:59:58 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
trace.log (2.75 KB, text/plain)
2015-09-30 11:30 UTC, Felix Dewaleyne
no flags Details
cloning.patch (744 bytes, patch)
2015-09-30 11:33 UTC, Felix Dewaleyne
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Felix Dewaleyne 2015-09-30 11:30:25 UTC
Created attachment 1078599 [details]
trace.log

Description of problem:
During a deployment from catalog against an Hyper-V SP1 provider we get

MIQ(MiqProvisionMicrosoft#provision_error) [[JSON::ParserError]: A JSON text must at least contain two octets!] encountered during phase [start_clone_task]

(see trace.log for full trace)

Version-Release number of selected component (if applicable):
cfme-5.4.2.0-1.el6cf.x86_64

How reproducible:
on customer site, reproduced multiple times

Steps to Reproduce:
1. configure a catalog item to deply a vm by cloning
2. initiate the provision of the catalog item
3.

Actual results:
MIQ(MiqProvisionMicrosoft#provision_error) [[JSON::ParserError]: A JSON text must at least contain two octets!] encountered during phase [start_clone_task]

Expected results:
provision passes with no trace

Additional info:
- hyper V Sp1

Comment 2 Felix Dewaleyne 2015-09-30 11:33:22 UTC
Created attachment 1078600 [details]
cloning.patch

patch against cfme-5.4.2.0-1.el6cf.x86_64's /var/www/miq/vmdb/app/models/miq_provision_microsoft/cloning.rb provided to the customer by Nick Catling

Comment 6 Greg Blomquist 2016-01-27 23:35:51 UTC
The customer case is closed, can we close this BZ?

Comment 10 Daniel Berger 2016-04-04 13:55:47 UTC
https://github.com/ManageIQ/manageiq/pull/7688

Comment 11 Shveta 2016-04-18 23:01:04 UTC
Tried provisioning with a template that has space in its name as suggested by Greg B.

No error seen .
Verified in 5.6.0.1-beta2.20160413141124_e25ac0e

Comment 13 errata-xmlrpc 2016-06-29 14:59:58 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://access.redhat.com/errata/RHBA-2016:1348


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