Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-2730

Validation preventing new openshift providers for valid data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 2.9.0
    • User Interface
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False

      While running the latest images from quay.io/kubev2v/, I am encountering a very strange validation issue in the openshift provider creation form. I have the following fields filled:

      project: openshift-mtv
      type: openshift virtualization
      provider resource name: mtv-2715-provider
      url: https://api.crc.testing:6443
      service account bearer token: <pasted generated token>
      CA certificate: <fetched from url>

      After filling all of this out, the 'Create provider' button is disabled and I cannot create the provider. However, if I delete 1 character from the "provider resource name" field (e.g. 'mtv2715-provider'), it will re-enable the create button. And if I add one character to the "provider resource name" field (e.g. 'mtv-2715-provider1', it will also re-enable the button. Adding a second character to the name (e.g. 'mtv-2715-provider11') makes the button disabled again. So there seems to be some strange validation behavior that depends on whether the length of certain fields are even or odd...

              aturgema Aviv Turgeman
              jjongsma@redhat.com Jonathon Jongsma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: