Bug 821341
Summary: | Error messages needs to be in synced in UI and CLI | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] CloudForms Cloud Engine | Reporter: | Aziza Karol <akarol> | ||||||
Component: | rubygem-aeolus-cli | Assignee: | Mike Orazi <morazi> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Rehana <aeolus-qa-list> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 1.0.0 | CC: | asettle, athomas, dajohnso, jguiditt, mitch, morazi, mtaylor, psharma, redakkan, slinaber | ||||||
Target Milestone: | beta3 | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | rubygem-aeolus-cli-0.7.3-1.el6cf | Doc Type: | Bug Fix | ||||||
Doc Text: |
Web user interface and command line interface messages were not synchronized for image building. This bug fix synchronizes web user interface and command line interface error messages. Error messages display the same content for both web user interface and command line interface.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-12-04 15:07:47 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: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Aziza Karol
2012-05-14 07:48:56 UTC
Ideally the map that makes the responses more readable can be in the shared code used between both the cli and conductor. Is there a commit/pull request for this? master has commits 3c21646 e882607 (In reply to comment #3) > master has commits 3c21646 e882607 Actually those commits are from 1.1 branch. Retested, Observed that still it is displaying different errors on CLI and GUI On cli aeolus-image build --target mock --template image.xml -E default ERROR: The given Template does not conform to the TDL Schema, see below for specific details: - Line: 1 => Expecting element template, got xml ON conductor Premature end of data in tag xml line 1 on rpm -qa |grep aeolus aeolus-conductor-doc-0.13.14-1.el6cf.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-all-0.13.14-1.el6cf.noarch aeolus-conductor-0.13.14-1.el6cf.noarch rubygem-aeolus-cli-0.7.2-1.el6cf.noarch aeolus-configure-2.8.7-1.el6cf.noarch aeolus-conductor-daemons-0.13.14-1.el6cf.noarch --XML file used -------- <xml version="1.0"?> <template> <name>Fedora 15</name> <description>desc</description> <os> <rootpw>password</rootpw> <name>Fedora</name> <arch>x86_64</arch> <version>15</version> <install type="url"> <url>http://download.fedoraproject.org/pub/fedora/linux/releases/15/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> commit 8d134d24fa1e9bf45339323c088ef94239e9ef27 Author: Jason Guiditta <jguiditt> Date: Wed Sep 26 09:24:12 2012 -0400 BZ821341: Error messages needs to be in synced in UI and CLI https://bugzilla.redhat.com/show_bug.cgi?id=821341 Nokogiri behave differently if it is initialized with strict parsing config, as we were already doing in the TemplateXML object initializer. ET is not flipping this to ON_QA, so I am doing it manually. [root@dhcp201-113 ~]# aeolus-image build --target mock --template image_bad_xml.xml --environment default- Line: 1 => Extra content at the end of the document [root@dhcp201-113 ~]# vim image_bad_xml.xml [root@dhcp201-113 ~]# aeolus-image build --target mock --template image_bad_xml.xml --environment default - Line: 22 => Premature end of data in tag xml line 1 [root@dhcp201-113 ~]# Web-UI and CLI messages seems to be insync for image building. Verified on : [root@dhcp201-113 ~]# rpm -qa|grep aeolus aeolus-all-0.13.18-1.el6cf.noarch aeolus-conductor-0.13.18-1.el6cf.noarch rubygem-aeolus-cli-0.7.4-1.el6cf.noarch aeolus-configure-2.8.9-1.el6cf.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-conductor-doc-0.13.18-1.el6cf.noarch aeolus-conductor-daemons-0.13.18-1.el6cf.noarch Created attachment 624639 [details]
xml_err_1
Created attachment 624640 [details]
xml_err_2
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. http://rhn.redhat.com/errata/RHEA-2012-1516.html |