Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6661

maintenance status page has inconsistent formatting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • 1.0.1
    • None
    • HTTP API
    • Mesos Version: 1.01
      OS: Ubuntu 16.04 (both on the client and cluster nodes)
      HTTP Interface: Chrome browser

    Description

      Description:
      The MachineID lists on the /maintenance/status page are formatted differently. Specifically, with one machine `down` and one machine `draining`, the page is formatted as shown below. Note that the `draining_machines` list has a label ("id") on the machine ID. This formatting extends to multiple items in each respective list.

      {
        "down_machines": [
          {
            "hostname": "agent2",
            "ip": "172.17.0.2"
          }
        ],
        "draining_machines": [
          {
            "id": {
              "hostname": "agent3",
              "ip": "172.17.0.3"
            }
          }
        ]
      }
      

      Steps to reproduce:

      1. Add two agents to the maintenance schedule
      2. Move one agent to the down state
      3. View the status page at <masterIP:port>/maintenance/status

      Proposed solution:
      Unify the format. Either way is fine - personally I would prefer them to both be in the current form of `down_machines` with no label on the MachineIDs - but regardless, they should be the same.

      Attachments

        Activity

          People

            Unassigned Unassigned
            BlanchardA Andrew Blanchard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: