You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/10/14 15:56:21 UTC

[GitHub] [trafficcontrol] smalenfant opened a new issue #5150: ORT: unavailable_server_retry_responses having parsing issues

smalenfant opened a new issue #5150:
URL: https://github.com/apache/trafficcontrol/issues/5150


   ## I'm submitting a ...
   -  bug report
   
   ## Traffic Control components affected ...
   -  Traffic Ops ORT
   
   ## Current behavior:
   Only quotes string with 2 parameters are valid for `unavailable_server_retry_responses`. Other valid string get ignored and parameters are not been written into the parent.config.
   
   ## Expected behavior:
   Setting `unavailable_server_retry_responses` to `503` should work. Shouldn't need to be quoted either.
   
   ## Minimal reproduction of the problem with instructions:
   
   set mso.unavailable_server_retry_responses to `503`. 
   Result: `ERROR: parentdotconfig.go:251: 2020-10-14T15:13:03.917552091Z: Malformed unavailable_server_retry_responses parameter '503', not using!`
   
   set mso.unavailable_server_retry_responses to `"503"`.
   Result: `ERROR: parentdotconfig.go:251: 2020-10-14T15:49:28.583433821Z: Malformed unavailable_server_retry_responses parameter '"503"', not using!`
   
   set mso.unavailable_server_retry_responses to `502,503`.
   Result: `ERROR: parentdotconfig.go:251: 2020-10-14T15:13:03.917599943Z: Malformed unavailable_server_retry_responses parameter '502,503', not using!`
    
   set mso.unavailable_server_retry_responses to `"502,503"`.
   Works.
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] mitchell852 commented on issue #5150: ORT: unavailable_server_retry_responses having parsing issues

Posted by GitBox <gi...@apache.org>.
mitchell852 commented on issue #5150:
URL: https://github.com/apache/trafficcontrol/issues/5150#issuecomment-740792835


   can u apply a severity level @smalenfant or @rob05c


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] rob05c commented on issue #5150: ORT: unavailable_server_retry_responses having parsing issues

Posted by GitBox <gi...@apache.org>.
rob05c commented on issue #5150:
URL: https://github.com/apache/trafficcontrol/issues/5150#issuecomment-708505592


   Bug is in the regex here: https://github.com/apache/trafficcontrol/blob/bcd54dfd200e0b389e3f2a80cd626d7b7679db8a/lib/go-atscfg/parentdotconfig.go#L1091


----------------------------------------------------------------
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:
users@infra.apache.org