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

Invalid kinesis settings will pass the configuration validation in config-tool

    XMLWordPrintable

Details

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

    Description

      Description of problem:

      In config-tool web console, set Logs Storage as ELasticsearch and set Logs Producer as Kinesis.

      Input invalid kinesis stream name, access key, access secret or AWS region, all invalid settings will pass the configuration validation.

      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 and Kinesis in AWS

      $ 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"
      }
      

       

      Kinesis in AWS

      2. configure Elasticsearch and kinesis in config-tool web console
      3. input invalid Kinesis settings one by one

      4. click "Validate Configuration Changes" one by one

      Actual results:

      All invalid Kinesis settings will pass configuration validation.

      Invalid aws region

      invalid aws access key

      invalid kinesis stream name

      Expected results:

      Config-tool should throw out error when input invalid Kinesis settings

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: