Setting interface to manual is not possible "'NoneType' object has no attribute 'name'"

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

A attempt to set a interface IP to manual results in an error.

Detailed step by step instructions to reproduce the problem

set it to manual :slight_smile:

Web-UI screenshot

Error Traceback provided on the Web-UI

            Traceback (most recent call last):

File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 40, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/network.py”, line 296, in put
device = nco.networkdevice_set.first().name
AttributeError: ‘NoneType’ object has no attribute ‘name’

There is a lot more mess here …

For example, one interface is set to auto … another I’m trying to set to manual … I’m not separating stuff on switch with any VLANs of sort … so everything is just connected to single switch and TECHNICALLY it’s supposed to be isolated with different IP ranges… well when I enable this interface now I get a blend of manual and dhcp :confused:

Better call @suman (last one having mods on net modules)

M.

Nice reference to “Better call Saul” :wink:

Anyway I realllllllyyyyy desperatelly need a fully working networking stack that I can stretch any way I want … you know having a second interface that is just manual … not having to set up a gateway ( we seriously don’t need an traditional route :confused: ) … fully working teaming …

Anyway If @suman was willing to chip in I’m happy to start some overhaul on that … because it seems like this stack needs that.