This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
coreos: | |
units: | |
- name: format-volume.service | |
command: start | |
content: | | |
[Unit] | |
Description=Formats the secondary drive | |
After=dev-xvdb.device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: http://server.rancher-stack.6b6992d6.svc.dockerapp.io/v1 is not accessible | |
ERROR: http://server.rancher-stack.6b6992d6.svc.dockerapp.io/v1 is not accessible | |
ERROR: http://server.rancher-stack.6b6992d6.svc.dockerapp.io/v1 is not accessible | |
ERROR: http://server.rancher-stack.6b6992d6.svc.dockerapp.io/v1 is not accessible | |
ERROR: http://server.rancher-stack.6b6992d6.svc.dockerapp.io/v1 is not accessible | |
ERROR: http://server.rancher-stack.6b6992d6.svc.dockerapp.io/v1 is not accessible | |
ERROR: Could not reach http://server.rancher-stack.6b6992d6.svc.dockerapp.io/v1. Giving up. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server-1 | 2016-03-18T19:05:42.019173885Z 2016-03-18 19:05:42,018 ERROR [:] [] [] [] [tp682774205-466] [i.g.i.g.s.ApiRequestFilterDelegate ] Unhandled exception in API for request [io.github.ibuildthecloud.gdapi.request.ApiRequest@3701f90c] java.lang.NullPointerException: null | |
server-1 | 2016-03-18T19:05:42.019283960Z at io.cattle.platform.iaas.api.auditing.AuditServiceImpl.logRequest(AuditServiceImpl.java:77) ~[cattle-framework-auditing-0.5.0-SNAPSHOT.jar:na] | |
server-1 | 2016-03-18T19:05:42.019296788Z at io.cattle.platform.iaas.api.auditing.AuditLogsRequestHandler.handle(AuditLogsRequestHandler.java:23) ~[cattle-framework-auditing-0.5.0-SNAPSHOT.jar:na] | |
server-1 | 2016-03-18T19:05:42.019303448Z at io.github.ibuildthecloud.gdapi.servlet.ApiRequestFilterDelegate.doFilter(ApiRequestFilterDelegate.java:86) ~[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na] | |
server-1 | 2016-03-18T19:05:42.019309418Z at io.cattle.platform.api.servlet.ApiRequestFilter$1.runInContext(ApiRequestFilter.java:90) [cattle-framework |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server-1 | 2016-03-18T11:56:40.779355901Z time="2016-03-18T11:56:40Z" level=info msg="Stack Create Event Done" eventId=b2f8a4c1-296c-480e-9724-457555a63182 resourceId=1e11 | |
server-1 | 2016-03-18T18:48:42.550951404Z 2016-03-18 18:48:42,550 ERROR [:] [] [] [] [ecutorService-5] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Failed to get ping from agent [42] count [1] | |
server-1 | 2016-03-18T18:49:05.714196774Z 2016-03-18 18:49:05,713 ERROR [:] [] [] [] [ecutorService-1] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Failed to get ping from agent [42] count [1] | |
server-1 | 2016-03-18T18:49:10.714974411Z 2016-03-18 18:49:10,714 ERROR [:] [] [] [] [cutorService-10] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Failed to get ping from agent [42] count [2] | |
server-1 | 2016-03-18T18:49:15.715713598Z 2016-03-18 18:49:15,715 ERROR [:] [] [] [] [cutorService-10] [i.c.p.a.s.ping.impl.PingMonitorImpl ] Failed to get ping from agent [42] count [3] | |
server-1 | 2016-03-18T18:49:20.716779290Z 2016-03-18 18:49:20,716 ERROR [:] [] [] [] [ecutorService |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elasticsearch: | |
image: 'elasticsearch:2.2' | |
command: 'elasticsearch -Des.discovery.zen.minimum_master_nodes=3 -Des.cluster.name=my_app_es_1 -Des.discovery.zen.ping.unicast.hosts=elasticsearch-1:9300,elasticsearch-2:9300,elasticsearch-3:9300,elasticsearch-4:9300,elasticsearch-5:9300 -Des.network.publish_host=_ethwe:ipv4_ -Des.network.bind_host=0' | |
deployment_strategy: every_node | |
environment: | |
- ES_HEAP_SIZE=4g | |
ports: | |
- '9200:9200' | |
- '9300:9300' | |
tags: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2015-05-10 22:07:53,158][WARN ][org.elasticsearch ] Exception cause unwrapping ran for 10 levels... | |
org.elasticsearch.transport.RemoteTransportException: [search1.localdomain][inet[/172.31.43.234:9300]][indices:data/write/index] | |
Caused by: org.elasticsearch.transport.RemoteTransportException: [search7.localdomain][inet[/172.31.37.234:9300]][indices:data/write/index] | |
Caused by: org.elasticsearch.transport.RemoteTransportException: [search1.localdomain][inet[/172.31.43.234:9300]][indices:data/write/index] | |
Caused by: org.elasticsearch.transport.RemoteTransportException: [search7.localdomain][inet[/172.31.37.234:9300]][indices:data/write/index] | |
Caused by: org.elasticsearch.transport.RemoteTransportException: [search1.localdomain][inet[/172.31.43.234:9300]][indices:data/write/index] | |
Caused by: org.elasticsearch.transport.RemoteTransportException: [search7.localdomain][inet[/172.31.37.234:9300]][indices:data/write/index] | |
Caused by: org.elasticsearch.transport.RemoteTransportException: [search1.localdomain][ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XPOST localhost:9200/test/Materials/Steel/_update?pretty=true -d ' | |
{ | |
"lang": "groovy", | |
"script_file": "updateDocument", | |
"scripted_upsert":true, | |
"params": { | |
"update": { | |
"foo": "bar" | |
}, | |
"timestamp": 130 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Counter = function(value) { | |
var count; | |
if(typeof value === 'number') | |
count = value; | |
else | |
count = 0; | |
return { | |
increment: function(num) { count = count + (num || 1); return this }, | |
decrement: function(num) { count = count - (num || 1); return this }, |