Bug 784557

Summary: "Rebuild all" action fails if there are no provider accounts
Product: [Retired] CloudForms Cloud Engine Reporter: Jan Provaznik <jprovazn>
Component: aeolus-conductorAssignee: Jan Provaznik <jprovazn>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, athomas, deltacloud-maint, 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 22:23:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Provaznik 2012-01-25 11:07:55 UTC
Steps to Reproduce:
1. have an existing image in warehouse
2. remove all provider accounts in conductor
3. go to image show page and click "rebuild all"

"Failed. Response code = 400. Response message = Bad Request." flash error is displayed.

Comment 1 wes hayutin 2012-01-25 13:50:14 UTC
Is the correct behavior a better error message?

Comment 2 Jan Provaznik 2012-01-25 14:34:03 UTC
Sorry, forgot to write it to description - yes, I thought that more descriptive error message should be fine.

Comment 3 Jan Provaznik 2012-02-01 13:54:52 UTC
Patch sent: https://fedorahosted.org/pipermail/aeolus-devel/2012-February/008543.html

An error message is already displayed if there are no provider accounts (BZ 782550), so this patch only ignores build request if providers are missing.

Comment 4 Jan Provaznik 2012-02-06 15:55:32 UTC
commit c4d02a96bdaf196e042c52717e1b31121ed10c53

Comment 5 wes hayutin 2012-02-24 04:51:19 UTC
  Images cannot be built, as no provider accounts are currently enabled.



[root@qeblade31 yum.repos.d]# rpm -qa | grep aeolus
aeolus-conductor-daemons-0.8.0-35.el6.noarch
rubygem-aeolus-image-0.3.0-9.el6.noarch
rubygem-aeolus-cli-0.3.0-10.el6.noarch
aeolus-all-0.8.0-35.el6.noarch
aeolus-conductor-0.8.0-35.el6.noarch
aeolus-conductor-doc-0.8.0-35.el6.noarch
aeolus-configure-2.5.0-15.el6.noarch
[root@qeblade31 yum.repos.d]#

Comment 6 errata-xmlrpc 2012-05-15 22:23:46 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