[jira] [Commented] (MESOS-8410) Reconfiguration policy fails to handle mount disk resources.
[ https://issues.apache.org/jira/browse/MESOS-8410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16321116#comment-16321116 ] Vinod Kone commented on MESOS-8410: --- Should this be a blocker for 1.5.0? > Reconfiguration policy fails to handle mount disk resources. > > > Key: MESOS-8410 > URL: https://issues.apache.org/jira/browse/MESOS-8410 > Project: Mesos > Issue Type: Bug >Reporter: James Peach >Assignee: Benno Evers > > We deployed {{--reconfiguration_policy="additive"}} on a number of Mesos > agents that had mount disk resources configured, and it looks like the agent > confused the size of the mount disk with the size of the work directory > resource: > {noformat} > E0106 01:54:15.000123 1310889 slave.cpp:6733] EXIT with status 1: Failed to > perform recovery: Configuration change not permitted under 'additive' policy: > Value of scalar resource 'disk' decreased from 183 to 868000 > {noformat} > The {{--resources}} flag is > {noformat} > --resources="[ > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 868000 > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/a" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/b" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/c" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/d" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/e" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/f" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/g" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/h" > } > } > } > } > ] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MESOS-8410) Reconfiguration policy fails to handle mount disk resources.
[ https://issues.apache.org/jira/browse/MESOS-8410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16320849#comment-16320849 ] Benno Evers commented on MESOS-8410: The issue was caused by an incorrect handling of multiple resources with the same name. I've opened a review with a fix at https://reviews.apache.org/r/65074/ > Reconfiguration policy fails to handle mount disk resources. > > > Key: MESOS-8410 > URL: https://issues.apache.org/jira/browse/MESOS-8410 > Project: Mesos > Issue Type: Bug >Reporter: James Peach >Assignee: Benno Evers > > We deployed {{--reconfiguration_policy="additive"}} on a number of Mesos > agents that had mount disk resources configured, and it looks like the agent > confused the size of the mount disk with the size of the work directory > resource: > {noformat} > E0106 01:54:15.000123 1310889 slave.cpp:6733] EXIT with status 1: Failed to > perform recovery: Configuration change not permitted under 'additive' policy: > Value of scalar resource 'disk' decreased from 183 to 868000 > {noformat} > The {{--resources}} flag is > {noformat} > --resources="[ > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 868000 > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/a" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/b" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/c" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/d" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/e" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/f" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/g" > } > } > } > } > , > { > "name": "disk", > "type": "SCALAR", > "scalar": { > "value": 183 > }, > "disk": { > "source": { > "type": "MOUNT", > "mount": { > "root" : "/srv/mesos/volumes/h" > } > } > } > } > ] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)