Closed bert2002 closed 7 years ago
Hi, just deployed the application in marathon-lb and its somehow failing.
I0111 17:13:47.522706 10041 exec.cpp:161] Version: 1.0.1 I0111 17:13:47.531013 10045 exec.cpp:236] Executor registered on agent 8261c3f5-726a-4256-b831-ba6037fed2ec-S4 I0111 17:13:47.532613 10045 docker.cpp:815] Running docker -H unix:///var/run/docker.sock run --cpu-shares 51 --memory 536870912 -e MARATHON_APP_VERSION=2017-01-11T15:56:09.827Z -e HOST=172.26.105.201 -e MARATHON_APP_LABEL_HAPROXY_GROUP=external -e MARATHON_APP_RESOURCE_CPUS=0.05 -e MARATHON_URL=http://marathon.mesos:8080 -e MARATHON_LB_ID=marathon-lb -e MARATHON_APP_LABEL_HAPROXY_0_VHOST=ssl.mi.example.com -e MARATHON_APP_RESOURCE_GPUS=0 -e MARATHON_APP_DOCKER_IMAGE=mesosphere/letsencrypt-dcos:v1.0.3 -e MESOS_TASK_ID=letsencrypt-dcos.78326f37-d816-11e6-8322-7a83a1e558ba -e PORT=25380 -e MARATHON_APP_RESOURCE_MEM=512.0 -e PORTS=25380 -e LETSENCRYPT_EMAIL=syseng@example.com -e MARATHON_APP_RESOURCE_DISK=0.0 -e PORT_80=25380 -e MARATHON_APP_LABEL_HAPROXY_0_PATH=/.well-known/acme-challenge -e MARATHON_APP_LABELS=HAPROXY_0_VHOST HAPROXY_GROUP HAPROXY_0_PATH -e MARATHON_APP_ID=/letsencrypt-dcos -e PORT0=25380 -e LIBPROCESS_IP=172.26.105.201 -e MESOS_SANDBOX=/mnt/mesos/sandbox -e MESOS_CONTAINER_NAME=mesos-8261c3f5-726a-4256-b831-ba6037fed2ec-S4.c08531ce-f36d-46bc-ac11-410487fe3829 -v /var/lib/mesos/slave/slaves/8261c3f5-726a-4256-b831-ba6037fed2ec-S4/frameworks/ae70e11f-5db0-4519-b702-5d4ca08a500f-0002/executors/letsencrypt-dcos.78326f37-d816-11e6-8322-7a83a1e558ba/runs/c08531ce-f36d-46bc-ac11-410487fe3829/data:/etc/letsencrypt:rw -v /var/lib/mesos/slave/slaves/8261c3f5-726a-4256-b831-ba6037fed2ec-S4/frameworks/ae70e11f-5db0-4519-b702-5d4ca08a500f-0002/executors/letsencrypt-dcos.78326f37-d816-11e6-8322-7a83a1e558ba/runs/c08531ce-f36d-46bc-ac11-410487fe3829:/mnt/mesos/sandbox --net bridge -p 25380:80/tcp --name mesos-8261c3f5-726a-4256-b831-ba6037fed2ec-S4.c08531ce-f36d-46bc-ac11-410487fe3829 mesosphere/letsencrypt-dcos:v1.0.3 WARNING: Your kernel does not support swap limit capabilities, memory limited without swap. Traceback (most recent call last): File "<string>", line 1, in <module> KeyError: 'app'
The dns entry ssl.mi.example.com is pointing to the public agent who is running marathon-lb. I used the json from this repository to build the application.
bert
Hi, just deployed the application in marathon-lb and its somehow failing.
I0111 17:13:47.522706 10041 exec.cpp:161] Version: 1.0.1 I0111 17:13:47.531013 10045 exec.cpp:236] Executor registered on agent 8261c3f5-726a-4256-b831-ba6037fed2ec-S4 I0111 17:13:47.532613 10045 docker.cpp:815] Running docker -H unix:///var/run/docker.sock run --cpu-shares 51 --memory 536870912 -e MARATHON_APP_VERSION=2017-01-11T15:56:09.827Z -e HOST=172.26.105.201 -e MARATHON_APP_LABEL_HAPROXY_GROUP=external -e MARATHON_APP_RESOURCE_CPUS=0.05 -e MARATHON_URL=http://marathon.mesos:8080 -e MARATHON_LB_ID=marathon-lb -e MARATHON_APP_LABEL_HAPROXY_0_VHOST=ssl.mi.example.com -e MARATHON_APP_RESOURCE_GPUS=0 -e MARATHON_APP_DOCKER_IMAGE=mesosphere/letsencrypt-dcos:v1.0.3 -e MESOS_TASK_ID=letsencrypt-dcos.78326f37-d816-11e6-8322-7a83a1e558ba -e PORT=25380 -e MARATHON_APP_RESOURCE_MEM=512.0 -e PORTS=25380 -e LETSENCRYPT_EMAIL=syseng@example.com -e MARATHON_APP_RESOURCE_DISK=0.0 -e PORT_80=25380 -e MARATHON_APP_LABEL_HAPROXY_0_PATH=/.well-known/acme-challenge -e MARATHON_APP_LABELS=HAPROXY_0_VHOST HAPROXY_GROUP HAPROXY_0_PATH -e MARATHON_APP_ID=/letsencrypt-dcos -e PORT0=25380 -e LIBPROCESS_IP=172.26.105.201 -e MESOS_SANDBOX=/mnt/mesos/sandbox -e MESOS_CONTAINER_NAME=mesos-8261c3f5-726a-4256-b831-ba6037fed2ec-S4.c08531ce-f36d-46bc-ac11-410487fe3829 -v /var/lib/mesos/slave/slaves/8261c3f5-726a-4256-b831-ba6037fed2ec-S4/frameworks/ae70e11f-5db0-4519-b702-5d4ca08a500f-0002/executors/letsencrypt-dcos.78326f37-d816-11e6-8322-7a83a1e558ba/runs/c08531ce-f36d-46bc-ac11-410487fe3829/data:/etc/letsencrypt:rw -v /var/lib/mesos/slave/slaves/8261c3f5-726a-4256-b831-ba6037fed2ec-S4/frameworks/ae70e11f-5db0-4519-b702-5d4ca08a500f-0002/executors/letsencrypt-dcos.78326f37-d816-11e6-8322-7a83a1e558ba/runs/c08531ce-f36d-46bc-ac11-410487fe3829:/mnt/mesos/sandbox --net bridge -p 25380:80/tcp --name mesos-8261c3f5-726a-4256-b831-ba6037fed2ec-S4.c08531ce-f36d-46bc-ac11-410487fe3829 mesosphere/letsencrypt-dcos:v1.0.3 WARNING: Your kernel does not support swap limit capabilities, memory limited without swap. Traceback (most recent call last): File "<string>", line 1, in <module> KeyError: 'app'
The dns entry ssl.mi.example.com is pointing to the public agent who is running marathon-lb. I used the json from this repository to build the application.
bert