Advertisement
solevi

The trace output

Jun 8th, 2011
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.03 KB | None | 0 0
  1. 2011-06-08 10:30:23,847 rpc_handle_message:
  2. id: 295050990
  3. request {
  4. method: "script"
  5. serialized_request: "\n7\n\rAlcatel.TIMOS\020\001\032\n10.5.3.134*\010lavagyan2\016the_correct_password\022\030Alcatel.TIMOS.get_config"
  6. }
  7.  
  8. 2011-06-08 10:30:23,847 rpc_handle_request
  9. 2011-06-08 10:30:23,848 Request accepted:
  10. id: 295050990
  11. access_profile {
  12. profile: "Alcatel.TIMOS"
  13. scheme: SSH
  14. address: "10.5.3.134"
  15. user: "lavagyan"
  16. password: "the_correct_password"
  17. }
  18. script: "Alcatel.TIMOS.get_config"
  19.  
  20. 2011-06-08 10:30:23,848 Creating transaction id=295050990 method=script callback=None
  21. 2011-06-08 10:30:23,848 Script Alcatel.TIMOS.get_config(10.5.3.134). Timeout set to 120
  22. 2011-06-08 10:30:23,848 1 script threads (10 max)
  23. 2011-06-08 10:30:23,849 [script-10.5.3.134-Alcatel.TIMOS.get_config] Running
  24. 2011-06-08 10:30:23,849 [script-10.5.3.134-Alcatel.TIMOS.get_config] Running script: Alcatel.TIMOS.get_config ({})
  25. 2011-06-08 10:30:23,849 [script-10.5.3.134-Alcatel.TIMOS.get_config] cli(admin display)
  26. 2011-06-08 10:30:23,849 [script-10.5.3.134-Alcatel.TIMOS.get_config] Running new provider
  27. 2011-06-08 10:30:23,849 [SSH: 10.5.3.134] ==> SSH_START
  28. 2011-06-08 10:30:23,850 [SSH: 10.5.3.134] set_timeout(30)
  29. 2011-06-08 10:30:23,850 register_socket(<noc.sa.script.ssh.transport.CLISSHSocket object at 0x1b09890>,None)
  30. 2011-06-08 10:30:24,851 [SSH: 10.5.3.134] Initializing socket
  31. 2011-06-08 10:30:24,852 [SSH: 10.5.3.134] Connecting 10.5.3.134:22
  32. 2011-06-08 10:30:24,874 [SSH: 10.5.3.134] event(SSH_VERSION)
  33. 2011-06-08 10:30:24,874 [SSH: 10.5.3.134] ==> SSH_VERSION
  34. 2011-06-08 10:30:24,874 [SSH: 10.5.3.134] Remote protocol version 2.0, remote software version OpenSSH_3.5p1
  35. 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] Setting SSH transforms to: in=none none, out=none none
  36. 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] Setting SSH transform keys
  37. 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] Sending message type MSG_KEXINIT (20)
  38. 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] event(SSH_KEY_EXCHANGE)
  39. 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] ==> SSH_KEY_EXCHANGE
  40. 2011-06-08 10:30:24,878 [SSH: 10.5.3.134] Receiving message type MSG_KEXINIT (20)
  41. 2011-06-08 10:30:24,878 [SSH: 10.5.3.134] Receiving server proposals: kex=['diffie-hellman-group-exchange-sha1', 'diffie-hellman-group1-sha1'] key=['ssh-rsa', 'ssh-dss'] enc_cs=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se'] enc_sc=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se'] mac_cs=['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] mac_sc=['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] comp_cs=['none'] comp_sc['none']
  42. 2011-06-08 10:30:24,879 [SSH: 10.5.3.134] Setting SSH transforms to: in=aes256-cbc hmac-sha1, out=aes256-cbc hmac-sha1
  43. 2011-06-08 10:30:24,879 [SSH: 10.5.3.134] Selecting diffie-hellman-group-exchange-sha1 ssh-rsa, in=(aes256-cbc hmac-sha1 none) out=(aes256-cbc hmac-sha1 none)
  44. 2011-06-08 10:30:24,879 [SSH: 10.5.3.134] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
  45. 2011-06-08 10:30:24,887 [SSH: 10.5.3.134] Receiving message type MSG_KEXDH_REPLY (31)
  46. 2011-06-08 10:30:24,888 [SSH: 10.5.3.134] Sending message type MSG_KEX_DH_GEX_INIT (32)
  47. 2011-06-08 10:30:25,038 [SSH: 10.5.3.134] Receiving message type MSG_KEX_DH_GEX_REPLY (33)
  48. 2011-06-08 10:30:25,038 [SSH: 10.5.3.134] Server PK fingerprint: 73:0d:12:be:d7:c9:92:a3:26:25:67:f4:fc:a8:c5:e7
  49. 2011-06-08 10:30:25,039 [SSH: 10.5.3.134] Setting SSH transform keys
  50. 2011-06-08 10:30:25,039 [SSH: 10.5.3.134] Sending message type MSG_NEWKEYS (21)
  51. 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] Receiving message type MSG_NEWKEYS (21)
  52. 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] Using new keys
  53. 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] event(SSH_AUTH)
  54. 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] ==> SSH_AUTH
  55. 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] Requesting service ssh-userauth
  56. 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] Sending message type MSG_SERVICE_REQUEST (5)
  57. 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] Receiving message type MSG_SERVICE_ACCEPT (6)
  58. 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] Starting service ssh-userauth
  59. 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] event(SSH_AUTH_PASSWORD)
  60. 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] ==> SSH_AUTH_PASSWORD
  61. 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] Authenticating with 'publickey' method
  62. 2011-06-08 10:30:25,043 [SSH: 10.5.3.134] Sending message type MSG_USERAUTH_REQUEST (50)
  63. 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Receiving message type MSG_USERAUTH_FAILURE (51)
  64. 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Authentication method 'publickey' has been failed. Trying next method (password)
  65. 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Partially authenticated with 'publickey'. Trying next method
  66. 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Authenticating with 'password' method
  67. 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Sending message type MSG_USERAUTH_REQUEST (50)
  68. 2011-06-08 10:30:25,047 [SSH: 10.5.3.134] Receiving message type MSG_USERAUTH_SUCCESS (52)
  69. 2011-06-08 10:30:25,047 [SSH: 10.5.3.134] event(SSH_CHANNEL)
  70. 2011-06-08 10:30:25,048 [SSH: 10.5.3.134] ==> SSH_CHANNEL
  71. 2011-06-08 10:30:25,048 [SSH: 10.5.3.134] Sending message type MSG_CHANNEL_OPEN (90)
  72. 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
  73. 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] Opening channel. local=0 remote=0
  74. 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] event(SSH_PTY)
  75. 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] ==> SSH_PTY
  76. 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] Requesting PTY
  77. 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] Sending message type MSG_CHANNEL_REQUEST (98)
  78. 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_SUCCESS (99)
  79. 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] event(SSH_SHELL)
  80. 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] ==> SSH_SHELL
  81. 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] Requesting shell
  82. 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] Sending message type MSG_CHANNEL_REQUEST (98)
  83. 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_WINDOW_ADJUST (93)
  84. 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_SUCCESS (99)
  85. 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] event(START)
  86. 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] ==> START
  87. 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] set_patterns([('[Ll]ogin: ', 'USERNAME'), ('[Pp]assword: ', 'PASSWORD'), ('^\\S+?#', 'PROMPT'), ('(^Press any key to continue.*$)', 'PAGER')])
  88. 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_DATA (94)
  89. 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] on_read: '\r\n\r\nA:YER-PE1# '
  90. 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] match '^\S+?#'
  91. 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] event(PROMPT)
  92. 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] ==> PROMPT
  93. 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] on_PROMPT_enter
  94. 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] Using prompt pattern: ^\S+?#
  95. 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] set_patterns([('^\\S+?#', 'PROMPT'), ('(^Press any key to continue.*$)', 'PAGER')])
  96. 2011-06-08 10:30:25,525 [script-10.5.3.134-Alcatel.TIMOS.get_config] CLI Provider is ready
  97. 2011-06-08 10:30:25,525 [script-10.5.3.134-Alcatel.TIMOS.get_config] Disable paging
  98. 2011-06-08 10:30:25,525 [script-10.5.3.134-Alcatel.TIMOS.get_config] cli(environment no more)
  99. 2011-06-08 10:30:25,526 [SSH: 10.5.3.134] submit('environment no more',bulk_lines=None)
  100. 2011-06-08 10:30:25,526 [SSH: 10.5.3.134] Sending message type MSG_CHANNEL_DATA (94)
  101. 2011-06-08 10:30:26,498 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_DATA (94)
  102. 2011-06-08 10:30:26,498 [SSH: 10.5.3.134] on_read: 'environment no mo'
  103. 2011-06-08 10:30:26,689 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_DATA (94)
  104. 2011-06-08 10:30:26,689 [SSH: 10.5.3.134] on_read: 're'
  105. 2011-06-08 10:30:56,723 Closing stale socket <noc.sa.script.ssh.transport.CLISSHSocket object at 0x1b09890>
  106. 2011-06-08 10:30:56,723 unregister_socket(<noc.sa.script.ssh.transport.CLISSHSocket object at 0x1b09890>)
  107. 2011-06-08 10:32:24,826 Cancelling stale script Alcatel.TIMOS.get_config(10.5.3.134)
  108. 2011-06-08 10:32:24,827 [script-10.5.3.134-Alcatel.TIMOS.get_config] Cancel event sent
  109. Exception in thread Alcatel.TIMOS.get_config:
  110. Traceback (most recent call last):
  111. File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  112. self.run()
  113. File "/opt/noc/sa/script/script.py", line 552, in run
  114. self.error("Cancelled")
  115. File "/opt/noc/sa/script/script.py", line 460, in error
  116. logging.error(u"[%s] %s"%(self.debug_name, unicode(str(msg), "utf8")))
  117. File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
  118. return codecs.utf_8_decode(input, errors, True)
  119. CancelledError
  120.  
  121. 2011-06-08 10:32:51,860 Requesting event source filter
  122. 2011-06-08 10:32:51,860 Creating transaction id=16377142 method=event_filter callback=<function event_filter_callback at 0x1bc0578>
  123. 2011-06-08 10:32:51,861 send_request
  124. method: event_filter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement