Uploaded image for project: 'Coopr'
  1. Coopr
  2. COOPR-664

Handle labels sent to providers better

    XMLWordPrintableJSON

    Details

    • Rank:
      1|hzyk1z:

      Description

      Providers limit the characters allowed in some of their fields. We should evaluate what we allow as identifiers and determine the best course of action. Should we sanitize? Fail on submission?

      Here's an example... Google does not allow disk labels which start with a number or include a capital letter.

      Unexpected Error Occurred in FogProviderGoogle.create: #<ArgumentError: Parameter 'disk' has an invalid value: et-HA756-1002. Must match: /^[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?$/.>
      

        Attachments

          Activity

            People

            • Assignee:
              nitin Nitin Motgi
              Reporter:
              chris Chris Gianelloni
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: