Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-4969

Invalid aws region setting passed the elasticsearch configuration validation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • quay-v3.8.1
    • config-tool
    • False
    • None
    • False

      Description of problem:

      When input invalid Elasticsearch  AWS region in config-tool web console and trigger validation, got "Configuration Validated".

      Version-Release number of selected component (if applicable):

      quay 3.8.1
      registry.redhat.io/quay/quay-operator-rhel8@sha256:5b549ee6c6bffb3c92390c8959873d7b29cc9d6393a93831f65b8c2236d33690
      registry.redhat.io/quay/quay-rhel8@sha256:67132c68b4e5231de5981dc65e1c97cab3b56170534ccc09e2352a4d319f04ee
      

      How reproducible:

      always

      Steps to Reproduce:
      1.  set up a workable Elasticsearch in AWS us-east-1 region

      $ curl -u quay:Quay123? https://search-whues-ce5ddmizkfx4qefcv6udfd3ybe.us-east-1.es.amazonaws.com
      {
        "name" : "411e67356f5ddadeb2c9c4bd42306651",
        "cluster_name" : "301721915996:whues",
        "cluster_uuid" : "-pyGScPnSGCotUjm9tkZ_A",
        "version" : {
          "number" : "7.10.2",
          "build_flavor" : "oss",
          "build_type" : "tar",
          "build_hash" : "unknown",
          "build_date" : "2022-09-02T09:02:50.490868Z",
          "build_snapshot" : false,
          "lucene_version" : "8.7.0",
          "minimum_wire_compatibility_version" : "6.8.0",
          "minimum_index_compatibility_version" : "6.0.0-beta1"
        },
        "tagline" : "You Know, for Search"
      } 

      2.  configure Elasticsearch in config-tool web console
      3.  input invalid Elasticsearch AWS region "bogus_aws_region"

      4. click "Validate Configurations Changes"

      Actual results:

      The invalid AWS region setting passed the configuration validation.

      the validation result about invalid AWS region setting

      Expected results:

      config-tool should throw out error about this invalid setting.

              Unassigned Unassigned
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: