Known Issues and Troubleshooting
Mounted resources on API-Doc showing 500:internal server error
ODL API-Doc requires additional patch to enable mounted resources. This is a known issue in ODL. To apply the patch/solution for ODL,
Replace yang-model-util-4.0.13.jar residing at:
opendaylight-0.12.2/system/org/opendaylight/yangtools/yang-model-util/4.0.13/
with the provided JAR file.
Note: Contact IP Infusion Inc. support for the patch file.
To apply the PATCH using .JAR files
OpenDaylight shows certain parsing issues with IP Infusion Inc. generated yang modules. This in turn affects OpenDaylight functions. It can be avoided by changing certain .JAR files in ODL system.
If you have revised JAR file, these revised .JAR files will replace OpenDaylight source JAR files.
To enable the change of the PATCH, OpenDaylight features are needed to be installed again. That can be achieved by:
1. Delete the OpenDaylight/data directory.
2. Replace provided .JAR files with current OpenDaylight/system .jar files.
3. Re-run after clearing OpenDaylight/data, this ODL will have no "data" and will be affected with the PATCH.
4. Re-install all necessary karaf features.
Unavailable-capabilities in hello message
After connecting with netconf device, it advertises all its yang capabilities in its hello message with ODL.
If OpenDaylight shows unavailable capabilities, please try to delete all yang files residing at:
opendaylight-0.12.2/cache/schema/
and attempt to re-connect with netconf-device.
JAVA_HOME not set
If the JAVA_HOME not set error appears when executing the $./bin/karaf command, it can be solved by setting JAVA_HOME to the directory of the local JDK.
To perform that operation, you need to provide local directory address to JAVA_HOME.
To check where the Java binary resides:
$ sudo update-alternatives --config java
There is only one alternative in link group java (providing /usr/bin/java):
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
Nothing to configure.
In our case, the binary for Java 8 resides at:
/usr/lib/jvm/java-8-openjdk-amd/jre/bin/java
With the path known, apply this command to update BASHRC file:
$ echo 'export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre' >> ~/.bashrc
(Make sure that JAVA_HOME ends with /jre.)
OcNOS devices with different product versions cannot connect simultaneously
With the same ODL host machine, OcNOS devices with different product versions (such as SP, DC, or RON) cannot be connected simultaneously.
Also to connect a device with a different OcNOS product version (when it was connected with other one earlier), you need to clean the ODL schema cache.
OcNOS devices with different release versions of the same product can connect simultaneously to the same ODL host machine.
Last modified date: 08/17/2023