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

Consider moving CREATE_DISK validations to SLRP.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • storage

    Description

      The CreateDisk.target_type and CreateDisk.target_profile (introduced in MESOS-9275) fields are currently validated by the master. We should consider deferring the validation to SLRP for the following reasons:
      1. The validations are very specific to storage resource providers, and we might want to relax that in the future. The code would be more cohesive if all the validations are done at the same place.
      2. Specifically, the validation of target_profile is not complete: the master can only validate its existence, but not its validity since the master does not have access to the disk profile adaptor.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chhsia0 Chun-Hung Hsiao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: