f5-appsvcs-extension
f5-appsvcs-extension copied to clipboard
GSLB Server and proberPool not created
Environment
- Application Services Version: 3.38.0
- BIG-IP Version: 15.1.5
Summary
Trying to create using PATCH method a GSLB configuration that will create a GSLB Server with Prober Pool. The declaration also tries to create the prober pool itself but provides the following error: { "code": 422, "errors": [ "/Common/Shared/ACME-PAOLO-02: should NOT have additional properties" ], "declarationFullId": "", "message": "declaration is invalid" }
Steps To Reproduce
Steps to reproduce the behavior:
- Submit the following declaration using PATCH method to AS3:
[
{
"op": "add",
"path": "/Common/Shared/ACME-PAOLO-02",
"value": {
"class": "GSLB_Server",
"serverType": "bigip",
"monitors": [
],
"dataCenter": {
"bigip": "/Common/testDataCenter"
},
"proberPreferred": "pool",
"proberPool": {
"use": "prober_pool_02"
},
"devices":[
{
"label": "ACME-PAOLO-02",
"address": "1.2.9.20"
}
],
"virtualServers": [
{
"name": "ACME-PAOLO_VS2",
"address": "1.2.9.20",
"port": 0
}
],
"prober_pool_02": {
"class": "GSLB_Prober_Pool",
"members": [
{
"server": {
"bigip": "/Common/ACME-PAOLO"
},
"memberOrder": 0
}
],
"lbMode": "global-availability"
}
}
}
]
- Observe the following error response:
{
"code": 422,
"errors": [
"/Common/Shared/ACME-PAOLO-02: should NOT have additional properties"
],
"declarationFullId": "",
"message": "declaration is invalid"
}
Expected Behavior
GSLB Server ACME-PAOLO-02 created with prober pool prober_pool_02 also created by the same declaration and referenced within the created GSLB Server
Actual Behavior
The declaration doesn't create the objects and replies with the error provided.