Project

General

Profile

Bug #57951

Fix upgrade from 11.1-U6 to 11.2-RC2

Added by Joe Maloney almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Seen in:
Severity:
High
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

The webui will not start after upgrade from 11.1-U6 to 11.2-RC2 specifically. We have confirmed this issue with both VMware, and FreeNAS certified hardware. After upgrade nginx seems to start but perhaps because something is not being loaded by the middleware we get:

Connecting to NAS... Make sure the NAS system is powered on and connected to the network.

History

#1 Updated by Joe Maloney almost 2 years ago

  • Subject changed from 11.1-U6 to freenas rc2 upgrade breaks middleware to 11.1-U6 to freenas 11.2-RC2 upgrade breaks middleware
  • Private changed from No to Yes

#2 Updated by Joe Maloney almost 2 years ago

After logging in the follow traceback will immediately appear. Adding to this ticket in case it is related, and helpful. If I need to file a separate ticket let me know.

Environment:

Software Version: FreeNAS-11.2-RC2 (05a62b5fa)
Request Method: GET
Request URL: http://10.20.20.139/legacy/

Traceback:
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  42.             response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.             response = self._get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  178.             response = middleware_method(request, callback, callback_args, callback_kwargs)
File "./freenasUI/freeadmin/middleware.py" in process_view
  163.         return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  23.                 return view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  57.         response = view_func(request, *args, **kwargs)
File "./freenasUI/freeadmin/site.py" in adminInterface
  240.             'menu_hook': appPool.get_top_menu(request),
File "./freenasUI/freeadmin/apppool.py" in get_top_menu
  45.         arr = self._get_array("top_menu", None, request)
File "./freenasUI/freeadmin/apppool.py" in _get_array
  35.                     method(arr, func(*args, **kwargs))
File "./freenasUI/vcp/hook.py" in top_menu
  38.         if vcp_enabled():
File "./freenasUI/vcp/utils.py" in vcp_enabled
  33.     with client as c:
File "./freenasUI/middleware/client.py" in __enter__
  20.         local.client = Client()
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in __init__
  320.             raise e
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in __init__
  313.             self._ws.connect()
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in connect
  170.                 rv = super(WSClient, self).connect()
File "/usr/local/lib/python3.6/site-packages/ws4py/client/__init__.py" in connect
  208.         self.sock.connect(self.bind_addr)

Exception Type: FileNotFoundError at /legacy/
Exception Value: [Errno 2] No such file or directory

#3 Updated by Dru Lavigne almost 2 years ago

  • Target version changed from Backlog to 11.2-RC2

#5 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from 11.1-U6 to freenas 11.2-RC2 upgrade breaks middleware to Fix upgrades from 11.1-U6 to 11.2-RC2
  • Description updated (diff)
  • Status changed from Blocks Until Resolved to Ready for Testing
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#6 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Fix upgrades from 11.1-U6 to 11.2-RC2 to Fix upgrade from 11.1-U6 to 11.2-RC2
  • Private changed from Yes to No

#7 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Ready for Testing to Done
  • Needs QA changed from Yes to No

Also available in: Atom PDF