You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Yun WonHyung <pu...@gmail.com> on 2015/07/02 06:49:09 UTC

Marathon is not update docker image.

I have Mesos cluster consists of 9 Ubuntu 14.04 machines on cloud
environment.

ZooKeeper and Mesos-Master is running on 3 machines and Mesos-Slave is
running on 6 machines.

Also, Marathon is running on master node.

Docker registry is private resistry.

I am trying to deploy this container via Marathon:
https://mesosphere.github.io/marathon/docs/rest-api.html#post-/v2/apps

The application is successfully deployed and operated.

After a few days, I am trying to update this container via Marathon:
https://mesosphere.github.io/marathon/docs/rest-api.html#put-/v2/apps/%7Bappid%7D

Then, container is deploying, it becomes locked.

If the Zookeer, Marathon, Mesos-Master is restart, and then you can deploy
and operate normally.


A Search fo /var/log/mesos reveals:

E0526 14:05:29.145584 31390 slave.cpp:2662] Failed to update resources for
container 465b12d4-65a3-4f03-873f-3f41601b1db5 of executor
device-api.1c7a63a7-0353-11e5-8ec8-56847afe9799
running task device-api.1c7a63a7-0353-11e5-8ec8-56847afe9799 on status
update for terminal task, destroying container: Failed to determine cgroup
for the 'cpu' subsystem:
Failed to read /proc/32725/cgroup: Failed to open file
'/proc/32725/cgroup': No such file or directory
Tell us the reason or solution.

Thank you.