Hide Forgot
Description of problem: ======================= At the redhat access UI, The indication that the user is already signed in to the redhat customer portal does not always work. I see: Please sign in to the Red Hat Customer Portal to access this information. Sign In dispite the fact that I'm logged in the redhat customer portal. refreshing the page did not help to fix this. Version-Release number of selected component (if applicable): ============================================================= Puddle 2013-10-15.1 redhat-access-plugin-openstack-1.2.0-5.el6ost.noarch How reproducible: ================= 3/3 It worked ok from time to time, but did not work in most cases that I've tried. Steps to Reproduce: =================== 1. Install OpenStack via packstack. 2. Browse to the redhat access tab. 3. Click sign in. 4. Enter your credentials and login to the redhat customer portal 5. Go back to the redhat access tab. 6. Refresh the page. Actual results: =============== "Please sign in to the Red Hat Customer Portal to access this information. Sign In" Expected results: ================= Indication that the user is already logged in (with the user name displayed).
Hi Nir, I'm also seeing this behavior with the actual customer portal currently as well. I'm thinking this is a problem with the portal and not necessarily the plugin. I can see in the cookie payload that the cookie is there, but the JSON callback response is incorrect: jQuery171032164081605151296_1382366619110({ authorized: false, internal: false, login:"", user_id:"", account_id:"", account_number:"", lang:"en", lang_err_msg:"The page you have selected is not yet available in English. We are working to make sure all content is available in English, but in order to display the page we have switched your language to English.", hello:"Hello,", description_placeholder:"Enter a description", name:" " }) Checking with the portal team on this now. The plugin is doing the appropriate thing given the data it has received.
Hi Dan, Thank you for the this input. waiting for updates about this.
Hi Nir, I've found a few parts of the code that could be improved to better handle the situation where Strata does not return a good response. Still investigating with them on the root issue though. I have the updated code ready and will kick off a brew build once all the ACKs are in place.
Verified NVR: redhat-access-plugin-openstack-4.0.0-0.el6ost.noarch Dan Wrote: Hi Nir, I've made it so the search box + button are 'disabled' if the user is not logged in to the customer portal. I have also removed the requirement of refreshing the page to determine if the user is logged in. Each time the browser window gets the 'focus' event, the user's status is tested. I've tested this and it works exactly as described.
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-2013-1859.html