Created
December 14, 2024 17:22
-
-
Save allenrobel/bcfcace899e6e1180e307ad606015ede to your computer and use it in GitHub Desktop.
500
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Below is: | |
1. The 500 error payload with the controller response. | |
2. A 200 response with payload for comparison. | |
I believe this could be due to the way the extensionValues are constructured. | |
---------------------------- | |
Payload with 500 response | |
---------------------------- | |
2024-12-13 16:41:38,034 - DEBUG - [dcnm.DcnmVrf.push_diff_attach.2964] DcnmVrf.push_diff_attach: TX controller: verb: POST, path: /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/f1/vrfs/attachments, payload: [ | |
{ | |
"lanAttachList": [ | |
{ | |
"deployment": true, | |
"export_evpn_rt": "", | |
"extensionValues": "", | |
"fabric": "f1", | |
"freeformConfig": "", | |
"import_evpn_rt": "", | |
"instanceValues": "{\"loopbackId\":\"\",\"loopbackIpAddress\":\"\",\"loopbackIpV6Address\":\"\",\"switchRouteTargetImportEvpn\":\"\",\"switchRouteTargetExportEvpn\":\"\"}", | |
"serialNumber": "FOX2109PGD0", | |
"vlan": 0, | |
"vrfName": "ansible-vrf-int1" | |
}, | |
{ | |
"deployment": true, | |
"export_evpn_rt": "", | |
"extensionValues": "{\"VRF_LITE_CONN\":\"[]\",\"MULTISITE_CONN\":[]}", | |
"fabric": "f1", | |
"freeformConfig": "", | |
"import_evpn_rt": "", | |
"instanceValues": "{\"loopbackId\":\"\",\"loopbackIpAddress\":\"\",\"loopbackIpV6Address\":\"\",\"switchRouteTargetImportEvpn\":\"\",\"switchRouteTargetExportEvpn\":\"\"}", | |
"serialNumber": "FOX2109PGCS", | |
"vlan": 0, | |
"vrfName": "ansible-vrf-int1" | |
} | |
], | |
"vrfName": "ansible-vrf-int1" | |
} | |
] | |
2024-12-13 16:41:39,108 - DEBUG - [dcnm.DcnmVrf.push_diff_attach.2972] DcnmVrf.push_diff_attach: RX controller: verb: POST, path: /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/f1/vrfs/attachments, response: { | |
"DATA": { | |
"Error": "Internal Server Error", | |
"message": "com.google.gson.JsonArray incompatible with com.google.gson.JsonObject", | |
"path": "/rest/top-down/fabrics/f1/vrfs/attachments", | |
"status": "500", | |
"timestamp": "2024-12-14 02:41:39.1" | |
}, | |
"MESSAGE": "Internal Server Error", | |
"METHOD": "POST", | |
"REQUEST_PATH": "https://172.22.150.244:443/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/f1/vrfs/attachments", | |
"RETURN_CODE": 500 | |
} | |
---------------------------- | |
Payload with 200 response | |
---------------------------- | |
2024-12-13 16:37:06,512 - DEBUG - [dcnm.DcnmVrf.push_diff_attach.2964] DcnmVrf.push_diff_attach: TX controller: verb: POST, path: /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/f1/vrfs/attachments, payload: [ | |
{ | |
"lanAttachList": [ | |
{ | |
"deployment": true, | |
"export_evpn_rt": "", | |
"extensionValues": "", | |
"fabric": "f1", | |
"freeformConfig": "", | |
"import_evpn_rt": "", | |
"instanceValues": "{\"loopbackId\":\"\",\"loopbackIpAddress\":\"\",\"loopbackIpV6Address\":\"\",\"switchRouteTargetImportEvpn\":\"\",\"switchRouteTargetExportEvpn\":\"\"}", | |
"serialNumber": "FOX2109PGD0", | |
"vlan": 0, | |
"vrfName": "ansible-vrf-int1" | |
}, | |
{ | |
"deployment": true, | |
"export_evpn_rt": "", | |
"extensionValues": "", | |
"fabric": "f1", | |
"freeformConfig": "", | |
"import_evpn_rt": "", | |
"instanceValues": "{\"loopbackId\":\"\",\"loopbackIpAddress\":\"\",\"loopbackIpV6Address\":\"\",\"switchRouteTargetImportEvpn\":\"\",\"switchRouteTargetExportEvpn\":\"\"}", | |
"serialNumber": "FOX2109PGCS", | |
"vlan": 0, | |
"vrfName": "ansible-vrf-int1" | |
} | |
], | |
"vrfName": "ansible-vrf-int1" | |
} | |
] | |
2024-12-13 16:37:07,461 - DEBUG - [dcnm.DcnmVrf.push_diff_attach.2972] DcnmVrf.push_diff_attach: RX controller: verb: POST, path: /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/f1/vrfs/attachments, response: { | |
"DATA": { | |
"ansible-vrf-int1-[FOX2109PGCS/cvd-1211-spine]": "SUCCESS", | |
"ansible-vrf-int1-[FOX2109PGD0/cvd-1212-spine]": "SUCCESS" | |
}, | |
"MESSAGE": "OK", | |
"METHOD": "POST", | |
"REQUEST_PATH": "https://172.22.150.244:443/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/f1/vrfs/attachments", | |
"RETURN_CODE": 200 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment