You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Marc Roos <M....@f1-outsourcing.eu> on 2017/12/23 13:50:15 UTC

Local volume not getting any data

 
I am not getting what I am doing wrong here. 

Influx is writing the data at the correct location
[marc@m02 mesos]# ls -lart 
/var/lib/mesos/provisioner/containers/d481a7ad-e404-4d6e-baea-9c06a6f9f2
28/backends/copy/rootfses/fef9b89e-4be6-45df-be8f-fa367ea55648/influxdbd
ata/
total 0
drwxr-xr-x 22 root root 289 Dec 23 14:44 ..
drwxr-xr-x  4 root root  30 Dec 23 14:44 .
drwxr-xr-x  2 root root  21 Dec 23 14:44 meta
drwxr-xr-x  3 root root  23 Dec 23 14:44 data

But is should end up here not?
[marc@m02 mesos]# ls -lart 
/var/lib/mesos/volumes/roles/foo/influxdb#influxdbdata#5435256f-e7e7-11e
7-88f3-0a58c0a80001/
total 0
drwxr-xr-x 3 root root 72 Dec 23 14:43 ..
drwxr-xr-x 2 root root  6 Dec 23 14:43 .




{
  "id": "influxdb",
  "cmd": null,
  "cpus": 0.5,
  "mem": 128,
  "instances": 1,
  "acceptedResourceRoles": ["*"],
  "container": {
    "type": "MESOS",
    "docker": {
      "image": "influxdb",
      "credential": null,
      "forcePullImage": false
    },
    "volumes": [
      {
        "containerPath": "influxdbdata",
        "persistent": {
          "type": "root",
          "size": 100
          },
        "mode": "RW" 
      }
    ]
  },
  "env": {
    "INFLUXDB_META_DIR": "/influxdbdata/meta",
    "INFLUXDB_DATA_DIR": "/influxdbdata/data",
    "INFLUXDB_REPORTING_DISABLED": "true",
    "INFLUXDB_HTTP_AUTH_ENABLED": "true",
    "INFLUXDB_ADMIN_ENABLED": "true",
    "INFLUXDB_ADMIN_USER": "admin",
    "INFLUXDB_ADMIN_PASSWORD": "xxxxx" 
  },

    "healthChecks": [
    {
      "gracePeriodSeconds": 240,
      "intervalSeconds": 10,
      "timeoutSeconds": 10,
      "maxConsecutiveFailures": 10,
      "port": 8086,
      "path": "/ping",
      "protocol": "HTTP",
      "ignoreHttp1xx": false
    }
  ]
}