Trying to Edit the Application Blueprint XMl for a Blueprint with deleted images resulted in an error display message showing:
"Missing template deployables/show with {:handlers=>[:builder, :rjs, :haml, :rhtml, :erb, :rxml], :locale=>[:en, :en], :formats=>[:json, :js, "*/*"]} in view paths "/usr/share/aeolus-conductor/app/views".
This fix allows images to be deleted without affecting Application Blueprints and the error no longer appears when editing the Application Blueprint XML.
Created attachment 581555[details]
err
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. This is with reference to https://bugzilla.redhat.com/show_bug.cgi?id=818122
2. Built an image , created application blueprint
3. Deleted image , Catalog -- Application BP and edit xml shows this header message :
"Missing template deployables/show with {:handlers=>[:builder, :rjs, :haml, :rhtml, :erb, :rxml], :locale=>[:en, :en], :formats=>[:json, :js, "*/*"]} in view paths "/usr/share/aeolus-conductor/app/views" "
Actual results:
Expected results:
Additional info:
rpm -qa|grep aeolus
aeolus-conductor-0.8.13-1.el6_2.noarch
aeolus-configure-2.5.3-1.el6.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch
rubygem-aeolus-cli-0.3.1-1.el6.noarch
aeolus-all-0.8.13-1.el6_2.noarch
aeolus-conductor-doc-0.8.13-1.el6_2.noarch
aeolus-conductor-daemons-0.8.13-1.el6_2.noarch
Created attachment 581610[details]
ss
hrm.. that is odd..
If the image id is not valid, the view xml button for an application blueprint should turn black, and be marked invalid.
When I walk through the recreate:
1. create image
2. create app blueprint
3. delete image
4. revisit app blueprint
I get the message in the screenshot.
Is there something else in the recreate that I am not hitting?
Are you using multiple browswers?
Steps to recreate :
1) Create Image
2) Create App BP
3) delete Image
4) revisit app BP .. leave the page for 2 mins .. after two mins or so click
on Edit Xml .
You will see the error
This is reproduced with single browser FF
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