Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. Environment:
  2.  
  3.  
  4. Request Method: POST
  5. Request URL: http://127.0.0.1:8000/ip/ipam/12/6/2a03:8700:1::/48/delete/
  6.  
  7. Django Version: 1.3.1
  8. Python Version: 2.7.3
  9. Installed Applications:
  10. ['django.contrib.auth',
  11. 'django.contrib.contenttypes',
  12. 'django.contrib.sessions',
  13. 'django.contrib.sites',
  14. 'django.contrib.admin',
  15. 'django.contrib.messages',
  16. 'tagging',
  17. 'south',
  18. 'noc.main',
  19. 'noc.gis',
  20. 'noc.inv',
  21. 'noc.sa',
  22. 'noc.fm',
  23. 'noc.pm',
  24. 'noc.cm',
  25. 'noc.ip',
  26. 'noc.vc',
  27. 'noc.dns',
  28. 'noc.peer',
  29. 'noc.kb']
  30. Installed Middleware:
  31. ['django.middleware.common.CommonMiddleware',
  32. 'django.contrib.sessions.middleware.SessionMiddleware',
  33. 'django.middleware.locale.LocaleMiddleware',
  34. 'django.contrib.messages.middleware.MessageMiddleware',
  35. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  36. 'noc.lib.middleware.HTTPBasicAuthMiddleware',
  37. 'django.middleware.doc.XViewMiddleware',
  38. 'django.middleware.transaction.TransactionMiddleware',
  39. 'noc.lib.middleware.TLSMiddleware']
  40.  
  41.  
  42. Traceback:
  43. File "/opt/noc/contrib/lib/django/core/handlers/base.py" in get_response
  44. 178. response = middleware_method(request, response)
  45. File "/opt/noc/contrib/lib/django/middleware/transaction.py" in process_response
  46. 25. transaction.commit()
  47. File "/opt/noc/contrib/lib/django/db/transaction.py" in commit
  48. 142. connection.commit()
  49. File "/opt/noc/contrib/lib/django/db/backends/__init__.py" in commit
  50. 201. self._commit()
  51. File "/opt/noc/contrib/lib/django/db/backends/postgresql_psycopg2/base.py" in _commit
  52. 200. return self.connection.commit()
  53.  
  54. Exception Type: IntegrityError at /ip/ipam/12/6/2a03:8700:1::/48/delete/
  55. Exception Value: update or delete on table "ip_prefix" violates foreign key constraint "ipv6_transition_id_refs_id_43d6a7d59917cba5" on table "ip_prefix"
  56. DETAIL: Key (id)=(604) is still referenced from table "ip_prefix".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement