F5Networks / f5-declarative-onboarding

F5 BIG-IP Declarative Onboarding
Apache License 2.0
58 stars 22 forks source link

Problem with configuring GSLB General Settings if GTM is not provisioned before the declaration is deployed #344

Open Ronnie110755 opened 1 year ago

Ronnie110755 commented 1 year ago

Environment

Summary

I performed a 'load sys config default' on the f5 host. This clears the resource provisioning elements. Following that I attempted to run a declaration to configure the f5 device for running both GTM and LTM services.

I was seeing random errors.

In addition to the random errors I was seeing: 'Declaration fails unexpectedly with log "Public URI path not registered: /tm/gtm/global-settings/general"

The declaration included the following components:

        "myProvisioning": {             "class": "Provision",           "ltm": "nominal",             "gtm": "minimum"

        "gslbGlobals": {             "class": "GSLBGlobals",             "general": {                 "synchronizationEnabled": true,                 "synchronizationGroupName": "do-home-lab",                 "synchronizationTimeTolerance": 10,                 "synchronizationTimeout": 15             }

NOTE: This was the only GSLB parameter in the declaration. The remaining GSLB configuration would be done using AS3.

 The only time I was able to run this declaration successfully was when I manually provisioned the GTM resources prior to running the declaration.

NOTE: After manually provisioning the host ALL of the random errors in addition to the 'PUBLC URI' error no longer occurred.