Forum Discussion
Hi James- I'd like to help, but I need some more information. Your comment about removing $arguments leads me to believe that the error is occurring during implementation, ie. after you click "Finished" to submit the iApp. I suppose that some command further into your iApp is calling tmsh_modify with arguments that, when handed to mcpd, are throwing an error. You should be able to determine which line is crying foul by looking at the debug output in /var/tmp/scriptd.out. Since the iApp stops execution when the error occurs, the offending command will be the last entry. If the cause is not obvious by then, reply to the post with the tail of scriptd.out and I will try to identify why the offending tmsh command behaves differently in 11.4. -Fred
Hello Fred,
I am getting similar error while executing a script to create the iApp.
SOAP-ENV:Server Exception caught in Management::urn:iControl:Management/ApplicationService::create() Exception: Common::OperationFailed primary_error_code : 21954567 (0x014F0007) secondary_error_code : 0 error_string : 01071abb:3: Cannot create/modify published policy '/TEST01/test.example.co.nz_443.app/test.example.co.nz_443_policy' directly, try specifying a draft folder like '/TEST01/test.example.co.nz_443.app/Drafts/test.example.co.nz_443_policy'.
I can see the debug log is ending properly and no error over there:
............
Ending iApp /Common/test_template_20160930 09/30/2016 13:17:53
Run time 14353 sec
F5 Version: 12.1.0. Its working at 11.6.1.
Appreciate your advice on this.
Best regards
Hyder