Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-3277

Error when uploading CBA when Hazelcast cluster is not initialized yet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Honolulu Release
    • Frankfurt Release
    • cds

      2021-04-28 12:01:13,883|3a0bf501-60ec-4bc8-bc75-f5a146087ee9||grpc-default-executor-0||org.onap.ccsdk.cds.controllerblueprints.management.api.BlueprintManagementService/uploadBlueprint||ERROR|||onap-cds-blueprints-processor-cc4fdb547-26c5m|||| request(3a0bf501-60ec-4bc8-bc75-f5a146087ee9): Failed to upload CBAkotlin.UninitializedPropertyAccessException: lateinit property hazelcast has not been initialized
      

      Above issue happens when a CBA is uploaded before hazelcast cluster is initialized.
      This change got introduced along with : CCSDK-3052

      Hazelcast is used to enable CDS pods to notify the rest of the CDS cluster when a CBA got updated locally so they clean their compile cache (if they have an entry for that CBA). Though, the code doesn't make sure that hazelcast cluster is fully initialized before trying to notify using a hazelcast topic. This cause above issue.

       

            jfontaine49 jfontaine49
            jfontaine49 jfontaine49
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: