Bug 705113 - YAML error during conversion
Summary: YAML error during conversion
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-v2v
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Matthew Booth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-16 17:12 UTC by Matthew Booth
Modified: 2011-06-15 18:35 UTC (History)
3 users (show)

Fixed In Version: virt-v2v-0.8.1-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-15 18:35:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthew Booth 2011-05-16 17:12:05 UTC
Description of problem:
Conversion fails with the following error:

FATAL: Error parsing metadata: YAML Error: Invalid element in map#012   Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT#012   Line: 3#012   Document: 1#012 at /usr/share/perl5/YAML.pm line 36

Version-Release number of selected component (if applicable):
virt-v2v-0.8.1-1.fc14

Comment 1 Matthew Booth 2011-05-16 17:15:38 UTC
It turns out that perl's YAML module can't reliably parse YAML produced by ruby. However, YAML::Syck and YAML::Tiny both can. virt-p2v-server uses YAML::Any, which actually uses these other modules by preference if they are installed, so the workaround is to install either of these modules manually.

The virt-v2v package requires perl(YAML::Any), which is only provided by perl-YAML (which doesn't work). As not all modules work, virt-p2v-server should pick a specific alternative module and require it explicitly.

Comment 2 Fedora Update System 2011-05-17 09:40:08 UTC
virt-v2v-0.8.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/virt-v2v-0.8.1-2.fc14

Comment 3 Fedora Update System 2011-05-17 20:57:23 UTC
Package virt-v2v-0.8.1-2.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-v2v-0.8.1-2.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/virt-v2v-0.8.1-2.fc14
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-06-15 18:35:35 UTC
virt-v2v-0.8.1-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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