Bug 761139

Summary: new image xml validator should force rootpw element
Product: [Retired] CloudForms Cloud Engine Reporter: Dave Johnson <dajohnso>
Component: aeolus-conductorAssignee: Jan Provaznik <jprovazn>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, deltacloud-maint, jprovazn, slinaber, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 21:22:35 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:

Description Dave Johnson 2011-12-07 18:45:30 UTC
Description of problem:
===================================
Testing the image validator, I noticed it does check for certain elements failing the xml with an appropriate error stating that the certain element is missing.  

However, it is not checking for the rootpw element which is required in oz templates which will not build without it.

Comment 1 wes hayutin 2011-12-07 19:29:58 UTC
maybe just a warning.. ec2 certainly does not require a <passwd>

Comment 2 Dave Johnson 2011-12-07 21:01:22 UTC
a related issue due to this issue...  bug 761200

Comment 3 Jan Provaznik 2011-12-12 15:37:46 UTC
it turned out that rootpw is now reuired parameter in imagefactory for all targets, so I made this param required in relaxng schema -> now it's not possible to create template w/o roopw param.

commit ea32f345a3bfdee13d0f0aace0cec13f16ea093a

Comment 4 Shveta 2012-01-03 06:49:06 UTC
Building image with a template without rootpw gives internal server error .
Not fixed. while building it from Ui gives error : "rootpw required"

[root@dell-pe1950-03 ~]# aeolus-image build --target ec2 --template fedora15.tpl 
ERROR:   => Failed.  Response code = 500.  Response message = Internal Server Error.

Comment 5 Jan Provaznik 2012-01-09 15:22:00 UTC
patch for cli pushed in commit 0a37767d420060a3ef37e4ede2b760826416f3de

Comment 6 Steve Linabery 2012-01-10 18:05:19 UTC
ea32f345a3bfdee13d0f0aace0cec13f16ea093a in aeolus-conductor-0.8.0-2.el6.src.rpm

Comment 7 Dave Johnson 2012-01-11 21:56:04 UTC
good 2 go in aeolus-conductor-0.8.0-5.el6.noarch

Comment 8 wes hayutin 2012-01-12 16:18:00 UTC
bugs in verified or on_qa moving off tracker

Comment 10 errata-xmlrpc 2012-05-15 21:22:35 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.

http://rhn.redhat.com/errata/RHEA-2012-0583.html