Quantcast
Channel: Rockstor Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 1933

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

$
0
0

@shpxnvz wrote:

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 handleexception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/network.py", line 174, in get_queryset
self.refreshdevices()
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".

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1933

Trending Articles