chronos icon indicating copy to clipboard operation
chronos copied to clipboard

REST API haven't check namespace limit

Open michaelzhye opened this issue 11 years ago • 0 comments

Job run failed when I submit a too short namespace name. But haven't deny my post at chronos rest api.

E0825 15:12:50.077370 14221 slave.cpp:3112] Container '3d0efa47-7c61-4c55-9a7e-c36ee8ba2a98' for executor 'ct:1440486769112:2:qadspmon:' of framework '20150513-163714-16912812-5050-1151-0000' failed to start: Failed to 'docker pull :5000/qa/dspmon:latest': exit status = exited with status 1 stderr = time="2015-08-25T15:12:49+08:00" level="fatal" msg="Invalid namespace name (qa), only [a-z0-9_] are allowed, size between 4 and 30"

michaelzhye avatar Aug 26 '15 11:08 michaelzhye