blablacar / dgr

Container build and runtime tool
Apache License 2.0
249 stars 21 forks source link

Inverstigate Caps in mount name. #121

Closed nyodas closed 8 years ago

nyodas commented 8 years ago

When

mountPoints:
    name: influxData

Dgr crash with

13:14:51 FATAL            dgr/commands/dgr.go:101 Cannot construct aci or pod                  err=Cannot read manifest path=./aci-manifest.yml err2=open ./cnt-manifest.yml: no such file or directory
Caused by : Cannot unmarshall manifest
Caused by : error unmarshaling JSON: ACName must contain only lower case alphanumeric characters plus "-"

Possibly because mountPoint name have to fit the appc spec and not contains caps.

n0rad commented 8 years ago

from appc code : ValidACName = regexp.MustCompile("^[a-z0-9]+([-][a-z0-9]+)*$")

Also, logs should be better on this since refacto of v57