Bug 804543
Summary: | Building image from cli with a template without rootpw fails | |||
---|---|---|---|---|
Product: | [Retired] CloudForms Cloud Engine | Reporter: | Shveta <ssachdev> | |
Component: | rubygem-aeolus-cli | Assignee: | Maros Zatko <mzatko> | |
Status: | CLOSED ERRATA | QA Contact: | Rehana <aeolus-qa-list> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 1.0.0 | CC: | akarol, cpelland, deltacloud-maint, hbrock, juwu, morazi, mtaylor, psharma, rnelson, slinaber, ssachdev, whayutin | |
Target Milestone: | rc | Keywords: | Rebase, Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Previously without the rootpw element set in the component outline schema, image builds fail with the error "Service Temporarily Unavailable". This bug fix updates the error message to give users more descriptive feedback.
|
Story Points: | --- | |
Clone Of: | ||||
: | 826233 (view as bug list) | Environment: | ||
Last Closed: | 2012-12-04 14:59:10 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 826233 |
Description
Shveta
2012-03-19 08:35:24 UTC
Regression of https://bugzilla.redhat.com/show_bug.cgi?id=761200 https://bugzilla.redhat.com/show_bug.cgi?id=761139 We should fix this, but we are out of time for 1.0. Pushing to 1.0.z. The error message should be fixed for z stream Conductor commit 290dde45cfba2254aafd5c59b83f66e5d00f08ca Author: Maros Zatko <mzatko> Date: Tue May 22 21:22:12 2012 +0200 BZ804543: template relaxng: make rootpw mandatory rootpw tag is mandatory in imagefactory's xsd file Aeolus CLI commit 396a329b43764afa967778c33c71e9cab3843798 Author: Martyn Taylor <mtaylor> Date: Wed May 23 19:13:58 2012 +0100 BZ804543 Removed Optional Element for rootpw in tdl *** Bug 830989 has been marked as a duplicate of this bug. *** As suggested in Comment#4,Image build fails with proper error message if rootpwd is not supplied in tdl file and succeed if the rootpasswd is supplied. [root@dhcp201-113 ~]# aeolus-image build --target ec2 --template fedora15.tpl -E default ERROR: The given Template does not conform to the TDL Schema, see below for specific details: - Line: 5 => Expecting an element rootpw, got nothing - Line: 5 => Invalid sequence in interleave - Line: 5 => Element os failed to validate content [root@dhcp201-113 ~]# vim fedora15.tpl [root@dhcp201-113 ~]# aeolus-image build --target ec2 --template fedora15.tpl -E default Image Build Target Image Target Status ------------------------------------ ------------------------------------ ------------------------------------ ------ -------- 5a734cd8-03d0-11e2-a1fa-2c27d73906e5 646cda8e-09c6-41ff-9c6f-81ffcd7b83b1 8d590d50-0d62-42fa-a241-c8bfeb0e8b4b ec2 BUILDING Verified on :- [root@dhcp201-113 ~]# rpm -qa|grep aeolus rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-all-0.13.8-1.el6cf.noarch aeolus-conductor-0.13.8-1.el6cf.noarch rubygem-aeolus-cli-0.7.1-1.el6cf.noarch aeolus-configure-2.8.6-1.el6cf.noarch aeolus-conductor-daemons-0.13.8-1.el6cf.noarch aeolus-conductor-doc-0.13.8-1.el6cf.noarch 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 |