Insert or update on table "storageadmin_networkdevice" violates foreign key constraint

I just saw this pop up when clicking on the network page in the web UI. I think I’ve seen it before, but it goes away on a refresh. Still, there’s certainly some kind of bug happening. This is version 3.8-14.09.

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 174, in get_queryset
self._refresh_devices()
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/transaction.py”, line 371, in inner
return func(*args, **kwargs)
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/transaction.py”, line 316, in exit
connection.commit()
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/backends/init.py”, line 171, in commit
self._commit()
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/backends/init.py”, line 139, in _commit
return self.connection.commit()
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/utils.py”, line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/backends/init.py”, line 139, in _commit
return self.connection.commit()
IntegrityError: insert or update on table “storageadmin_networkdevice” violates foreign key constraint “connection_id_refs_id_1db23ec5”
DETAIL: Key (connection_id)=(3) is not present in table “storageadmin_networkconnection”.

Im getting the same thing. Havent noticed anything not working though, just an annoying error message.

insert or update on table “storageadmin_networkdevice” violates foreign key constraint “connection_id_refs_id_1db23ec5” DETAIL: Key (connection_id)=(8) is not present in table “storageadmin_networkconnection”.

Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 41, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/network.py”, line 180, in get_queryset
self._refresh_devices()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/utils/decorators.py”, line 145, in inner
return func(*args, **kwargs)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/transaction.py”, line 225, in exit
connection.commit()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py”, line 173, in commit
self._commit()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py”, line 142, in _commit
return self.connection.commit()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/utils.py”, line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py”, line 142, in _commit
return self.connection.commit()
IntegrityError: insert or update on table “storageadmin_networkdevice” violates foreign key constraint "connection_id_refs_id_1db23ec5"
DETAIL: Key (connection_id)=(8) is not present in table “storageadmin_networkconnection”.