Appliances - Can't add remote appliances - RockStor 3.8-11.07

Hi All, First Play with RockStor…

I’ve just spend the weekend playing with Rockstor with a view to replacing freenas and bar a few minor UI niggles/bugs it was all going fairly well … but having major problems getting applicances to connect, so I can test out replication.

So here is what I’ve found / got stuck on …

  • 2 New installs, upgraded to 3.8-11.07 release and attempting to setup remote appliances.
  • One called Rockstor1 and the other called Rockstor2.
  • Attempting to setup remote applicances - System/Appliances - but no joy - read on…
  • Key based authenitcation passes (based on different errors if I break the keys being entered

After it authenticates to the mote machine it throw an error which is reported back to the browser as:

**Failed to get remote appliance information. Verify all inputs and try again.**

When I checked the Rockstor logs on the remote note, it was throwing an exception in the python code:

[07/Feb/2016 17:32:10] ERROR [storageadmin.middleware:35] Exception occured while processing a request. Path: /api/appliances/1 method: GET
[07/Feb/2016 17:32:10] ERROR [storageadmin.middleware:36] Expected a `Response`, `HttpResponse` or `HttpStreamingResponse` to be returned from the view, but received a `<type 'NoneType'>`
Traceback (most recent call last):
  File "/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/core/handlers/", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/views/decorators/", line 57, in wrapped_view
    return view_func(*args, **kwargs)
  File "/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/views/generic/", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/rockstor/eggs/djangorestframework-3.1.1-py2.7.egg/rest_framework/", line 454, in dispatch
    self.response = self.finalize_response(request, response, *args, **kwargs)
  File "/opt/rockstor/eggs/djangorestframework-3.1.1-py2.7.egg/rest_framework/", line 374, in finalize_response
    % type(response)
AssertionError: Expected a `Response`, `HttpResponse` or `HttpStreamingResponse` to be returned from the view, but received a `<type 'NoneType'>`

I suspect its an issue with the latest release as I did manage to setup a remote appliance one way ( but that was only one way and reliased I had not upgraded that node). I couldn’t add the upgraded node, but i’ve not blown away both and not upgraded to see if it works. No time left.

Anyone got any ideas / care to confirm if they have a latest release that they have connected (after upgrade).



You are right on. Thanks for the detailed report btw.

Yup, I do care enough to confirm and fix the issue. Please upgrade to .08(just released) and let us know how it goes.

Thanks - upgrading now … will report back.

Okay - as upgrading is so simple, i’m already reporting back success.

Systems upgraded and all working as expected.

Thanks again !

1 Like