Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. root@noc:/opt/noc # ./noc debug-script -c- get_version epu-lab
  2. 2014-11-27 12:01:39,191 SSH: Using gmpy
  3. 2014-11-27 12:01:39,623 Using JSON library: cjson
  4. 2014-11-27 12:01:39,849 Loading PeriodicRegistry
  5. 2014-11-27 12:01:39,866 Registering MetricType
  6. 2014-11-27 12:01:39,879 Loading compiled MIBs
  7. 2014-11-27 12:01:39,880 Loading compiled MIBs from 'cmibs'
  8. 2014-11-27 12:01:39,881 Loading MIB: IF-MIB
  9. 2014-11-27 12:01:39,881 Loading MIB: SNMPv2-MIB
  10. 2014-11-27 12:01:39,882 Loading MIB: IP-MIB
  11. 2014-11-27 12:01:39,882 Loading MIB: RFC1213-MIB
  12. 2014-11-27 12:01:39,882 Loading MIB: CISCO-PPPOE-MIB
  13. 2014-11-27 12:01:39,883 Loading MIB: CISCO-VPDN-MGMT-MIB
  14. 2014-11-27 12:01:39,899 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
  15. 2014-11-27 12:01:39,899 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
  16. 2014-11-27 12:01:39,903 Loading DownloaderRegistry
  17. 2014-11-27 12:01:39,951 Loading ProfileRegistry
  18. 2014-11-27 12:01:40,981 Loading ScriptRegistry
  19. 2014-11-27 12:01:41,114 Adding FTS index for sa.managedobject
  20. 2014-11-27 12:01:41,149 Registering ConnectionType
  21. 2014-11-27 12:01:41,155 Registering ObjectModel
  22. 2014-11-27 12:01:41,158 Registering Capability
  23. 2014-11-27 12:01:41,172 Adding FTS index for vc.vc
  24. 2014-11-27 12:01:41,206 Adding FTS index for ip.vrf
  25. 2014-11-27 12:01:41,211 Adding FTS index for ip.prefix
  26. 2014-11-27 12:01:41,214 Adding FTS index for ip.address
  27. Traceback (most recent call last):
  28. File "manage.py", line 45, in <module>
  29. execute_from_command_line(sys.argv)
  30. File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  31. utility.execute()
  32. File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
  33. self.fetch_command(subcommand).run_from_argv(self.argv)
  34. File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
  35. self.execute(*args, **options.__dict__)
  36. File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
  37. output = self.handle(*args, **options)
  38. File "/opt/noc/sa/management/commands/debug-script.py", line 443, in handle
  39. requests = [self.get_request(script_name, obj, snmp_ro_community, values) for obj in objects]
  40. File "/opt/noc/sa/management/commands/debug-script.py", line 370, in get_request
  41. self.set_access_profile_name(r.access_profile, obj, profile, snmp_ro_community)
  42. File "/opt/noc/sa/management/commands/debug-script.py", line 323, in set_access_profile_name
  43. access_profile.password = credentials.password
  44. File "/opt/noc/lib/python2.7/site-packages/google/protobuf/internal/python_message.py", line 454, in setter
  45. type_checker.CheckValue(new_value)
  46. File "/opt/noc/lib/python2.7/site-packages/google/protobuf/internal/type_checkers.py", line 117, in CheckValue
  47. raise TypeError(message)
  48. TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)
  49. root@noc:/opt/noc #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement