Posted by Agent Kith on 29 Sep 2016 in Under The Sun
Cryptic Error with Cisco Prime Collaboration Deployment
Here’s an interesting problem, wondering how many of you out there use PCD and got stuck trying to add an ESXi host?
If you use CLI and look at the tomcat logs you will see this error:
2016-09-30 10:27:49,747 INFO [pool-3-thread-16] vmware.ESXiHostInfo.<init> - Creating object
2016-09-30 10:27:49,748 ERROR [pool-3-thread-16] db.DBEntity.hexStringToByteArray - Exception parsing int
java.lang.NumberFormatException: For input string: "k4"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at com.cisco.ucmap.db.DBEntity.hexStringToByteArray(DBEntity.java:228)
at com.cisco.ucmap.db.DBEntity.decrypt(DBEntity.java:157)
at com.cisco.ucmap.validation.ESXiValidation.isDSinESXiHost(ESXiValidation.java:223)
at com.cisco.ucmap.resources.custom.PreESXiHostCreate.findNFSMount(PreESXiHostCreate.java:398)
at com.cisco.ucmap.resources.custom.PreESXiHostCreate.call(PreESXiHostCreate.java:176)
at com.cisco.ucmap.resources.custom.PreESXiHostCreate.call(PreESXiHostCreate.java:42)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2016-09-30 10:27:49,748 ERROR [pool-3-thread-16] validation.ESXiValidation.isDSinESXiHost - javax.crypto.IllegalBlockSizeException: Invalid input.
2016-09-30 10:27:49,748 ERROR [pool-3-thread-16] custom.PreESXiHostCreate.findNFSMount - javax.crypto.IllegalBlockSizeException: Invalid input.
2016-09-30 10:27:49,748 INFO [pool-3-thread-16] resources.RestMessage.<init> - creating object
2016-09-30 10:27:49,748 INFO [pool-3-thread-16] resources.RestMessage.setKey - key = [esxihost.fail.to.mount.ucmapnfs]
If you see this error, it’s because your root password of your ESXi machine is more than 15 characters long. Shortern the root password to 15 and under and Bob’s your uncle! I’ve googled this for days and didn’t find the solution.
Hoping this will quickly help somebody who faced the same problem.
Advertising
About The Author
Founder and lead architect of Snakeoil OS - the ultimate audiophile operating system for music playback. My primary focus is in applying technology without losing the human touch.