| Summary: | aeolus-image should return a more user friendly error if template xml is not parsed. | ||
|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | wes hayutin <whayutin> |
| Component: | rubygem-aeolus-image | Assignee: | Martyn Taylor <mtaylor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.3.1 | CC: | akarol, dajohnso, morazi, ssachdev |
| Target Milestone: | beta | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
wes hayutin
2011-07-11 15:08:07 UTC
commit 26203d19fc95a43ad2f5989d4276393f0e1b6b3d
Author: Martyn Taylor <mtaylor>
Date: Wed Jul 13 13:01:53 2011 +0100
BZ#720406 Added validate xml against template schema check
Template validation check done.
[root@hp-bl480c-01 templates]# aeolus-image build --target rhevm --template fedora.tpl
ERROR: The given Template does not conform to the TDL Schema, see below for specific details:
- Element template has extra content: template
Following is the template used:
verified by removing some slashes from the template
<?xml version="1.0"?>
<template>
<name>shveta_vmware</name>
<description>desc</description>
<os>
<name>Fedora</name>
<arch>x86_64</arch>
<version>14</version>
<install type="url">
<url>http://download.fedoraproject.org/pub/fedora/linux/releases/14/Fedora/x86_64/os/</url>
</install>
</os>
<repositories>
<repository name="custom">
<url>http://repos.fedorapeople.org/repos/aeolus/demo/webapp/</url>
<signed>false</signed>
</repository>
</repositories>
<template>
[root@hp-bl480c-01 templates]# rpm -qa | grep aeolus
aeolus-conductor-doc-0.3.0-3.el6.noarch
aeolus-conductor-0.3.0-3.el6.noarch
rubygem-aeolus-image-0.0.1-3.el6.noarch
aeolus-all-0.3.0-2.el6.noarch
aeolus-conductor-daemons-0.3.0-3.el6.noarch
aeolus-configure-2.0.1-2.el6.noarch
removing from tracker release pending... release pending... release pending.. 2 perm close closing out old bugs |