Bug 853462
| Summary: | When accessing index page without prior logging in after luci fresh start, side panel (menu for the authorized) displayed unexpectedly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Pokorný [poki] <jpokorny> | ||||
| Component: | luci | Assignee: | Jan Pokorný [poki] <jpokorny> | ||||
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 6.3 | CC: | cfeist, cluster-maint, fdinitto, rmccabe, rsteiger, tlavigne | ||||
| Target Milestone: | rc | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | luci-0.26.0-92.el6 | Doc Type: | No Doc Update | ||||
| Doc Text: |
undefined
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-03-21 11:37:54 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Tried hard, but cannot reproduce this bug anymore. Huh, just managed to reproduce this, with reproducer as simple as: 1. stay at login page, perhaps came_from backlink to homebase is needed 2. restart luci 3. hit reload in the web browser There was a bad instantiation of ClusterController. 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. https://rhn.redhat.com/errata/RHBA-2017-0766.html |
Created attachment 608551 [details] happens/expected screenshot comparison 1. luci installed+started, user logged into it + keeping it opened in the web browser (within active session timeframe) 2. install another version (perhaps even plain reinstall will do) 3. start the newly installed version (if not automatically) 4. try to continue in the previously opened session in the web browser Happens: Login form with some links normally available only when logged in (Homebase, Manage Clusters). Both links, when clicked, only lead back to login form as the linked content requires authorization. Expected: Login form as usual (i.e., no additional links). See attached happens/expected screenshots comparison. Sidenote: The other part of ungraceful handling of package update while trying to work with luci continuously is a backtrace in luci.log. This (probably) arises from the fact the old SSL connection is no longer in use, something what the web browser (specifically, Firefox) does not like either (new round of allowing certificate exception): Exception happened during processing of request from ('192.168.122.1', 50932) Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line 1068, in process_request_in_thread self.finish_request(request, client_address) File "/usr/lib64/python2.6/SocketServer.py", line 322, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib64/python2.6/SocketServer.py", line 617, in __init__ self.handle() File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line 442, in handle BaseHTTPRequestHandler.handle(self) File "/usr/lib64/python2.6/BaseHTTPServer.py", line 329, in handle self.handle_one_request() File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line 431, in handle_one_request self.raw_requestline = self.rfile.readline() File "/usr/lib64/python2.6/socket.py", line 450, in readline data = self._sock.recv(self._rbufsize) Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert bad certificate')]