Description of problem: =================================== found two cases in the provider api where there is a bad error message not to mention translation missing... === test errorWithBadUrl === curl -X POST -d '<provider><name>errorTest-i60j1</name><url>http://localhost:3002/apiiii</url><provider_type id="1"/><deltacloud_provider></deltacloud_provider></provider>' -H "Content-Type: application/xml" -H "Accept: application/xml" --insecure -u admin:password https://hp-sl390s-01.rhts.eng.bos.redhat.com:443/conductor/api/providers <errors> <error> <message>Url translation missing: en.activerecord.errors.models.provider.attributes.url.invalid_framework</message> </error> </errors> === test errorWithNoType === curl -X POST -d '<provider><name>errorTest-fc85d</name><url>http://localhost:3002/api</url><deltacloud_provider></deltacloud_provider></provider>' -H "Content-Type: application/xml" -H "Accept: application/xml" --insecure -u admin:password https://hp-sl390s-01.rhts.eng.bos.redhat.com:443/conductor/api/providers <errors> <error> <message>Url translation missing: en.activerecord.errors.models.provider.attributes.url.invalid_framework</message> </error> </errors> Version-Release number of selected component (if applicable): aeolus-conductor-0.13.0-0.20120813220011gitd23ae4c.fc16.noarch
This is problem with aeolus-conductor.spec.in file. There is missing config/locales/activerecord directory in yml= definition of what files to include in rpm.
Sent on list - https://lists.fedorahosted.org/pipermail/aeolus-devel/2012-August/012229.html
Pushed to master and 1.1: commit b83275c361f8b17ef7e32dae051bcc8aac8751ef Author: Petr Blaho <pblaho> Date: Tue Aug 21 14:18:41 2012 -0400 https://bugzilla.redhat.com/show_bug.cgi?id=848445 There was missing directory for translations in spec file. Now added. Signed-off-by: Tzu-Mainn Chen <tzumainn> (cherry picked from commit 1ace53b12d0026f8520186622da43fe19acf70df)
in build aeolus-conductor-0.13.3-1.el6cf
better in CFCE v1.1 2012-09-14.5 puddle... missing type specifies type is not valid which is not really correct, will open a separate bug to track it [root@hp-bl685cg6-01 ~]# curl -X POST -d '<provider><name>errorTest-i60j1</name><url>http://localhost:3002/apiiii</url><provider_type id="1"/><deltacloud_provider></deltacloud_provider></provider>' -H "Content-Type: application/xml" -H "Accept: application/xml" --insecure -u admin:password https://127.0.0.1:443/conductor/api/providers <errors> <error> <message>Cloud Resource Provider URL Must be a valid provider uri</message> </error> </errors> [root@hp-bl685cg6-01 ~]# curl -X POST -d '<provider><name>errorTest-fc85d</name><url>http://localhost:3002/api</url><deltacloud_provider></deltacloud_provider></provider>' -H "Content-Type: application/xml" -H "Accept: application/xml" --insecure -u admin:password https://127.0.0.1:443/conductor/api/providers <errors> <error> <message>Cloud Resource Provider Type can't be blank</message> </error> <error> <message>Provider type does not exist</message> </error> </errors>
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