You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gilbert Song (JIRA)" <ji...@apache.org> on 2019/04/24 20:33:00 UTC
[jira] [Assigned] (MESOS-9355) Persistence volume does not unmount
correctly with wrong artifact URI
[ https://issues.apache.org/jira/browse/MESOS-9355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilbert Song reassigned MESOS-9355:
-----------------------------------
Assignee: Joseph Wu
> Persistence volume does not unmount correctly with wrong artifact URI
> ---------------------------------------------------------------------
>
> Key: MESOS-9355
> URL: https://issues.apache.org/jira/browse/MESOS-9355
> Project: Mesos
> Issue Type: Bug
> Components: agent, containerization
> Affects Versions: 1.5.1, 1.5.2
> Environment: DCOS 1.11.6
> Mesos 1.5.2
> Reporter: Ken Liu
> Assignee: Joseph Wu
> Priority: Critical
> Labels: persistent-volumes
>
> DCOS service json file is like following. When you type wrong uri, for example, "file://root/test/http.tar.bz2", but the correct one is "file:///root/test/http.tar.bz2". Then it will leave all the persistence mount on the agent, and after gc_delay timeout, the mount path is still there.
> It means if it failed 10 times, then there is 10 persistence volume mount on the agent.
> *Excepted Result: When task is failed, dangling mount points should be unmounted correctly.*
> {code:java}
> {
> "id": "/http-server",
> "backoffFactor": 1.15,
> "backoffSeconds": 1,
> "cmd": "python http.py",
> "constraints": [],
> "container": {
> "type": "MESOS",
> "volumes": [
> {
> "persistent": {
> "type": "root",
> "size": 2048,
> "constraints": []
> },
> "mode": "RW",
> "containerPath": "ken-http"
> }
> ]
> },
> "cpus": 0.1,
> "disk": 0,
> "fetch": [
> {
> "uri": "file://root/test/http.tar.bz2",
> "extract": true,
> "executable": false,
> "cache": false
> }
> ],
> "instances": 0,
> "maxLaunchDelaySeconds": 3600,
> "mem": 128,
> "gpus": 0,
> "networks": [
> {
> "mode": "host"
> }
> ],
> "portDefinitions": [],
> "residency": {
> "relaunchEscalationTimeoutSeconds": 3600,
> "taskLostBehavior": "WAIT_FOREVER"
> },
> "requirePorts": false,
> "upgradeStrategy": {
> "maximumOverCapacity": 0,
> "minimumHealthCapacity": 0
> },
> "killSelection": "YOUNGEST_FIRST",
> "unreachableStrategy": "disabled",
> "healthChecks": []
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)