Created attachment 571313 [details] provider Description of problem: I got this error "Failed. Response code = 500. Response message = Internal Server Error" when i tried to do a "push all" operation from conductor after changing the provider name from "rhevm-default" to "rhevm-default_rehana" Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Login to aeolus 2.Created three provider accounts(rhevm,vsphere,ec2) 3.Changed the default provider name of rhevm from "rhevm-default" to "rhevm-default_rehana"(pfa:provider.png) 3.Build image for two providers i.e for rhevm and vsphere from CLI 4.Clicked on "Push all" button from conductor Actual results: 1. On click of "Push all" button ,in conductor it displayed the below error "Failed. Response code = 500. Response message = Internal Server Error" (pfa: UI.png, rails.log) 2. On click of 'push' button it displayed the appropriate error message "Unable to Upload Provider Image" Expected results: So i feel either changing default provider name should be disabled(if its not allowed to change the provider name) or the error should be changed to user understandable form. Additional info: rpm -qa | grep aeolus aeolus-configure-2.5.0-18.el6.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch rubygem-aeolus-cli-0.3.0-14.el6.noarch aeolus-conductor-0.8.0-43.el6.noarch aeolus-conductor-doc-0.8.0-43.el6.noarch aeolus-conductor-daemons-0.8.0-43.el6.noarch aeolus-all-0.8.0-43.el6.noarch
Created attachment 571314 [details] UI
Created attachment 571315 [details] rail log
imagefactory log: 2012-03-20 07:12:54,557 ERROR imgfac.rest.imagefactory thread(worker 6) Message: 'template' must be a UUID, URL, XML string or XML document path... Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/imgfac/rest/imagefactory.py", line 191, in push_image job = BuildDispatcher().push_image_to_providers(image_id, build_id, (provider, ), credentials)[0] File "/usr/lib/python2.6/site-packages/imgfac/BuildDispatcher.py", line 83, in push_image_to_providers job = job_cls(template, target, image_id, build_id, *args, **kwargs) File "/usr/lib/python2.6/site-packages/imgfac/BuildJob.py", line 49, in __init__ self.template = template if isinstance(template, Template) else Template(template) File "/usr/lib/python2.6/site-packages/imgfac/Template.py", line 79, in __init__ raise ValueError("'template' must be a UUID, URL, XML string or XML document path...") ValueError: 'template' must be a UUID, URL, XML string or XML document path... 2012-03-20 07:12:54,573 ERROR imgfac.rest.imagefactory thread(worker 6) Message: HTTP Response 500 Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/imgfac/rest/imagefactory.py", line 212, in create_provider_image return push_image(image_id, build_id, target_image_id) File "/usr/lib/python2.6/site-packages/imgfac/rest/imagefactory.py", line 60, in decorated_function return f(*args, **kwargs) File "/usr/lib/python2.6/site-packages/imgfac/rest/imagefactory.py", line 202, in push_image raise HTTPResponse(status=500, output=e) HTTPResponse: HTTP Response 500
*** Bug 845594 has been marked as a duplicate of this bug. ***
It looks like we should address this by not allowing the provider name to change.
Not allowing the provider name to be changed is a temporary hack, to prevent users from triggering the bug. Making that change is being tracked in #847798 This bug exists to track the real solution, which involved redesigning the way that provider information is stored and passed to components.
This should be addressed as a byproduct of tim integration so I'm closing this as wont_fix in the current stream.