cheluskin opened a new issue #4792:
URL: https://github.com/apache/trafficcontrol/issues/4792
requires an interface, although it is specified. Observed in the master
version
`{
"data": {
"alerts": [
{
"text": "a server must have at least one interface",
"level": "error"
}
]
},
"status": 400,
"config": {
"method": "POST",
"transformRequest": [
null
],
"transformResponse": [
null
],
"jsonpCallbackParam": "callback",
"url": "/api/3.0/servers",
"data": {
"updPending": false,
"tcpPort": 80,
"httpsPort": 443,
"ipIsService": true,
"ip6IsService": false,
"statusId": 1,
"hostName": "AMS-2120463",
"domainName": "am1.myawesomehost.com",
"cdnId": 2,
"profileId": 10,
"cachegroupId": 1,
"typeId": 12,
"interfaceName": "eth0",
"ipAddress": "51.15.3.208",
"ipNetmask": "51.15.3.0",
"ipGateway": "51.15.3.1",
"interfaceMtu": 1500,
"physLocationId": 1
},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json;charset=utf-8"
},
"cached": false,
"withCredentials": true
},
"statusText": "Bad Request",
"xhrStatus": "complete"
}`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]