Bug 784557 - "Rebuild all" action fails if there are no provider accounts
Summary: "Rebuild all" action fails if there are no provider accounts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
Assignee: Jan Provaznik
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-25 11:07 UTC by Jan Provaznik
Modified: 2012-05-15 22:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 22:23:46 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:0583 0 normal SHIPPED_LIVE new packages: aeolus-conductor 2012-05-15 22:31:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.