Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2011-06-08 10:30:23,847 rpc_handle_message:
- id: 295050990
- request {
- method: "script"
- serialized_request: "\n7\n\rAlcatel.TIMOS\020\001\032\n10.5.3.134*\010lavagyan2\016the_correct_password\022\030Alcatel.TIMOS.get_config"
- }
- 2011-06-08 10:30:23,847 rpc_handle_request
- 2011-06-08 10:30:23,848 Request accepted:
- id: 295050990
- access_profile {
- profile: "Alcatel.TIMOS"
- scheme: SSH
- address: "10.5.3.134"
- user: "lavagyan"
- password: "the_correct_password"
- }
- script: "Alcatel.TIMOS.get_config"
- 2011-06-08 10:30:23,848 Creating transaction id=295050990 method=script callback=None
- 2011-06-08 10:30:23,848 Script Alcatel.TIMOS.get_config(10.5.3.134). Timeout set to 120
- 2011-06-08 10:30:23,848 1 script threads (10 max)
- 2011-06-08 10:30:23,849 [script-10.5.3.134-Alcatel.TIMOS.get_config] Running
- 2011-06-08 10:30:23,849 [script-10.5.3.134-Alcatel.TIMOS.get_config] Running script: Alcatel.TIMOS.get_config ({})
- 2011-06-08 10:30:23,849 [script-10.5.3.134-Alcatel.TIMOS.get_config] cli(admin display)
- 2011-06-08 10:30:23,849 [script-10.5.3.134-Alcatel.TIMOS.get_config] Running new provider
- 2011-06-08 10:30:23,849 [SSH: 10.5.3.134] ==> SSH_START
- 2011-06-08 10:30:23,850 [SSH: 10.5.3.134] set_timeout(30)
- 2011-06-08 10:30:23,850 register_socket(<noc.sa.script.ssh.transport.CLISSHSocket object at 0x1b09890>,None)
- 2011-06-08 10:30:24,851 [SSH: 10.5.3.134] Initializing socket
- 2011-06-08 10:30:24,852 [SSH: 10.5.3.134] Connecting 10.5.3.134:22
- 2011-06-08 10:30:24,874 [SSH: 10.5.3.134] event(SSH_VERSION)
- 2011-06-08 10:30:24,874 [SSH: 10.5.3.134] ==> SSH_VERSION
- 2011-06-08 10:30:24,874 [SSH: 10.5.3.134] Remote protocol version 2.0, remote software version OpenSSH_3.5p1
- 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] Setting SSH transforms to: in=none none, out=none none
- 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] Setting SSH transform keys
- 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] Sending message type MSG_KEXINIT (20)
- 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] event(SSH_KEY_EXCHANGE)
- 2011-06-08 10:30:24,875 [SSH: 10.5.3.134] ==> SSH_KEY_EXCHANGE
- 2011-06-08 10:30:24,878 [SSH: 10.5.3.134] Receiving message type MSG_KEXINIT (20)
- 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']
- 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
- 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)
- 2011-06-08 10:30:24,879 [SSH: 10.5.3.134] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
- 2011-06-08 10:30:24,887 [SSH: 10.5.3.134] Receiving message type MSG_KEXDH_REPLY (31)
- 2011-06-08 10:30:24,888 [SSH: 10.5.3.134] Sending message type MSG_KEX_DH_GEX_INIT (32)
- 2011-06-08 10:30:25,038 [SSH: 10.5.3.134] Receiving message type MSG_KEX_DH_GEX_REPLY (33)
- 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
- 2011-06-08 10:30:25,039 [SSH: 10.5.3.134] Setting SSH transform keys
- 2011-06-08 10:30:25,039 [SSH: 10.5.3.134] Sending message type MSG_NEWKEYS (21)
- 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] Receiving message type MSG_NEWKEYS (21)
- 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] Using new keys
- 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] event(SSH_AUTH)
- 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] ==> SSH_AUTH
- 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] Requesting service ssh-userauth
- 2011-06-08 10:30:25,040 [SSH: 10.5.3.134] Sending message type MSG_SERVICE_REQUEST (5)
- 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] Receiving message type MSG_SERVICE_ACCEPT (6)
- 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] Starting service ssh-userauth
- 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] event(SSH_AUTH_PASSWORD)
- 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] ==> SSH_AUTH_PASSWORD
- 2011-06-08 10:30:25,042 [SSH: 10.5.3.134] Authenticating with 'publickey' method
- 2011-06-08 10:30:25,043 [SSH: 10.5.3.134] Sending message type MSG_USERAUTH_REQUEST (50)
- 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Authentication method 'publickey' has been failed. Trying next method (password)
- 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Partially authenticated with 'publickey'. Trying next method
- 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Authenticating with 'password' method
- 2011-06-08 10:30:25,045 [SSH: 10.5.3.134] Sending message type MSG_USERAUTH_REQUEST (50)
- 2011-06-08 10:30:25,047 [SSH: 10.5.3.134] Receiving message type MSG_USERAUTH_SUCCESS (52)
- 2011-06-08 10:30:25,047 [SSH: 10.5.3.134] event(SSH_CHANNEL)
- 2011-06-08 10:30:25,048 [SSH: 10.5.3.134] ==> SSH_CHANNEL
- 2011-06-08 10:30:25,048 [SSH: 10.5.3.134] Sending message type MSG_CHANNEL_OPEN (90)
- 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
- 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] Opening channel. local=0 remote=0
- 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] event(SSH_PTY)
- 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] ==> SSH_PTY
- 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] Requesting PTY
- 2011-06-08 10:30:25,050 [SSH: 10.5.3.134] Sending message type MSG_CHANNEL_REQUEST (98)
- 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] event(SSH_SHELL)
- 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] ==> SSH_SHELL
- 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] Requesting shell
- 2011-06-08 10:30:25,052 [SSH: 10.5.3.134] Sending message type MSG_CHANNEL_REQUEST (98)
- 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_WINDOW_ADJUST (93)
- 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] event(START)
- 2011-06-08 10:30:25,055 [SSH: 10.5.3.134] ==> START
- 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')])
- 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_DATA (94)
- 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] on_read: '\r\n\r\nA:YER-PE1# '
- 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] match '^\S+?#'
- 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] event(PROMPT)
- 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] ==> PROMPT
- 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] on_PROMPT_enter
- 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] Using prompt pattern: ^\S+?#
- 2011-06-08 10:30:25,490 [SSH: 10.5.3.134] set_patterns([('^\\S+?#', 'PROMPT'), ('(^Press any key to continue.*$)', 'PAGER')])
- 2011-06-08 10:30:25,525 [script-10.5.3.134-Alcatel.TIMOS.get_config] CLI Provider is ready
- 2011-06-08 10:30:25,525 [script-10.5.3.134-Alcatel.TIMOS.get_config] Disable paging
- 2011-06-08 10:30:25,525 [script-10.5.3.134-Alcatel.TIMOS.get_config] cli(environment no more)
- 2011-06-08 10:30:25,526 [SSH: 10.5.3.134] submit('environment no more',bulk_lines=None)
- 2011-06-08 10:30:25,526 [SSH: 10.5.3.134] Sending message type MSG_CHANNEL_DATA (94)
- 2011-06-08 10:30:26,498 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_DATA (94)
- 2011-06-08 10:30:26,498 [SSH: 10.5.3.134] on_read: 'environment no mo'
- 2011-06-08 10:30:26,689 [SSH: 10.5.3.134] Receiving message type MSG_CHANNEL_DATA (94)
- 2011-06-08 10:30:26,689 [SSH: 10.5.3.134] on_read: 're'
- 2011-06-08 10:30:56,723 Closing stale socket <noc.sa.script.ssh.transport.CLISSHSocket object at 0x1b09890>
- 2011-06-08 10:30:56,723 unregister_socket(<noc.sa.script.ssh.transport.CLISSHSocket object at 0x1b09890>)
- 2011-06-08 10:32:24,826 Cancelling stale script Alcatel.TIMOS.get_config(10.5.3.134)
- 2011-06-08 10:32:24,827 [script-10.5.3.134-Alcatel.TIMOS.get_config] Cancel event sent
- Exception in thread Alcatel.TIMOS.get_config:
- Traceback (most recent call last):
- File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
- self.run()
- File "/opt/noc/sa/script/script.py", line 552, in run
- self.error("Cancelled")
- File "/opt/noc/sa/script/script.py", line 460, in error
- logging.error(u"[%s] %s"%(self.debug_name, unicode(str(msg), "utf8")))
- File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
- return codecs.utf_8_decode(input, errors, True)
- CancelledError
- 2011-06-08 10:32:51,860 Requesting event source filter
- 2011-06-08 10:32:51,860 Creating transaction id=16377142 method=event_filter callback=<function event_filter_callback at 0x1bc0578>
- 2011-06-08 10:32:51,861 send_request
- method: event_filter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement