Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-1419

Fix issue in secrets creation

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • testing
    • None

    Description

      Our framework creates both basic test secret and docker pull secret in the namespace provided for the cluster in test_config.yaml - but admission controller is always deployed in the default namespace and hence it fails at that phase - this is consistently seen in gke regression as the clusters are created dynamically - other regressions use static clusters which might have secrets created in all namespaces at some stage - this needs to be fixed

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          arunkumar Arunkumar Senthilnathan (Inactive) created issue -
          arunkumar Arunkumar Senthilnathan (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s 2.0.0 [ 16148 ]
          arunkumar Arunkumar Senthilnathan (Inactive) made changes -
          Summary Fix race condition in docker auth secret creation Fix issue in docker auth secret creation
          arunkumar Arunkumar Senthilnathan (Inactive) made changes -
          Description In GKE regression, it is observed that most of the times job fails in jenkins at DAC creation phase - behavior was not seen when executed from IDE but when I ran the test from command line, same issue occurred - when I looked at the cluster after failure, noticed that docker auth secret was not created even though the func was called - looks there is a race condition there and the code moves on to creating DAC even before secret gets created - fix is to wait on the creation of secret and 30s should be more than enough for this
          arunkumar Arunkumar Senthilnathan (Inactive) made changes -
          Summary Fix issue in docker auth secret creation Fix issue in secrets creation
          arunkumar Arunkumar Senthilnathan (Inactive) made changes -
          Description Our framework creates both basic test secret and docker pull secret in the namespace provided for the cluster in test_config.yaml - but admission controller is always deployed in the default namespace and hence it fails at that phase - this is consistently seen in gke regression as the clusters are created dynamically - other regressions use static clusters which might have secrets created in all namespaces at some stage - this needs to be fixed
          arunkumar Arunkumar Senthilnathan (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          arunkumar Arunkumar Senthilnathan (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            arunkumar Arunkumar Senthilnathan (Inactive)
            arunkumar Arunkumar Senthilnathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty