Troubleshooting

 

Φ Mininet Error – The guest is trying to switch to the PAE mode which is currently disabled by default in VirtualBox

pae is disabled in virtualbox

Φ Manually enable the PAE mode in Settings -> System -> Processor as shown below:

Enable PAE mode


Φ PermGen Space exception while running maven to build OpendayLight Controller – InvocationTargetException: PermGen space

Φ Either set MAVEN_OPTS environment variable from commandline as set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=256m or from System Properties -> Advanced -> Environment Variables.


Φ How to skip test cases while building opendaylight controller code

Φ Use this command – “mvn clean install -DskipTests”


Φ Missing Constraint: Import-Package: org.codehaus.jackson.jaxrs; version=”0.0.0″

Φ In pom.xml,  under Import-packages tag, replace “org.codehaus.jackson.jaxrs” with com.fasterxml.jackson.jaxrs.base & com.fasterxml.jackson.jaxrs.json.


Φ Error:onSessionInitialized(ConsumerContext) in PingProvider cannot override onSessionInitialized(ConsumerContext) in AbstractBindingAwareProviderConstraint: Import-Package: org.codehaus.jackson.jaxrs; version=”0.0.0″

Φ onSessionInitialized(ConsumerContext) in AbstractBindingAwareProviderConstraint  is a deprecated method and should not be used. Don’t override this method.


Φ [INFO] Writing OBR metadata java.io.IOException: Failed to delete C:\Users\\.m2\repository\repository.xml while trying to rename C:\Users\\AppData\Local\Temp\repository4250314698733569574.xml

ΦThis error is observed on running mvn clean install. Run mvn clean install again.


Φ [Error] Could not read password while doing git push

Φ Use git instead of https. For example instead of

git remote add origin https://<user_name>@bitbucket.org/<module-name>.git

Use

git remote add origin git@bitbucket.org:<module-name>.git


Φ [Error] remote: Permission denied (publickey) while doing git push

Φ Set up SSH public key as mentioned here.


Φ Unable to invoke RPC on NE using RESTCONF

Φ There is a bug in opendaylight – Bug 486


Φ Unable to invoke RPC on NE using mountInstance.getRpcService()

Φ There is a bug in opendaylight – Bug 560


Φ Opendaylight’s Netconf Protocol Plugin doesn’t load yang files present in /cache/schema folder if the netconf server does not advertise IETF monitoring

Φ There is a bug in opendaylight – Bug  628


Φ YANG to Java conversion – Not able to define a container/list with identifier name “Class” in yang

Φ There is a bug in opendaylight – Bug 680


Φ error: Cannot delete the branch ‘new-branch’ which you are currently on

Φ To resolve this error, switch to some other branch and then try deleting new-branch as below:
$ git checkout some-other-branch
$ git branch -D new-branch
$ git push origin :new-branch