Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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: luciAssignee: Jan Pokorný [poki] <jpokorny>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: cfeist, cluster-maint, fdinitto, rmccabe, rsteiger, tlavigne
Target Milestone: rcKeywords: 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:
Description Flags
happens/expected screenshot comparison none

Description Jan Pokorný [poki] 2012-08-31 15:44:16 UTC
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')]

Comment 5 Jan Pokorný [poki] 2016-11-16 16:26:26 UTC
Tried hard, but cannot reproduce this bug anymore.

Comment 6 Jan Pokorný [poki] 2016-11-16 17:45:41 UTC
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

Comment 8 Jan Pokorný [poki] 2016-11-29 22:35:24 UTC
There was a bad instantiation of ClusterController.

Comment 16 errata-xmlrpc 2017-03-21 11:37:54 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.

https://rhn.redhat.com/errata/RHBA-2017-0766.html