Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- noc@noc:/opt/noc> ./noc debug-script get_arp shaper-3
- 2012-04-17 14:31:51,176 SSH: Using gmpy
- 2012-04-17 14:31:51,436 Using JSON library: cjson
- 2012-04-17 14:31:51,477 Loading PeriodicRegistry
- 2012-04-17 14:31:51,494 Loading DownloaderRegistry
- 2012-04-17 14:31:51,543 Loading ProfileRegistry
- 2012-04-17 14:31:51,924 Loading ScriptRegistry
- 2012-04-17 14:31:52,171 Setting up 'select' polling method
- 2012-04-17 14:31:52,172 Set up select() poller
- 2012-04-17 14:31:52,172 Loading private ssh key from 'etc/ssh/id_rsa'
- 2012-04-17 14:31:52,173 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "OS.FreeBSD"
- scheme: SSH
- address: "10.22.0.57"
- port: 666
- user: "root"
- password: "xxxxxxx"
- }
- script: "OS.FreeBSD.get_arp"
- 2012-04-17 14:31:52,176 Running socket factory
- 2012-04-17 14:31:52,176 Running script thread
- 2012-04-17 14:31:52,176 Creating transaction id=335629988 method=None callback=None
- 2012-04-17 14:31:52,177 [script-10.22.0.57-OS.FreeBSD.get_arp] Running
- 2012-04-17 14:31:52,177 [script-10.22.0.57-OS.FreeBSD.get_arp] Running script: OS.FreeBSD.get_arp ({})
- 2012-04-17 14:31:52,178 [script-10.22.0.57-OS.FreeBSD.get_arp] cli(arp -an)
- 2012-04-17 14:31:52,178 [script-10.22.0.57-OS.FreeBSD.get_arp] Running new provider
- 2012-04-17 14:31:52,178 [SSH: 10.22.0.57] ==> SSH_START
- 2012-04-17 14:31:52,179 [SSH: 10.22.0.57] set_timeout(30)
- 2012-04-17 14:31:52,179 register_socket(<noc.sa.script.ssh.transport.CLISSHSocket object at 0x7ff39f5a5850>,None)
- 2012-04-17 14:31:53,177 Tick
- 2012-04-17 14:31:53,178 3 TICKS TO EXIT
- 2012-04-17 14:31:53,178 [SSH: 10.22.0.57] Initializing socket
- 2012-04-17 14:31:53,178 [SSH: 10.22.0.57] Connecting 10.22.0.57:666
- 2012-04-17 14:31:53,204 [SSH: 10.22.0.57] event(SSH_VERSION)
- 2012-04-17 14:31:53,205 [SSH: 10.22.0.57] ==> SSH_VERSION
- 2012-04-17 14:31:53,205 [SSH: 10.22.0.57] Remote protocol version 2.0, remote software version OpenSSH_4.5p1 FreeBSD-20061110
- 2012-04-17 14:31:53,206 [SSH: 10.22.0.57] Setting SSH transforms to: in=none none, out=none none
- 2012-04-17 14:31:53,206 [SSH: 10.22.0.57] Setting SSH transform keys
- 2012-04-17 14:31:53,206 [SSH: 10.22.0.57] Sending message type MSG_KEXINIT (20)
- 2012-04-17 14:31:53,206 [SSH: 10.22.0.57] event(SSH_KEY_EXCHANGE)
- 2012-04-17 14:31:53,207 [SSH: 10.22.0.57] ==> SSH_KEY_EXCHANGE
- 2012-04-17 14:31:53,209 [SSH: 10.22.0.57] Receiving message type MSG_KEXINIT (20)
- 2012-04-17 14:31:53,210 [SSH: 10.22.0.57] Receiving server proposals: kex=['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] key=['ssh-dss'] enc_cs=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] enc_sc=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] 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', 'zlib@openssh.com'] comp_sc['none', 'zlib@openssh.com']
- 2012-04-17 14:31:53,210 [SSH: 10.22.0.57] Setting SSH transforms to: in=aes256-ctr hmac-sha1, out=aes256-ctr hmac-sha1
- 2012-04-17 14:31:53,210 [SSH: 10.22.0.57] Selecting diffie-hellman-group-exchange-sha1 ssh-dss, in=(aes256-ctr hmac-sha1 none) out=(aes256-ctr hmac-sha1 none)
- 2012-04-17 14:31:53,211 [SSH: 10.22.0.57] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
- 2012-04-17 14:31:53,217 [SSH: 10.22.0.57] Receiving message type MSG_KEXDH_REPLY (31)
- 2012-04-17 14:31:53,218 [SSH: 10.22.0.57] Sending message type MSG_KEX_DH_GEX_INIT (32)
- 2012-04-17 14:31:53,242 [SSH: 10.22.0.57] Receiving message type MSG_KEX_DH_GEX_REPLY (33)
- 2012-04-17 14:31:53,243 [SSH: 10.22.0.57] Server PK fingerprint: c1:e1:73:82:44:84:91:04:bc:5f:6b:9b:ff:b9:e0:11
- 2012-04-17 14:31:53,245 [SSH: 10.22.0.57] Setting SSH transform keys
- 2012-04-17 14:31:53,245 [SSH: 10.22.0.57] Sending message type MSG_NEWKEYS (21)
- 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] Receiving message type MSG_NEWKEYS (21)
- 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] Using new keys
- 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] event(SSH_AUTH)
- 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] ==> SSH_AUTH
- 2012-04-17 14:31:53,246 [SSH: 10.22.0.57] Requesting service ssh-userauth
- 2012-04-17 14:31:53,247 [SSH: 10.22.0.57] Sending message type MSG_SERVICE_REQUEST (5)
- 2012-04-17 14:31:53,250 [SSH: 10.22.0.57] Receiving message type MSG_SERVICE_ACCEPT (6)
- 2012-04-17 14:31:53,250 [SSH: 10.22.0.57] Starting service ssh-userauth
- 2012-04-17 14:31:53,250 [SSH: 10.22.0.57] event(SSH_AUTH_PASSWORD)
- 2012-04-17 14:31:53,250 [SSH: 10.22.0.57] ==> SSH_AUTH_PASSWORD
- 2012-04-17 14:31:53,251 [SSH: 10.22.0.57] Authenticating with 'none' method
- 2012-04-17 14:31:53,251 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_REQUEST (50)
- 2012-04-17 14:31:53,256 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2012-04-17 14:31:53,256 [SSH: 10.22.0.57] Authentication method 'none' has been failed. Trying next method (publickey,keyboard-interactive)
- 2012-04-17 14:31:53,256 [SSH: 10.22.0.57] Partially authenticated with 'none'. Trying next method
- 2012-04-17 14:31:53,257 [SSH: 10.22.0.57] Authenticating with 'publickey' method
- 2012-04-17 14:31:53,257 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_REQUEST (50)
- 2012-04-17 14:31:53,262 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2012-04-17 14:31:53,262 [SSH: 10.22.0.57] Authentication method 'publickey' has been failed. Trying next method (publickey,keyboard-interactive)
- 2012-04-17 14:31:53,262 [SSH: 10.22.0.57] Partially authenticated with 'publickey'. Trying next method
- 2012-04-17 14:31:53,262 [SSH: 10.22.0.57] Authenticating with 'keyboard-interactive' method
- 2012-04-17 14:31:53,263 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_REQUEST (50)
- 2012-04-17 14:31:53,268 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_PK_OK (60)
- 2012-04-17 14:31:53,268 [SSH: 10.22.0.57] keyboard-interactive instruction:
- 2012-04-17 14:31:53,269 [SSH: 10.22.0.57] keyboard-interactive prompts: [('Password:', False)]
- 2012-04-17 14:31:53,269 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_INFO_RESPONSE (61)
- 2012-04-17 14:31:53,273 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_PK_OK (60)
- 2012-04-17 14:31:53,273 [SSH: 10.22.0.57] keyboard-interactive instruction:
- 2012-04-17 14:31:53,273 [SSH: 10.22.0.57] keyboard-interactive prompts: []
- 2012-04-17 14:31:53,274 [SSH: 10.22.0.57] Sending message type MSG_USERAUTH_INFO_RESPONSE (61)
- 2012-04-17 14:31:53,276 [SSH: 10.22.0.57] Receiving message type MSG_USERAUTH_SUCCESS (52)
- 2012-04-17 14:31:53,277 [SSH: 10.22.0.57] event(SSH_CHANNEL)
- 2012-04-17 14:31:53,277 [SSH: 10.22.0.57] ==> SSH_CHANNEL
- 2012-04-17 14:31:53,277 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_OPEN (90)
- 2012-04-17 14:31:53,280 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
- 2012-04-17 14:31:53,280 [SSH: 10.22.0.57] Opening channel. local=0 remote=0
- 2012-04-17 14:31:53,280 [SSH: 10.22.0.57] event(SSH_PTY)
- 2012-04-17 14:31:53,280 [SSH: 10.22.0.57] ==> SSH_PTY
- 2012-04-17 14:31:53,281 [SSH: 10.22.0.57] Requesting PTY
- 2012-04-17 14:31:53,281 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:31:53,284 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2012-04-17 14:31:53,285 [SSH: 10.22.0.57] event(SSH_SHELL)
- 2012-04-17 14:31:53,285 [SSH: 10.22.0.57] ==> SSH_SHELL
- 2012-04-17 14:31:53,285 [SSH: 10.22.0.57] Requesting shell
- 2012-04-17 14:31:53,285 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:31:53,288 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_WINDOW_ADJUST (93)
- 2012-04-17 14:31:53,288 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2012-04-17 14:31:53,288 [SSH: 10.22.0.57] event(START)
- 2012-04-17 14:31:53,289 [SSH: 10.22.0.57] ==> START
- 2012-04-17 14:31:53,289 [SSH: 10.22.0.57] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^\\S*?(%|\\$)', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>\\S*)#', 'PROMPT'), ('(^---MORE---)', 'PAGER')])
- 2012-04-17 14:31:53,291 [SSH: 10.22.0.57] on_read: 'Last login: Tue Apr 17 15:23:50 2012 from 10.22.0.85\r\r\nCopyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994\r\n\tThe Regents of the University of California. All rights reserved.\r\n'
- 2012-04-17 14:31:53,292 [SSH: 10.22.0.57] match '([Uu]sername|[Ll]ogin):'
- 2012-04-17 14:31:53,292 [SSH: 10.22.0.57] event(USERNAME)
- 2012-04-17 14:31:53,292 [SSH: 10.22.0.57] ==> USERNAME
- 2012-04-17 14:31:53,293 [SSH: 10.22.0.57] set_patterns([('[Pp]assword:', 'PASSWORD'), ('^(?P<hostname>\\S*)#', 'PROMPT')])
- 2012-04-17 14:31:53,293 [SSH: 10.22.0.57] submit(u'root',bulk_lines=None)
- 2012-04-17 14:31:53,293 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_DATA (94)
- 2012-04-17 14:31:53,294 [SSH: 10.22.0.57] on_read: '\r\nFreeBSD 6.3-PRERELEASE (WHITESMP_IPSTEALTH) #0: Sat Mar 6 14:12:29 EET 2010\r\n'
- 2012-04-17 14:31:53,298 [SSH: 10.22.0.57] on_read: '[root@OneShaper-3 ~]# '
- 2012-04-17 14:31:53,299 [SSH: 10.22.0.57] on_read: 'r'
- 2012-04-17 14:31:53,300 [SSH: 10.22.0.57] on_read: 'oot\r\n'
- 2012-04-17 14:31:53,300 [SSH: 10.22.0.57] on_read: '-bash: root: command not found\r\n'
- 2012-04-17 14:31:53,300 [SSH: 10.22.0.57] on_read: '[root@OneShaper-3 ~]# '
- 2012-04-17 14:31:54,301 Tick
- 2012-04-17 14:31:54,302 Resetting wait ticks
- 2012-04-17 14:31:55,298 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:31:55,299 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:31:56,301 Tick
- 2012-04-17 14:31:56,301 Resetting wait ticks
- 2012-04-17 14:31:57,301 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:31:57,302 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:31:57,302 Tick
- 2012-04-17 14:31:57,302 Resetting wait ticks
- 2012-04-17 14:31:58,304 Tick
- 2012-04-17 14:31:58,304 Resetting wait ticks
- 2012-04-17 14:31:59,305 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:31:59,305 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:31:59,306 Tick
- 2012-04-17 14:31:59,306 Resetting wait ticks
- 2012-04-17 14:32:00,307 Tick
- 2012-04-17 14:32:00,307 Resetting wait ticks
- 2012-04-17 14:32:01,309 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:01,309 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:01,310 Tick
- 2012-04-17 14:32:01,310 Resetting wait ticks
- 2012-04-17 14:32:02,312 Tick
- 2012-04-17 14:32:02,312 Resetting wait ticks
- 2012-04-17 14:32:03,314 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:03,314 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:03,315 Tick
- 2012-04-17 14:32:03,315 Resetting wait ticks
- 2012-04-17 14:32:04,316 Tick
- 2012-04-17 14:32:04,316 Resetting wait ticks
- 2012-04-17 14:32:05,317 Tick
- 2012-04-17 14:32:05,317 Resetting wait ticks
- 2012-04-17 14:32:05,318 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:05,318 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:06,319 Tick
- 2012-04-17 14:32:06,319 Resetting wait ticks
- 2012-04-17 14:32:07,320 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:07,321 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:07,321 Tick
- 2012-04-17 14:32:07,321 Resetting wait ticks
- 2012-04-17 14:32:08,323 Tick
- 2012-04-17 14:32:08,323 Resetting wait ticks
- 2012-04-17 14:32:09,325 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:09,325 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:09,325 Tick
- 2012-04-17 14:32:09,325 Resetting wait ticks
- 2012-04-17 14:32:10,326 Tick
- 2012-04-17 14:32:10,326 Resetting wait ticks
- 2012-04-17 14:32:11,327 Tick
- 2012-04-17 14:32:11,327 Resetting wait ticks
- 2012-04-17 14:32:11,329 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:11,329 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:12,331 Tick
- 2012-04-17 14:32:12,331 Resetting wait ticks
- 2012-04-17 14:32:13,333 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:13,333 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:13,334 Tick
- 2012-04-17 14:32:13,334 Resetting wait ticks
- 2012-04-17 14:32:14,336 Tick
- 2012-04-17 14:32:14,336 Resetting wait ticks
- 2012-04-17 14:32:15,337 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:15,338 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:15,338 Tick
- 2012-04-17 14:32:15,338 Resetting wait ticks
- 2012-04-17 14:32:16,340 Tick
- 2012-04-17 14:32:16,340 Resetting wait ticks
- 2012-04-17 14:32:17,341 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:17,342 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:17,343 Tick
- 2012-04-17 14:32:17,343 Resetting wait ticks
- 2012-04-17 14:32:18,346 Tick
- 2012-04-17 14:32:18,346 Resetting wait ticks
- 2012-04-17 14:32:19,346 [SSH: 10.22.0.57] Receiving message type MSG_CHANNEL_REQUEST (98)
- 2012-04-17 14:32:19,346 [SSH: 10.22.0.57] Sending message type MSG_CHANNEL_FAILURE (100)
- 2012-04-17 14:32:19,347 Tick
- 2012-04-17 14:32:19,347 Resetting wait ticks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement