[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
Cannot set Rockstor interface in “System, Services, Rockstor”
Detailed step by step instructions to reproduce the problem
Used the dropdown to select the static interface used for the Web UI. When I click on submit, it returns the error shown.
File “/opt/rockstor/src/rockstor/smart_manager/views/rockstor_service.py”, line 59, in post
nco = NetworkConnection.objects.get(name=ni)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/rockstor/.venv/lib/python3.11/site-packages/django/db/models/manager.py”, line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/rockstor/.venv/lib/python3.11/site-packages/django/db/models/query.py”, line 640, in get
raise self.model.MultipleObjectsReturned(
storageadmin.models.network_interface.NetworkConnection.MultipleObjectsReturned: get() returned more than one NetworkConnection – it returned 2!