You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2015/08/01 01:56:04 UTC

[jira] [Updated] (MESOS-3069) Registry operations do not exist for manipulating maintanence schedules

     [ https://issues.apache.org/jira/browse/MESOS-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Wu updated MESOS-3069:
-----------------------------
    Description: 
In order to modify the maintenance schedule in the replicated registry, we will need Operations (src/master/registrar.hpp).

The operations will likely correspond to the HTTP API:
* UpdateMaintenance: Given a blob representing a maintenance schedule, write the blob to the registry.  Possibly perform some verification on the blob.
* UpdateSlaveMaintenanceStatus:  Given a set of machines and a status (action), change the machiness' status in the maintenance schedule.

Possible test(s):
* UpdateMaintenance:
** Add a schedule with 1 slave, 2+ slaves, and 0 slaves.
** Add multiple schedules (different intervals).
** Delete schedules (empty schedule).
* UpdateSlaveMaintenanceStatus:
** Add schedule.
** Change a slave's status.
** Change a slave's status, given a slave that is not in the schedule (slave should be added to the schedule).

  was:
In order to modify the maintenance schedule in the replicated registry, we will need Operations (src/master/registrar.hpp).

The operations will likely correspond to the HTTP API:
* UpdateMaintenance: Given a blob representing a maintenance schedule, write the blob to the registry.  Possibly perform some verification on the blob.
* UpdateSlaveMaintenanceStatus:  Given a single slave/hostname and a status, change the slave's status in the maintenance schedule.

Possible test(s):
* UpdateMaintenance:
** Add a schedule with 1 slave, 2+ slaves, and 0 slaves.
** Add multiple schedules (different intervals).
** Delete schedules (empty schedule).
* UpdateSlaveMaintenanceStatus:
** Add schedule.
** Change a slave's status.
** Change a slave's status, given a slave that is not in the schedule (slave should be added to the schedule).


> Registry operations do not exist for manipulating maintanence schedules
> -----------------------------------------------------------------------
>
>                 Key: MESOS-3069
>                 URL: https://issues.apache.org/jira/browse/MESOS-3069
>             Project: Mesos
>          Issue Type: Task
>          Components: master, replicated log
>            Reporter: Joseph Wu
>            Assignee: Joseph Wu
>              Labels: mesosphere
>
> In order to modify the maintenance schedule in the replicated registry, we will need Operations (src/master/registrar.hpp).
> The operations will likely correspond to the HTTP API:
> * UpdateMaintenance: Given a blob representing a maintenance schedule, write the blob to the registry.  Possibly perform some verification on the blob.
> * UpdateSlaveMaintenanceStatus:  Given a set of machines and a status (action), change the machiness' status in the maintenance schedule.
> Possible test(s):
> * UpdateMaintenance:
> ** Add a schedule with 1 slave, 2+ slaves, and 0 slaves.
> ** Add multiple schedules (different intervals).
> ** Delete schedules (empty schedule).
> * UpdateSlaveMaintenanceStatus:
> ** Add schedule.
> ** Change a slave's status.
> ** Change a slave's status, given a slave that is not in the schedule (slave should be added to the schedule).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)