Software Defined Networking
1827372 Members
5011 Online
109963 Solutions
New Discussion

Re: SDN controller sample app deployment failure

 
shdeepti
Visitor

SDN controller sample app deployment failure

I installed the flare sdn sdk and created the flare sample app war. I renamed the same to a zip file and tried to deploy the same through the flare controller UI. But its getting stuck there on the UI, though no error message is displayed.

I haven't added the base license yet so, I am getting an alert (Severe) about the license in the ui. Also I am getting “null pointer exception” in the flare ui logs.

Can the lack of license be a reason for the apps not getting deployed?

Please let me know the problem with the installation/deployment and how to fix the same?

 

 

Deepti Sharma

Technology Consultant

HP Enterprise Services

India

3 REPLIES 3
J-Padinhakara
Visitor

Re: SDN controller sample app deployment failure

Hi Deepti

 

Some pointers:

  1.    Hope you created the sample app using the gen-sdn-app command utility that comes with the SDK
    eg:
    $ bin/gen-sdn-app ~/dev/sdn-apps/health-monitor hm hp OpenFlowSwitch \
    "Device Health Monitor" "Hewlett-Packard" \
    "Application for monitoring health of network devices." health 
  2. While creating the above, check if there were any errors reported in the console.
  3. If the app zip is created without any errors, the next place to look out would be the /opt/sdn/virgo/serviceability/logs/log.log file. Just do a tail of this as you attempt the deployment from flare UI > Applications. We might get more clues to the the nullpointerexception that you mentioned in this file.
  4. Typical errors during deployment could be due to unresolved dependencies with other packages, classes, etc.

Hope that helps

~Javed

Javed Padinhakara
shdeepti
Visitor

Re: SDN controller sample app deployment failure

Hello Javed,

 

Thanks for the reply. 

I was getting the "No license found"  alerts in the UI.

So I created and added the base license in the controller. It deployment is successfully worked this time.

 

Thanks

Deepti

sdnindia
Trusted Contributor

Re: SDN controller sample app deployment failure

Hi,

Good to know that you got your problem solved.

Please feel free to reply incase you have more questions around the same topic or open a new thread if new  topic.
If you feel your question has been answered, please do let us know by marking the response as an 'accepted solution’.

Thanks
HP SDN Team