Skip to content

Instantly share code, notes, and snippets.

@blackwood821
Created May 14, 2021 15:10
Show Gist options
  • Save blackwood821/f68c393db78ebb326fa8ca8f3007d257 to your computer and use it in GitHub Desktop.
Save blackwood821/f68c393db78ebb326fa8ca8f3007d257 to your computer and use it in GitHub Desktop.
[root@headnode (us-west-rno) ~]# sdc-server list
HOSTNAME             UUID                                 VERSION    SETUP    STATUS      RAM  ADMIN_IP       
cn01                 44454c4c-3300-1050-8051-b5c04f393033     7.0     true   unknown  1048193  10.10.65.50    
headnode             44454c4c-4c00-1039-8053-b9c04f4a4832     7.0     true   running   262049  10.10.65.10    
[root@headnode (us-west-rno) ~]# sdc-oneachnode -n headnode uptime
{"name":"sdc-oneachnode","hostname":"headnode","pid":215433,"component":"URConnection","level":50,"err":{"message":"connect timeout","name":"Error","stack":"Error: connect timeout\n    at null.<anonymous> (/zones/690741eb-28bf-4920-9eac-bcbc728cdf4f/root/opt/smartdc/sdc/node_modules/urclient/lib/mq.js:178:13)\n    at Timer.listOnTimeout [as ontimeout] (timers.js:121:15)"},"msg":"amqp error","time":"2021-05-14T15:10:11.012Z","v":0}

VError: amqp error: connect timeout
    at URConnection._disconnect (/zones/690741eb-28bf-4920-9eac-bcbc728cdf4f/root/opt/smartdc/sdc/node_modules/urclient/lib/mq.js:220:17)
    at Connection._connect.fail (/zones/690741eb-28bf-4920-9eac-bcbc728cdf4f/root/opt/smartdc/sdc/node_modules/urclient/lib/mq.js:311:8)
    at Connection.emit (events.js:117:20)
    at null.<anonymous> (/zones/690741eb-28bf-4920-9eac-bcbc728cdf4f/root/opt/smartdc/sdc/node_modules/urclient/lib/mq.js:179:8)
    at Timer.listOnTimeout [as ontimeout] (timers.js:121:15)
[root@headnode (us-west-rno) ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment