Yifan Xing created MESOS-9875:
---------------------------------

             Summary: Mesos did not respond correctly when operations should 
fail
                 Key: MESOS-9875
                 URL: https://issues.apache.org/jira/browse/MESOS-9875
             Project: Mesos
          Issue Type: Bug
            Reporter: Yifan Xing


For testing persistent volumes with `OPERATION_FAILED/ERROR` feedbacks, we 
sshed into the mesos-agent and made it unable to create subdirectories in 
/srv/mesos/work/volumes, however, mesos did not respond any operation failed 
response. Instead, we received `OPERATION_FINISHED` feedback.


Steps to recreate the issue:

1. Ssh into a magent.
2. Make it impossible to create a persistent volume (we expect the agent to 
crash and reregister, and the master to release that the operation is 
`OPERATION_DROPPED`):

* cd /srv/mesos/work (if it doesn't exist mkdir /srv/mesos/work/volumes)
 * chattr -RV +i volumes (then no subdirectories can be created)

3. Launch a service with persistent volumes with the constraint of only using 
the magent modified above.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to