Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-1475

sdnc pod not ready: Unable to get location of daexim directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Honolulu Release
    • Guilin Release
    • None

      Guilin Release:

      --> get 404

      Root cause:

      opendaylight-user@root>bundle:list|grep -iv active
      START LEVEL 100 , List Threshold: 50
      ID x State x Lvl x Version x Name
      qqqqnqqqqqqqqqqnqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
      24 x Resolved x 80 x 2.1.13 x Shiro OSGI CADI Plugin, Hosts: 147
      118 x Resolved x 80 x 4.2.6 x Apache Karaf :: Diagnostic :: Boot
      328 x Failure x 80 x 1.6.4 x daexim-impl

      opendaylight-user@root>bundle:diag 328
      daexim-impl (328)
      -----------------

      Status: Failure
      Declarative Services
      Blueprint
      2/4/21, 9:03 AM
      Exception:
      Unable to initialize bean dataExportImportAppProvider
      org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean dataExportImportAppProvider
      ...at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.base/java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalStateException: Unable to get location of daexim directory
      at org.opendaylight.daexim.impl.Util.getDaeximDir(Util.java:124)
      ....at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:591)
      ... 30 more
      Caused by: java.nio.file.FileAlreadyExistsException: /opt/opendaylight/daexim
      ... 41 more

      Possible root cause:

      due to SDNC-1455 /opt/opendaylight/daexim is already created/linked and initialisation of daexim dir fails.

      bash-5.0$ ls -al /opt/opendaylight/
      total 29

      lrwxrwxrwx 1 odl odl 30 Feb 4 08:59 daexim -> /opt/opendaylight/mdsal/daexim

       

      Tested with

      onap/sdnc-image:2.0.5

      onap/sdnc-image:2.0.6-STAGING-20210204T034946Z

       

       

            demskeq8 Alexander Dehn
            demskeq8 Alexander Dehn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: