we have Installed Terracotta servers using Composite template.
As you know, instance are not created with first run . as below error is displayed in template logs.
2016-05-03 13:34:56.763 UTC (com.softwareag. … .ApplyTemplateOperation ) [SPM.APPLY1462282460513.UnknownKey] WARN: Cannot Create Instance. REASON: Product ***** does not support instance management., Explanation: The Platform Manager plugin for product ****** does not support instance management., Action: See the Software AG Platform Manager documentation to double check if product ****** supports instance management. If the product supports instance management, contact Software AG Global Support.
and we have to run the Template again for instance to be created. and this is applicable to all products we installed. But for terrocatta even though logs shows above error. CCE dashboard shows instance of terrocata being created. ( Ex: Instance: TSA-ptseelm-lx4679.ikeadt.com)
So when i see the folders in my target server, they seem be partial. i mean installation was not completely done.
so i run my template again.
Installation is completed. Applying Template shows 100% . Restart lifecycle show fail.
Error in CEE wrapper logs :
INFO | jvm 1 | 2016/05/30 13:01:04 | 2016-05-30 13:01:04.329 UTC (com.softwareag.platform.management. … .JobImpl ) [SPM.JobImpl.SPMJOBE0003] ERROR: Job 3 failed!
INFO | jvm 1 | 2016/05/30 13:01:04 | 2016-05-30 13:01:04.329 UTC (com.softwareag.platform.management. … .JobImpl ) [SPM.JobImpl.SPMJOBE0003] ERROR: java.lang.RuntimeException: Error
occured while executing lifecycle operation on a remote managed node with alias PTE_TST_INFRA_COM_01. Remote task status is [SPMCOME0007] Un-handled internal server error. Failed to execut
e ./startup.sh from /ikea/lpp/webm/b2b/profiles/SPM/…/…/Terracotta/server/wrapper/bin >> IOException: Failed to execute ./startup.sh from /ikea/lpp/webm/b2b/profiles/SPM/…/…/Terracotta/
Terrcoatta wrapper logs indicates - Instance is already running.
I was not able to start or restart or stop Terracotta from CCE dashboard.
so when i login to my Target server. Kill the Terrocotta process. i was able to stop/stop/restart from CCE and Active(M) and passive (S) nodes are correctly displayed.
Question: 1) why instance was created (partially) during first run of template ? when logs clearly cannot create instance as showed above.
2) any way to fix this issue ?
Version : wm 910