Bug 807342

Summary: confusing header error w/ insufficient permission to launch
Product: [Retired] CloudForms Cloud Engine Reporter: dgao
Component: aeolus-conductorAssignee: Tzu-Mainn Chen <tzumainn>
Status: CLOSED ERRATA QA Contact: pushpesh sharma <psharma>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, athomas, bbandari, cpelland, deltacloud-maint, psharma, ssachdev, tzumainn, whayutin
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 809894 (view as bug list) Environment:
Last Closed: 2012-05-15 22:58:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
deploy_fail
none
deploy_fail_2 none

Description dgao 2012-03-27 14:49:09 UTC
Created attachment 573087 [details]
deploy_fail

Application launch failed!
  
Header
Pool must be enabled

when trying to launch an instance that I don't have access to.

Comment 1 wes hayutin 2012-03-28 14:00:45 UTC
see screenshot in https://bugzilla.redhat.com/show_bug.cgi?id=807664

Comment 2 Tzu-Mainn Chen 2012-03-28 14:30:46 UTC
Patch created (adding in missing src/config/locales/defaults directory to the .spec file):

http://post-office.corp.redhat.com/mailman/private/deltacloud-internal/2012-March/msg00135.html

Comment 3 Tzu-Mainn Chen 2012-03-28 14:45:39 UTC
Added additional patch for master branch (previous is for 1.0-product branch):

https://fedorahosted.org/pipermail/aeolus-devel/2012-March/009726.html

Comment 4 Tzu-Mainn Chen 2012-03-28 15:03:43 UTC
Patches submitted.

This one is for 1.0-product:

commit f8bf08b434d1f910a0698701931524bf5abb775e
BZ 807342 added src/config/locales/defaults


And this one is for master:

commit d9dda34bcc94fd99cc6289c0ac5dd4006901a92c
BZ 807342 added src/confic/locales/defaults

The product patch is what should be applied for release.

Comment 6 wes hayutin 2012-03-30 18:55:44 UTC
assigning to dgao

Comment 7 dgao 2012-04-02 20:49:34 UTC
Created attachment 574625 [details]
deploy_fail_2

Header is still confusing after patch.

Comment 8 Tzu-Mainn Chen 2012-04-03 03:49:58 UTC
Would it be possible to open a new ticket for this?  The fundamental issue here seems to be different, and I'm guessing the steps to reproduce are different as well, as the previous error was a permissions error and this appears to be a hardware profile issue.

Or if it's policy to continue with the same ticket, would it be possible to at least specify the steps to reproduce?

Comment 9 dgao 2012-04-03 14:55:17 UTC
Actually this is still a permission issue. I simply created a user with no permission to access the hardware profile or anything for that matter. Upon launching the instance, I've bumped into the issue captured by the screenshot.

Expected result: "Your account does not have sufficient permission to access the hardware profile needed to launch this instance."

Comment 10 Tzu-Mainn Chen 2012-04-03 16:10:32 UTC
Patch created:

https://fedorahosted.org/pipermail/aeolus-devel/2012-April/009830.html

Comment 11 pushpesh sharma 2012-04-05 06:14:18 UTC
A  user with cloud_image_admin role tries to launch the instance, standard error message is displayed "You have insufficient privileges to perform the selected action."

I feel above observation is sufficient to mark the bug as verified.

Comment 12 errata-xmlrpc 2012-05-15 22:58:52 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