Guest User

Untitled

a guest
Nov 12th, 2013
46
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2013-11-12 03:39:54,814 UNHANDLED EXCEPTION (2013-11-12 03:39:54.633504)
  2. Working directory: /opt/noc
  3. <type 'exceptions.AttributeError'>
  4. 'ManagedObject' object has no attribute 'managed_object'
  5. START OF TRACEBACK
  6. ------------------------------------------------------------------------
  7. File: /opt/noc/sa/models/managedobject.py (Line: 500)
  8. Function: save_config
  9. 493 managed_object=self, config=data)
  10. 494 # Pass data through the validation filter, if given
  11. 495 if self.config_validation_rule:
  12. 496 warnings = self.config_validation_rule(
  13. 497 managed_object=self, config=data)
  14. 498 if warnings:
  15. 499 # There are some warnings. Notify responsible persons
  16. 500 ==> self.managed_object.event(
  17. 501 self.EV_CONFIG_POLICY_VIOLATION,
  18. 502 {
  19. 503 "object": self,
  20. 504 "warnings": warnings
  21. 505 }
  22. 506 )
  23. Variables:
  24. self = <ManagedObject: cat-1>
  25. data =
  26. '!\n! Last configuration change at ...
  27. warnings =
  28. ['In cat-1 config found some errors:',
  29. ' Services settings not found:',
  30. '\n AAA settings not found:', ...']
RAW Paste Data