Skip to content

Instantly share code, notes, and snippets.

@jimsander
Created October 24, 2012 00:54
Show Gist options
  • Save jimsander/3943054 to your computer and use it in GitHub Desktop.
Save jimsander/3943054 to your computer and use it in GitHub Desktop.
Bad handshake
# mysql -uroot -p$mypw provisioning -e "select name,private_dns_address,public_dns_address,current_state from cached_server where name = 'i-8A933DAF'"
+------------+---------------------+--------------------+---------------+
| name | private_dns_address | public_dns_address | current_state |
+------------+---------------------+--------------------+---------------+
| i-8A933DAF | 0.0.0.0 | 138.127.79.254 | RUNNING |
+------------+---------------------+--------------------+---------------+
| i-8A933DAF | 0.0.0.0 | 138.127.79.254 | RUNNING |
| i-80BA4563 | 138.127.79.205 | 138.127.79.205 | RUNNING |
| i-03E144EF | 0.0.0.0 | 0.0.0.0 | TERMINATED |
| i-BE7040F5 | 0.0.0.0 | 0.0.0.0 | TERMINATED |
| i-1CAD4313 | 138.127.79.111 | 138.127.79.111 | TERMINATED |
| i-A9903E79 | 0.0.0.0 | 0.0.0.0 | TERMINATED |
| i-A4363E0C | 138.127.79.221 | 138.127.79.221 | TERMINATED |
| i-1F7C4206 | 138.127.79.219 | 138.127.79.219 | TERMINATED |
| i-D9CD44C6 | 138.127.79.218 | 138.127.79.218 | TERMINATED |
# mysql -uroot -p$mypw provisioning -e "select * from provider_region\G"
*************************** 1. row ***************************
enstratus_region_id: 1
cloud_id: 7
provider_region_id: eucalyptus
active: Y
available: Y
name: eucalyptus
description: eucalyptus
jurisdiction: US
agent_communication: PUBLIC_IP
network_addresses: NULL
2012-10-24 00:51:08,740 INFO [es.cfg.handshake] handshake(): Received incoming handshake from 138.127.79.254
2012-10-24 00:51:08,740 DEBUG [es.cfg.handshake] enter - com.enstratus.provisioning.cloud.ServerManagementFactory.receiveHandshake(i-8A933DAF,138.127.79.254,17,CentOS,0.0.0.0,XXXX,XXXX,[Lcom.enstratus.agent.api.DeviceMapping;@7b436a91)
2012-10-24 00:51:08,740 DEBUG [es.cfg.handshake] enter - com.enstratus.provisioning.cloud.ServerManagementFactory.receiveHandshake(i-8A933DAF,138.127.79.254,17,CentOS,0.0.0.0,XXXX,XXXX,[Lcom.enstratus.agent.api.DeviceMapping;@7b436a91)
2012-10-24 00:51:08,740 INFO [es.cfg.handshake] Receiving handshake from i-8A933DAF/138.127.79.254/0.0.0.0/CentOS/17
2012-10-24 00:51:08,740 INFO [es.cfg.handshake] Receiving handshake from i-8A933DAF/138.127.79.254/0.0.0.0/CentOS/17
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] Claimed ID: i-8A933DAF
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] Claimed ID: i-8A933DAF
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] Remote IP: 138.127.79.254
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] Remote IP: 138.127.79.254
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] Claimed IPs:
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] Claimed IPs:
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] 0.0.0.0
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] 0.0.0.0
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] Remote address is public: true
2012-10-24 00:51:08,740 DEBUG [es.inf.handshake] Remote address is public: true
2012-10-24 00:51:08,749 INFO [es.inf.handshake.lookupServer] Comparing against the claimed IP address set
2012-10-24 00:51:08,749 INFO [es.inf.handshake.lookupServer] Comparing against the claimed IP address set
2012-10-24 00:51:08,749 DEBUG [es.inf.handshake.lookupServer] Claimant=0.0.0.0
2012-10-24 00:51:08,749 DEBUG [es.inf.handshake.lookupServer] Claimant=0.0.0.0
2012-10-24 00:51:08,750 DEBUG [es.inf.handshake.lookupServer] Comparing public 138.127.79.254 against public 0.0.0.0
2012-10-24 00:51:08,750 DEBUG [es.inf.handshake.lookupServer] Comparing public 138.127.79.254 against public 0.0.0.0
2012-10-24 00:51:08,750 DEBUG [es.inf.handshake.lookupServer] No match
2012-10-24 00:51:08,750 DEBUG [es.inf.handshake.lookupServer] No match
2012-10-24 00:51:08,750 DEBUG [es.inf.handshake.lookupServer] Best guess=null
2012-10-24 00:51:08,750 DEBUG [es.inf.handshake.lookupServer] Best guess=null
2012-10-24 00:51:08,750 INFO [es.inf.handshake] lookupServer(): Lookup found: null
2012-10-24 00:51:08,750 INFO [es.inf.handshake] lookupServer(): Lookup found: null
2012-10-24 00:51:08,750 DEBUG [es.cfg.handshake] receiveHandshake(): Magic server finder: null
2012-10-24 00:51:08,750 DEBUG [es.cfg.handshake] receiveHandshake(): Magic server finder: null
2012-10-24 00:51:08,750 WARN [es.cfg.handshake] receiveHandshake(): Received handshake from unknown server: i-8A933DAF/138.127.79.254/17/CentOS/0.0.0.0
2012-10-24 00:51:08,750 WARN [es.cfg.handshake] receiveHandshake(): Received handshake from unknown server: i-8A933DAF/138.127.79.254/17/CentOS/0.0.0.0
2012-10-24 00:51:08,750 DEBUG [es.cfg.handshake] exit - receiveHandshake()
2012-10-24 00:51:08,750 DEBUG [es.cfg.handshake] exit - receiveHandshake()
2012-10-24 00:51:08,750 ERROR [es.cfg.handshake] handshake(): Unknown server: i-8A933DAF/138.127.79.254/0.0.0.0
2012-10-24 00:51:08,750 ERROR [es.cfg.handshake] handshake(): Unknown server: i-8A933DAF/138.127.79.254/0.0.0.0
2012-10-24 00:51:08,750 DEBUG [es.cfg.handshake] exit - com.enstratus.provisioning.agent.HandshakeServiceImpl.handshake()
2012-10-24 00:51:08,750 DEBUG [es.cfg.handshake] exit - com.enstratus.provisioning.agent.HandshakeServiceImpl.handshake()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment