Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.02 KB | None | 0 0
  1. ./noc debug-script get_version as-1-vla49 > /tmp/as-1-vla49
  2. 2015-02-26 11:05:21,234 Using JSON library: cjson
  3. 2015-02-26 11:05:21,249 SSH: Using gmpy
  4. 2015-02-26 11:05:21,584 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  5. 2015-02-26 11:05:21,719 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  6. 2015-02-26 11:05:21,737 Loading PeriodicRegistry
  7. 2015-02-26 11:05:21,754 Registering MetricType
  8. 2015-02-26 11:05:21,765 Loading compiled MIBs
  9. 2015-02-26 11:05:21,765 Loading compiled MIBs from 'cmibs'
  10. 2015-02-26 11:05:21,766 Loading MIB: IF-MIB
  11. 2015-02-26 11:05:21,766 Loading MIB: SNMPv2-MIB
  12. 2015-02-26 11:05:21,767 Loading MIB: IP-MIB
  13. 2015-02-26 11:05:21,767 Loading MIB: RFC1213-MIB
  14. 2015-02-26 11:05:21,768 Loading MIB: CISCO-PPPOE-MIB
  15. 2015-02-26 11:05:21,768 Loading MIB: CISCO-VPDN-MGMT-MIB
  16. 2015-02-26 11:05:21,778 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
  17. 2015-02-26 11:05:21,779 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
  18. 2015-02-26 11:05:21,782 Loading DownloaderRegistry
  19. 2015-02-26 11:05:21,825 Loading ProfileRegistry
  20. 2015-02-26 11:05:22,846 Loading ScriptRegistry
  21. 2015-02-26 11:05:23,077 Adding FTS index for sa.managedobject
  22. 2015-02-26 11:05:23,097 Registering ConnectionType
  23. 2015-02-26 11:05:23,102 Registering ObjectModel
  24. 2015-02-26 11:05:23,104 Registering Capability
  25. 2015-02-26 11:05:23,113 Adding FTS index for vc.vc
  26. 2015-02-26 11:05:23,143 Adding FTS index for ip.vrf
  27. 2015-02-26 11:05:23,146 Adding FTS index for ip.prefix
  28. 2015-02-26 11:05:23,149 Adding FTS index for ip.address
  29. 2015-02-26 11:05:23,481 Setting up 'select' polling method
  30. 2015-02-26 11:05:23,482 Activating 'select' poller
  31. 2015-02-26 11:05:23,482 Loading private ssh key from 'etc/ssh/id_rsa'
  32. 2015-02-26 11:05:23,483 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  33. 2015-02-26 11:05:23,488 Running socket factory (SelectPoller)
  34. 2015-02-26 11:05:23,488 Running script thread
  35. 2015-02-26 11:05:23,489 Creating transaction id=1479311245 method=None callback=None
  36. 2015-02-26 11:05:23,489 Capabilities: {u'SNMP | IF-MIB': True, u'SNMP | IF-MIB | HC': True, u'SNMP | Bulk': True, u'SNMP': True, u'BRAS | PPTP': True}
  37. 2015-02-26 11:05:23,490 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] Running
  38. 2015-02-26 11:05:23,490 Running script: Cisco.IOS.get_version ({}), timeout 120s
  39. 2015-02-26 11:05:23,490 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] cli(show version)
  40. 2015-02-26 11:05:23,490 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] Running new provider
  41. 2015-02-26 11:05:23,491 [TELNET: 172.16.0.3] ==> START
  42. 2015-02-26 11:05:23,491 [TELNET: 172.16.0.3] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^\\S+?>', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>[a-zA-Z0-9]\\S{0,19})(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('(^ --More--)|(\\?\\s*\\[confirm\\])', 'PAGER')])
  43. 2015-02-26 11:05:23,493 [TELNET: 172.16.0.3] set_timeout(600)
  44. 2015-02-26 11:05:23,493 Register socket CLITelnetSocket 172.16.0.3:23 (None)
  45. 2015-02-26 11:05:24,491 Tick
  46. 2015-02-26 11:05:24,491 3 TICKS TO EXIT
  47. 2015-02-26 11:05:24,491 [TELNET: 172.16.0.3] Initializing socket
  48. 2015-02-26 11:05:24,491 [CLITelnetSocket 172.16.0.3:23] Connecting 172.16.0.3:23
  49. 2015-02-26 11:05:24,502 [CLITelnetSocket 172.16.0.3:23] create_socket returns non-zero code 36[EINPROGRESS]
  50. 2015-02-26 11:05:24,503 [CLITelnetSocket 172.16.0.3:23] Connected
  51. 2015-02-26 11:05:24,504 [TELNET: 172.16.0.3] Received IAC WILL ECHO (251 1)
  52. 2015-02-26 11:05:24,504 [TELNET: 172.16.0.3] Sending IAC DO ECHO (253 1)
  53. 2015-02-26 11:05:24,505 [TELNET: 172.16.0.3] Received IAC WILL SGA (251 3)
  54. 2015-02-26 11:05:24,505 [TELNET: 172.16.0.3] Sending IAC DO SGA (253 3)
  55. 2015-02-26 11:05:24,505 [TELNET: 172.16.0.3] Received IAC DO TTYPE (253 24)
  56. 2015-02-26 11:05:24,505 [TELNET: 172.16.0.3] Sending IAC WILL TTYPE (251 24)
  57. 2015-02-26 11:05:24,505 [TELNET: 172.16.0.3] Received IAC DO NAWS (253 31)
  58. 2015-02-26 11:05:24,505 [TELNET: 172.16.0.3] Sending IAC WILL NAWS (251 31)
  59. 2015-02-26 11:05:24,506 [TELNET: 172.16.0.3] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
  60. 2015-02-26 11:05:24,506 [TELNET: 172.16.0.3] on_read: '\r\n\r\nUser Access Verification\r\n\r\nUsername: '
  61. 2015-02-26 11:05:24,506 [TELNET: 172.16.0.3] Starting synchronous FSM check
  62. 2015-02-26 11:05:24,506 [TELNET: 172.16.0.3] match '([Uu]sername|[Ll]ogin):'
  63. 2015-02-26 11:05:24,507 [TELNET: 172.16.0.3] event(USERNAME)
  64. 2015-02-26 11:05:24,507 [TELNET: 172.16.0.3] ==> USERNAME
  65. 2015-02-26 11:05:24,507 [TELNET: 172.16.0.3] set_patterns([('[Pp]assword:', 'PASSWORD'), ('^(?P<hostname>[a-zA-Z0-9]\\S{0,19})(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT')])
  66. 2015-02-26 11:05:24,507 [TELNET: 172.16.0.3] submit(u'cm', bulk_lines=None, streaming=False)
  67. 2015-02-26 11:05:24,507 [TELNET: 172.16.0.3] Received SB '\x18\x01'
  68. 2015-02-26 11:05:24,508 [TELNET: 172.16.0.3] Sending SB '\xff\xfa\x18\x00XTERM\xff\xf0'
  69. 2015-02-26 11:05:24,508 [TELNET: 172.16.0.3] on_read: 'c'
  70. 2015-02-26 11:05:24,508 [TELNET: 172.16.0.3] on_read: 'm'
  71. 2015-02-26 11:05:24,707 [TELNET: 172.16.0.3] on_read: '\r\nPassword: '
  72. 2015-02-26 11:05:24,707 [TELNET: 172.16.0.3] Starting synchronous FSM check
  73. 2015-02-26 11:05:24,707 [TELNET: 172.16.0.3] match '[Pp]assword:'
  74. 2015-02-26 11:05:24,707 [TELNET: 172.16.0.3] event(PASSWORD)
  75. 2015-02-26 11:05:24,707 [TELNET: 172.16.0.3] ==> PASSWORD
  76. 2015-02-26 11:05:24,707 [TELNET: 172.16.0.3] set_patterns([('^\\S+?>', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>[a-zA-Z0-9]\\S{0,19})(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('(^ --More--)|(\\?\\s*\\[confirm\\])', 'PAGER')])
  77. 2015-02-26 11:05:24,708 [TELNET: 172.16.0.3] submit(u'dg9s3dFLsBa', bulk_lines=None, streaming=False)
  78. 2015-02-26 11:05:25,107 [TELNET: 172.16.0.3] on_read: '\r\n\r\nas-1-vla49#'
  79. 2015-02-26 11:05:25,107 [TELNET: 172.16.0.3] Starting synchronous FSM check
  80. 2015-02-26 11:05:25,107 [TELNET: 172.16.0.3] match '^(?P<hostname>[a-zA-Z0-9]\S{0,19})(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  81. 2015-02-26 11:05:25,107 [TELNET: 172.16.0.3] event(PROMPT)
  82. 2015-02-26 11:05:25,107 [TELNET: 172.16.0.3] ==> PROMPT
  83. 2015-02-26 11:05:25,108 [TELNET: 172.16.0.3] on_PROMPT_enter
  84. 2015-02-26 11:05:25,108 [TELNET: 172.16.0.3] Using prompt pattern: ^as\-1\-vla49(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#
  85. 2015-02-26 11:05:25,108 [TELNET: 172.16.0.3] set_patterns([('^as\\-1\\-vla49(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#', 'PROMPT'), ('(^ --More--)|(\\?\\s*\\[confirm\\])', 'PAGER')])
  86. 2015-02-26 11:05:25,152 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] CLI Provider is ready
  87. 2015-02-26 11:05:25,153 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] Setting up session
  88. 2015-02-26 11:05:25,153 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] Disable paging
  89. 2015-02-26 11:05:25,153 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] cli(terminal length 0)
  90. 2015-02-26 11:05:25,153 [TELNET: 172.16.0.3] submit('terminal length 0', bulk_lines=None, streaming=False)
  91. 2015-02-26 11:05:25,154 [TELNET: 172.16.0.3] on_read: 'ter'
  92. 2015-02-26 11:05:25,155 [TELNET: 172.16.0.3] on_read: 'min'
  93. 2015-02-26 11:05:25,155 [TELNET: 172.16.0.3] on_read: 'al'
  94. 2015-02-26 11:05:25,155 [TELNET: 172.16.0.3] on_read: ' '
  95. 2015-02-26 11:05:25,155 [TELNET: 172.16.0.3] on_read: 'l'
  96. 2015-02-26 11:05:25,156 [TELNET: 172.16.0.3] on_read: 'e'
  97. 2015-02-26 11:05:25,156 [TELNET: 172.16.0.3] on_read: 'ngt'
  98. 2015-02-26 11:05:25,156 [TELNET: 172.16.0.3] on_read: 'h'
  99. 2015-02-26 11:05:25,156 [TELNET: 172.16.0.3] on_read: ' '
  100. 2015-02-26 11:05:25,157 [TELNET: 172.16.0.3] on_read: '0'
  101. 2015-02-26 11:05:25,157 [TELNET: 172.16.0.3] on_read: '\r\n'
  102. 2015-02-26 11:05:25,158 [TELNET: 172.16.0.3] on_read: 'as-1-vla49#'
  103. 2015-02-26 11:05:25,158 [TELNET: 172.16.0.3] Starting synchronous FSM check
  104. 2015-02-26 11:05:25,158 [TELNET: 172.16.0.3] match '^as\-1\-vla49(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  105. 2015-02-26 11:05:25,158 [TELNET: 172.16.0.3] Starting synchronous FSM check
  106. 2015-02-26 11:05:25,158 [TELNET: 172.16.0.3] event(PROMPT)
  107. 2015-02-26 11:05:25,161 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] cli(terminal length 0) returns:
  108. ===[ terminal length 0 ]================================================
  109. ''
  110. ========================================================================
  111. 2015-02-26 11:05:25,161 [TELNET: 172.16.0.3] submit('show version', bulk_lines=None, streaming=False)
  112. 2015-02-26 11:05:25,162 [TELNET: 172.16.0.3] on_read: 's'
  113. 2015-02-26 11:05:25,162 [TELNET: 172.16.0.3] on_read: 'ho'
  114. 2015-02-26 11:05:25,163 [TELNET: 172.16.0.3] on_read: 'w v'
  115. 2015-02-26 11:05:25,163 [TELNET: 172.16.0.3] on_read: 'er'
  116. 2015-02-26 11:05:25,163 [TELNET: 172.16.0.3] on_read: 's'
  117. 2015-02-26 11:05:25,163 [TELNET: 172.16.0.3] on_read: 'i'
  118. 2015-02-26 11:05:25,164 [TELNET: 172.16.0.3] on_read: 'on'
  119. 2015-02-26 11:05:25,164 [TELNET: 172.16.0.3] on_read: '\r\n'
  120. 2015-02-26 11:05:25,169 [TELNET: 172.16.0.3] on_read: 'Cisco Internetwork Operating System Software \r\nIOS (tm) 7200 Software (C7200-JS-M), Version 12.2(14)S14, RELEASE SOFTWARE (fc1)\r\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2005 by cisco Systems, Inc.\r\nCompiled Fri 08-Apr-05 13:48 by ccai\r\nImage text-base: 0x60008BD4, data-base: 0x61880000\r\n\r\nROM: System Bootstrap, Version 12.1(20000710:044039) [nlaw-121E_npeb 117], DEVELOPMENT SOFTWARE\r\nBOOTLDR: 7200 Software (C7200-KBOOT-M), Version 12.2(26a), RELEASE SOFTWARE (fc1)\r\n\r\nas-1-vla49 uptime is 22 weeks, 1'
  121. 2015-02-26 11:05:25,170 [TELNET: 172.16.0.3] on_read: '8 hours, 4 minutes\r\nSystem returned to ROM by power-on\r\nSystem restarted at 17:07:22 MSK Wed Sep 24 2014\r\nSystem image file is "disk0:c7200-js-mz.122-14.S14.bin"\r\n\r\ncisco 7206VXR (NPE400) processor (revision A) with 491520K/32768K bytes of memory.\r\nProcessor board ID 23683026\r\nR7000 CPU at 350Mhz, Implementation 39, Rev 3.3, 256KB L2 Cache\r\n6 slot VXR midplane, Version 2.0\r\n\r\nLast reset from power-on\r\nBridging software.\r\nX.25 software, Version 3.0.0.\r\nSuperLAT software (copyright 1990 by Meridian Technology Corp).\r\nTN3270 Emulatio'
  122. 2015-02-26 11:05:25,212 [TELNET: 172.16.0.3] on_read: 'n software.\r\n2 FastEthernet/IEEE 802.3 interface(s)\r\n1 Gigabit Ethernet/IEEE 802.3 interface(s)\r\n125K bytes of non-volatile configuration memory.\r\n\r\n15680K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).'
  123. 2015-02-26 11:05:25,212 [TELNET: 172.16.0.3] on_read: '\r\n8192K bytes of Flash internal SIMM (Sector size 256K).'
  124. 2015-02-26 11:05:25,213 [TELNET: 172.16.0.3] on_read: '\r\nConfiguration register is 0x2102\r\n\r\nas-1-vla49#'
  125. 2015-02-26 11:05:25,213 [TELNET: 172.16.0.3] Starting synchronous FSM check
  126. 2015-02-26 11:05:25,213 [TELNET: 172.16.0.3] match '^as\-1\-vla49(?:[-_\d\w]+)?(?:\(config[^\)]*\))?#'
  127. 2015-02-26 11:05:25,213 [TELNET: 172.16.0.3] Starting synchronous FSM check
  128. 2015-02-26 11:05:25,213 [TELNET: 172.16.0.3] event(PROMPT)
  129. 2015-02-26 11:05:25,228 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] cli(show version) returns:
  130. ===[ show version ]=====================================================
  131. 'Cisco Internetwork Operating System Software \nIOS (tm) 7200 Software (C7200-JS-M), Version 12.2(14)S14, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2005 by cisco Systems, Inc.\nCompiled Fri 08-Apr-05 13:48 by ccai\nImage text-base: 0x60008BD4, data-base: 0x61880000\n\nROM: System Bootstrap, Version 12.1(20000710:044039) [nlaw-121E_npeb 117], DEVELOPMENT SOFTWARE\nBOOTLDR: 7200 Software (C7200-KBOOT-M), Version 12.2(26a), RELEASE SOFTWARE (fc1)\n\nas-1-vla49 uptime is 22 weeks, 18 hours, 4 minutes\nSystem returned to ROM by power-on\nSystem restarted at 17:07:22 MSK Wed Sep 24 2014\nSystem image file is "disk0:c7200-js-mz.122-14.S14.bin"\n\ncisco 7206VXR (NPE400) processor (revision A) with 491520K/32768K bytes of memory.\nProcessor board ID 23683026\nR7000 CPU at 350Mhz, Implementation 39, Rev 3.3, 256KB L2 Cache\n6 slot VXR midplane, Version 2.0\n\nLast reset from power-on\nBridging software.\nX.25 software, Version 3.0.0.\nSuperLAT software (copyright 1990 by Meridian Technology Corp).\nTN3270 Emulation software.\n2 FastEthernet/IEEE 802.3 interface(s)\n1 Gigabit Ethernet/IEEE 802.3 interface(s)\n125K bytes of non-volatile configuration memory.\n\n15680K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).\n8192K bytes of Flash internal SIMM (Sector size 256K).\nConfiguration register is 0x2102\n\n'
  132. ========================================================================
  133. 2015-02-26 11:05:25,228 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] Unhandled exception
  134. 2015-02-26 11:05:25,235 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] Script traceback:
  135. <class 'noc.sa.script.exception.UnexpectedResultError'>
  136.  
  137. START OF TRACEBACK
  138. ------------------------------------------------------------------------
  139. File: sa/script/script.py (Line: 1017)
  140. Function: re_search
  141. 1010 Returns match object.
  142. 1011 rx can be string or compiled regular expression
  143. 1012 """
  144. 1013 if isinstance(rx, basestring):
  145. 1014 rx = re.compile(rx, flags)
  146. 1015 match = rx.search(s)
  147. 1016 if match is None:
  148. 1017 ==> raise self.UnexpectedResultError()
  149. 1018 return match
  150. 1019
  151. 1020 def re_match(self, rx, s, flags=0):
  152. 1021 """
  153. 1022 Match s against regular expression rx using re.match
  154. 1023 Raise UnexpectedResultError if regular expression is not matched.
  155. Variables:
  156. rx = <_sre.SRE_Pattern object at 0x80fc95c00>
  157. s = '7200'
  158. flags = 0
  159. self = <Script(Thread-2, started 34657760256)>
  160. match = None
  161. ------------------------------------------------------------------------
  162. File: sa/profiles/Cisco/IOS/get_version.py (Line: 57)
  163. Function: execute
  164. 50 }
  165. 51 }
  166. 52 except self.snmp.TimeOutError:
  167. 53 pass
  168. 54 v = self.cli("show version", cached=True)
  169. 55 match = self.re_search(self.rx_ver, v)
  170. 56 platform = match.group("platform")
  171. 57 ==> if self.re_search(self.rx_invalid_platforms, platform):
  172. 58 # Process IOS XE platform
  173. 59 pmatch = self.re_search(self.rx_platform, v)
  174. 60 if pmatch:
  175. 61 platform = pmatch.group("platform")
  176. 62 if platform.startswith("WS-"):
  177. 63 platform = platform[3:]
  178. Variables:
  179. platform = '7200'
  180. self = <Script(Thread-2, started 34657760256)>
  181. match = <_sre.SRE_Match object at 0x81175fd20>
  182. v =
  183. 'Cisco Internetwork Operating System Software \nIOS (tm) 7200 Software (C7200-JS-M), Version 12.2(14)S14, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2005 by cisco Systems, Inc.\nCompiled Fri 08-Apr-05 13:48 by ccai\nImage text-base: 0x60008BD4, data-base: 0x61880000\n\nROM: System Bootstrap, Version 12.1(20000710:044039) [nlaw-121E_npeb 117], DEVELOPMENT SOFTWARE\nBOOTLDR: 7200 Software (C7200-KBOOT-M), Version 12.2(26a), RELEASE SOFTWARE (fc1)\n\nas-1-vla49 uptime is 22 weeks, 18 hours, 4 minutes\nSystem returned to ROM by power-on\nSystem restarted at 17:07:22 MSK Wed Sep 24 2014\nSystem image file is "disk0:c7200-js-mz.122-14.S14.bin"\n\ncisco 7206VXR (NPE400) processor (revision A) with 491520K/32768K bytes of memory.\nProcessor board ID 23683026\nR7000 CPU at 350Mhz, Implementation 39, Rev 3.3, 256KB L2 Cache\n6 slot VXR midplane, Version 2.0\n\nLast reset from power-on\nBridging software.\nX.25 software, Version 3.0.0.\nSuperLAT software (copyright 1990 by Meridian Technology Corp).\nTN3270 Emulation software.\n2 FastEthernet/IEEE 802.3 interface(s)\n1 Gigabit Ethernet/IEEE 802.3 interface(s)\n125K bytes of non-volatile configuration memory.\n\n15680K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).\n8192K bytes of Flash internal SIMM (Sector size 256K).\nConfiguration register is 0x2102\n\n'
  184. ------------------------------------------------------------------------
  185. File: sa/script/script.py (Line: 463)
  186. Function: guarded_run
  187. 456 return result
  188. 457 except KeyError:
  189. 458 self.logger.debug("Not in call cache: %r, %r",
  190. 459 self.name, self.kwargs)
  191. 460 pass
  192. 461 # Calling script body
  193. 462 self._thread_id = thread.get_ident()
  194. 463 ==> result = self.execute(**self.kwargs)
  195. 464 # Enforce interface result checking
  196. 465 for i in self.implements:
  197. 466 result = i.script_clean_result(self.profile, result)
  198. 467 # Cache result when required
  199. 468 if self.cache and self.parent is not None:
  200. 469 self.logger.debug(
  201. Variables:
  202. i = <noc.sa.interfaces.igetversion.IGetVersion object at 0x80fc56b50>
  203. self = <Script(Thread-2, started 34657760256)>
  204. t0 = 1424937923.490406
  205. ------------------------------------------------------------------------
  206. File: sa/script/script.py (Line: 490)
  207. Function: run
  208. 483
  209. 484 def run(self):
  210. 485 """Script thread worker method"""
  211. 486 self.debug("Running")
  212. 487 result = None
  213. 488 try:
  214. 489 with self.cancelable():
  215. 490 ==> result = self.guarded_run()
  216. 491 except self.TimeOutError:
  217. 492 self.error("Timed out")
  218. 493 self.e_timeout = True
  219. 494 except CancelledError:
  220. 495 self.error("Cancelled")
  221. 496 self.e_cancel = True
  222. Variables:
  223. self = <Script(Thread-2, started 34657760256)>
  224. r = ["<class 'noc.sa.script.exception.UnexpectedResultError'>", '']
  225. result = None
  226. v = UnexpectedResultError()
  227. tb = <traceback object at 0x811ac9d88>
  228. t = <class 'noc.sa.script.exception.UnexpectedResultError'>
  229. ------------------------------------------------------------------------
  230. END OF TRACEBACK
  231. 2015-02-26 11:05:25,235 [Cisco.IOS.get_version(as-1-vla49, 172.16.0.3)] Closing
  232. 2015-02-26 11:05:25,235 Requesting call: <bound method CLITelnetSocket.close of <CLITelnetSocket(0x811ac4fd0, 172.16.0.3:23, connected)>>(*(), **{'flush': True})
  233. 2015-02-26 11:05:26,215 Tick
  234. 2015-02-26 11:05:26,215 Calling delayed <bound method CLITelnetSocket.close of <CLITelnetSocket(0x811ac4fd0, 172.16.0.3:23, connected)>>(*(), **{'flush': True})
  235. 2015-02-26 11:05:26,215 [CLITelnetSocket 172.16.0.3:23] Closing socket
  236. 2015-02-26 11:05:26,215 Unregister socket CLITelnetSocket 172.16.0.3:23
  237. 2015-02-26 11:05:26,215 2 TICKS TO EXIT
  238. 2015-02-26 11:05:27,219 Tick
  239. 2015-02-26 11:05:27,219 1 TICKS TO EXIT
  240. ^C2015-02-26 11:05:27,452 SIGINT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement