Forum Discussion

Archie_128388's avatar
Archie_128388
Icon for Nimbostratus rankNimbostratus
Jul 25, 2016

iApp works in production, but fails sys load verify.

Hi Everyone, I have an iApp that I wrote on our F5 (Viprion) and it's doing everything I wanted, without issue. I want to upgrade to 12.1 (currently on v12) and when I do a tmsh load sys config ver...
  • Fred_Slater_856's avatar
    Jul 25, 2016

    Archie- Tcl processes quoted strings, allowing for variable substitution. The Tcl validator is attempting to interpret the unpaired brace as a boundary character. A simplified reproduction of the error is this:

     

        sys application template x {
        actions {
            definition {
                implementation {
                    set x "{"
                }
                presentation {
                }
            }
        }
    

     

    root@(big82)(cfg-sync Standalone)(ModuleNotLicensed:Active)(/Common)(tmos) load sys config verify... Syntax Error:(/config/bigip_script.conf at line: 63644) incomplete command

    Escaping should work. Did you escape all of the quoted braces? I tried building an iapp with all of the statements above, and could not get it to fail.