HELP error config network IP/DHCP rockstor WEB GUI

[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

[errore 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 449, in put
device = nco.networkdevice_set.first().name
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: ‘NoneType’ object has no attribute ‘name’]

Detailed step by step instructions to reproduce the problem

[this error text appears when trying to change IP address or set in DHCP mode section
system/network/connection]

Web-UI screenshot

[Drag and drop the image here]

Error Traceback provided on the Web-UI

[errore 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 449, in put device = nco.networkdevice_set.first().name ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'name']

@franao68 welcome to the Rockstor community. I removed your email from your message. I’d recommend not to share it on the public pages of the forum.

Can you ,mention with which version Rockstor you are experiencing this? Is it 5.0.15-0 or other another one?

Yes the system is running Rockstor version: 5.0.15-0

I think I was able to reproduce your issue … I will open an issue on Github for this to be looked at. Just to clarify:

  • existing or newly created Network Connection
  • enter change mode for network adapter
  • change from dhcp to manual
  • enter fixed (valid) IP address, gateway and DNS server
  • Click on Submit

Error message occurs.

That’s how I was able to reproduce it (I created a new connection using dhcp without a problem, but upon going back in to change it, I ran into the same problem).

Is that in general the procedure you ran through?

1 Like

yes exactly!
i got around it for now by using the nmtui command from console

best regards
Francesco ARNAO

2 Likes