Bug 782242 - aeolus conductor does not redirect to original URL if unauthenticated
Summary: aeolus conductor does not redirect to original URL if unauthenticated
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: Ken Keiter
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-16 22:19 UTC by wes hayutin
Modified: 2013-08-06 01:06 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 21:39:45 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 wes hayutin 2012-01-16 22:19:37 UTC
Description of problem:

1. make sure you are not authenticated to conductor
2. paste in an URL ie..https://qeblade32.rhq.lab.eng.bos.redhat.com/conductor/images/073e6788-ed03-4200-a762-d0237e1fa8ae   or something like it..

3. you are redirected to the login... 
4. after logging in you should be redirected to the url in step #2

actual results.. 

land on default page..

booo!


[root@qeblade32 builders]# rpm -qa | grep aeolus
aeolus-conductor-doc-0.8.0-5.el6.noarch
rubygem-aeolus-cli-0.3.0-3.el6.noarch
rubygem-aeolus-image-0.3.0-2.el6.noarch
aeolus-all-0.8.0-5.el6.noarch
aeolus-configure-2.5.0-4.el6.noarch
aeolus-conductor-0.8.0-5.el6.noarch
aeolus-conductor-daemons-0.8.0-5.el6.noarch
[root@qeblade32 builders]#

Comment 1 Ken Keiter 2012-02-02 20:16:51 UTC
Fixed the issue by storing the original destination in session. Setup redirect
for both JS-enabled and non-js-enabled clients.

I sent a patch to deltacloud-internal list with the subject: [DELTACLOUD-INTERNAL] [PATCH] Fixed login redirect-to-original-destination issue (BZ 782242).

Comment 2 Matt Wagner 2012-02-03 19:20:47 UTC
Pushed:

commit a770e8028ef0304fee0f0aa1a3e79b8b863bbade
Author: Kenneth Keiter <ken>
Date:   Thu Feb 2 12:13:27 2012 -0800

    Fixed login redirect-to-original-destination issue (BZ 782242).
    
    Signed-off-by: Matt Wagner <matt.wagner>

Comment 3 wes hayutin 2012-02-10 22:04:52 UTC
woot.. works in

[root@qeblade32 yum.repos.d]# rpm -qa | grep aeolus
aeolus-conductor-daemons-0.8.0-25.el6.noarch
aeolus-conductor-doc-0.8.0-25.el6.noarch
aeolus-configure-2.5.0-12.el6.noarch
rubygem-aeolus-image-0.3.0-7.el6.noarch
aeolus-conductor-0.8.0-25.el6.noarch
rubygem-aeolus-cli-0.3.0-8.el6.noarch
aeolus-all-0.8.0-25.el6.noarch
[root@qeblade32 yum.repos.d]#

Comment 4 errata-xmlrpc 2012-05-15 21:39:45 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.