Closed rosanarguez closed 4 years ago
Can you upload the following log files? (1) The db-init service. (2) The db service. (3) The camera discovery service. (4) The entrance analytics service.
Thanks for answering, @xwu2git
I've been searching for that log files but I couldn't find them. Should I enable some flag when running/deploy the code? Or, where them should be?
Thanks!
List all services: docker stack services smtc
Show logs: docker service logs -f {service-name}
Thank you again!
Here are the logs of the mentioned services: analytics_entrance.log camera_discovery.log db.log db_init.log
Seems to be a problem loading the db, doesn't it?
It looks that you don't have enough disk space for DB operations.
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:23:32,948][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.8gb[13.1%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:24:03,015][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.7gb[13.1%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:24:33,079][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.7gb[13.1%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:25:03,153][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.6gb[13%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:25:33,251][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.5gb[12.9%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:26:03,453][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.5gb[12.9%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:26:33,578][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.4gb[12.8%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:27:03,690][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.3gb[12.8%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:27:33,754][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.3gb[12.7%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:28:03,836][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.2gb[12.6%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:28:33,896][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15.1gb[12.6%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:29:03,980][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15gb[12.5%], replicas will not be assigned to this node
smtc_db.1.j4ktcn1if10b@rosana-G3-3579 | [2020-09-14T15:29:34,116][INFO ][o.e.c.r.a.DiskThresholdMonitor] [a2MfLxB] low disk watermark [85%] exceeded on [a2MfLxBfQhGpbnbz35EGBA][a2MfLxB][/usr/share/elasticsearch/data/nodes/0] free: 15gb[12.5%], replicas will not be assigned to this node
Please try to use a bigger disk. If you happen to use CentOS and the root partition is fixed (about 50GB), please see this Wiki to migrate the docker data partition to somewhere that has sufficient disk space. https://github.com/OpenVisualCloud/Dockerfiles/wiki/BKM:-Change-Docker-Data-Location
Oh, ok! Thank you so much! I'll try a bigger disk and I'll take a look to the wiki.
I'm trying to run any of the scenarios available, stadium or traffic, using docker. But, after install and deploy the docker containers and services (using
make start_docker_swarm
), when I openhttps://<hostname>
only the interface and background image are load, but nothing else appears:Does anyone have the same problem?