Skip to content

Instantly share code, notes, and snippets.

View wondermike-zz's full-sized avatar

wondermike-zz

View GitHub Profile
[2015-11-02 10:00:55,926][WARN ][index.indexing.slowlog.index] [qbox-5550920f71626f2b4bb40000-p] [local-dune-44][1] took[10.9s], took_millis[10905], type[products], id[0085503940230033], routing[], source[{"pf_id":"0085503940230033","style_group_id":"0085647","total_stock":"*","status":"1","display":"1","brand":"DUNE_LADIES","old_product_code":"ABERNIE33TAUPE","internal_reference":"A BERNIE","restricted_sites":[],"date_introduced":"1900-01-01 00:00:00","name":"A BERNIE - Patent Pointed Snake Print Court Shoe","promo_flag":"","rank":"29","categories":[{"category_default":0,"category_name":"Animal Attraction","category_code":"4004","category_sequence":70,"category_status":1},{"category_default":1,"category_name":"High Heel","category_code":"3102","category_sequence":999,"category_status":1},{"category_default":0,"category_name":"UP TO £25 OFF","category_code":"4005","category_sequence":999,"category_status":1},{"category_default":0,"category_name":"Working Girl","category_code":"3403","category_sequence":999,"c
[2015-11-03 00:01:03,248][INFO ][transport.couchbase.capi ] [qbox-54f76b9471626f72db720100-t1] bulk index succeeded after 1 tries
[2015-11-03 00:02:18,037][INFO ][transport.couchbase.capi ] [qbox-54f76b9471626f72db720100-t1] bulk index succeeded after 1 tries
[2015-11-03 00:02:18,042][INFO ][transport.couchbase.capi ] [qbox-54f76b9471626f72db720100-t1] bulk index succeeded after 1 tries
[2015-11-03 00:02:18,046][INFO ][transport.couchbase.capi ] [qbox-54f76b9471626f72db720100-t1] bulk index succeeded after 1 tries
[2015-11-03 00:02:18,414][INFO ][transport.couchbase.capi ] [qbox-54f76b9471626f72db720100-t1] bulk index succeeded after 1 tries
[2015-11-03 00:02:18,419][INFO ][transport.couchbase.capi ] [qbox-54f76b9471626f72db720100-t1] bulk index succeeded after 1 tries
[2015-11-03 00:02:18,423][INFO ][transport.couchbase.capi ] [qbox-54f76b9471626f72db720100-t1] bulk index succeeded after 1 tries
[2015-11-03 00:02:18,440][INFO ][transport.couchbase.capi ] [qbox-54f76b9471626f72db720100-t1] bulk index succeede
[2015-11-12 17:15:39,039][DEBUG][action.index ] [qbox-558c380771626f2444000009-t1] [documents][3], node[l4rspI7gTyue3tx8lAp96w], [P], s[STARTED]: Failed to execute [index {[documents][document][7423755], source[{"total_taxes":0.0,"signed_total_before_taxes_with_retention":499999999.99,"items":[{"quantity":99999999999999.99,"tax_id":112521,"tax_value":0.0,"unit":null,"description":"Jos\u00e9 \u00c2ngelo Machado Pinheiro","total":99999999999999.9999,"discount":0.0,"tax_name":"Isento","tax_amount":0.0,"name":"266841350 ","discount_amount":0.0,"subtotal":99999999999999.9999,"unit_price":99999999999999.9999}],"active":true,"interval":11,"end_date":"2050-12-31T00:00:00+00:00","final_date":null,"status":"draft","type":"Template","total_discount":0.0,"client":{"website":null,"fiscal_id":"266841350","address":"alto de moure n\u00ba196\r\nRua do alto de moure","phone":null,"fax":null,"country":"Portugal","email":"miguel.machado.costodio@gmail.com","original_id":1619796,"observations":null,"name":"Miguel \u0
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:25 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2801 200 23372 "-" "Stretcher Ruby Gem 1.19.0" 0.069
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22
new_cluster_attrs = Provision::Core::AttributesCopy.new(cluster, http_allowed_ips: ['172.31.0.0/16'], peering_vpcs: [{account_id: '427193441462', vpc_id: 'vpc-f3d67c96', cidr_block: '172.31.0.0/16'}])
Provision::Core::Factory.build(new_cluster_attrs[:provider], new_cluster_attrs)
# mv the folder to the cluster
cluster.connection.nodes.each {|n| n.scp('/tmp/mph/csp-2.0.80-plugin-notajar') }
# remove old plugin
Provision::ThreadPool.new(cluster.connection.nodes) do |node|
node.ssh %Q{
sudo plugin -r csp
}
end
$ supergiant get spacetime
Name Provider AZ IP Status Core Status Managed Selected
koobearnaytiz_name aws us-east-1b Failed false true true
koobearnaytiz aws us-east-1b Failed false true true
asdf supergiant-demo us-east-1b 54.152.107.59 Failed false true true