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

CDS blueprint processor error (can't create directory)

XMLWordPrintable

      Hello.
      I tried to instantiate vLB CDS demo (using SDC and Postman requests).
      The instantiation request failed with error:
      "statusMessage": "Failed to create self-serve assignment for vnf with vnf-id=a1123caf-39dc-4da9-b91a-f98290e88d1e with error: Failed to get RA assignments: Error from BlueprintProcessingClient"

      In blueprint processor log I see this message:
      2020-09-04 15:13:30,033|09d29335-eccd-4ebe-95ce-e138b51c9681||DefaultDispatcher-worker-3||/api/v1/execution-service/process||ERROR|||onap-cds-blueprints-proc
      essor-69d46dc9b-gxf9g|||| fail processing request id 269413d1-4dd9-481e-a1c6-8c0664f79092
      java.io.IOException: Unable to create directory /opt/app/onap/blueprints/deploy/test/1.0.0
      at org.apache.commons.io.FileUtils.forceMkdir(FileUtils.java:2491)
      at org.onap.ccsdk.cds.controllerblueprints.core.FileExtensionFunctionsKt.reCreateDirs(FileExtensionFunctions.kt:40)
      at org.onap.ccsdk.cds.controllerblueprints.core.FileExtensionFunctionsKt$reCreateNBDirs$2.invokeSuspend(FileExtensionFunctions.kt:95)
      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
      at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:561)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:727)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:667)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:655)

      The blueprints directory looks like:

      bash-4.3$ ls -la /opt/app/onap/blueprints
      total 8
      drwxr-xr-x 1 onap onap 36 Jul 14 16:10 .
      drwxr-xr-x 1 onap onap 38 May 27 16:36 ..
      drwxr-xr-x 2 onap onap 6 Jul 14 16:10 archive
      drwxr-xr-x 2 1000 1000 6 Jul 2 06:57 deploy
      drwxr-xr-x 2 onap onap 6 Jul 14 16:10 working

            avpetr23 avpetr23
            avpetr23 avpetr23
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: