Declarative Onboarding / Configuration not or partially deployed and configuration deletion
Hey guys
I recently experimented with DO and I am kind of confused. I installed the DO app as described in the guide and tried a simple DO declaration. The only configuration that changed after the Postman POST request were DB vars for UI advisory (enabled, color green, hostname /Common/hostname). Network interfaces, hostname, NTP servers etc. were not changed.
I changed the advisory stuff from color green to blue and the hostname to /Common/bigip. It worked out in the first place but some time later it switched back to the old configuration without hitting a key.
This is a weird behavior. I searched the Internet to wipe the DO configuration but found nothing. Can you give me some hints about what I am doing wrong and/or deleting the DO configuration?
This is my JSON declarationfrom the F5 DO example, slightly eddited.
{
"schemaVersion": "1.0.0",
"class": "Device",
"async": true,
"webhook": "https://example.com/myHook",
"label": "my BIG-IP declaration for declarative onboarding",
"Common": {
"class": "Tenant",
"mySystem": {
"class": "System",
"hostname": "octopus.ocean.com",
"cliInactivityTimeout": 1200,
"consoleInactivityTimeout": 1200,
"autoPhonehome": false
},
"myDns": {
"class": "DNS",
"nameServers": [
"192.168.124.1"
],
"search": [
"ocean.com"
]
},
"myNtp": {
"class": "NTP",
"servers": [
"0.pool.ntp.org",
"1.pool.ntp.org",
"2.pool.ntp.org"
],
"timezone": "UTC+2"
},
"guestUser": {
"class": "User",
"userType": "regular",
"password": "guestNewPass1",
"partitionAccess": {
"Common": {
"role": "guest"
}
}
},
"anotherUser": {
"class": "User",
"userType": "regular",
"password": "myPass1word",
"shell": "none",
"partitionAccess": {
"all-partitions": {
"role": "guest"
}
}
},
"myProvisioning": {
"class": "Provision",
"ltm": "nominal",
"gtm": "minimum"
},
"external": {
"class": "VLAN",
"tag": 2901,
"mtu": 1500,
"interfaces": [
{
"name": "1.1",
"tagged": true
}
],
"cmpHash": "dst-ip"
},
"external-self": {
"class": "SelfIp",
"address": "192.168.180.4/24",
"vlan": "external",
"allowService": "default",
"trafficGroup": "traffic-group-local-only"
},
"default": {
"class": "Route",
"gw": "192.168.180.1",
"network": "default",
"mtu": 1500
},
"dbvars": {
"class": "DbVariables",
"ui.advisory.enabled": true,
"ui.advisory.color": "green",
"ui.advisory.text": "/Common/hostname"
}
}
}
For reseting the config see https://clouddocs.f5.com/products/extensions/f5-declarative-onboarding/latest/troubleshooting.html
Outside of that see the /var/log/restnoded/restnoded.log as it may have hints and also see discussion if it helps as if you see error better open an issue in the github:
https://community.f5.com/t5/technical-forum/f5-declarative-onboarding-error-422/td-p/314455