You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/05/05 18:38:17 UTC
[GitHub] [trafficserver] ywkaras opened a new issue #7785: Presence of (unused) strategies.yaml causes request to 503
ywkaras opened a new issue #7785:
URL: https://github.com/apache/trafficserver/issues/7785
Here is the test: https://github.com/ywkaras/trafficserver/commit/9b6857fe42d05e645a3faa2802ef993db60e7d14
If I change line 92 to `if False:` , the request returns 200.
Here is the debug trace: https://gist.github.com/ywkaras/12286036e422666f39379ea0a5c941cb
--
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] [trafficserver] jrushford commented on issue #7785: Presence of (unused) strategies.yaml causes request to 503
Posted by GitBox <gi...@apache.org>.
jrushford commented on issue #7785:
URL: https://github.com/apache/trafficserver/issues/7785#issuecomment-833509829
@ywkaras, yes and that’s what’s intended. You override the self detect down in the particular strategy by setting “ignore_self_detect: true”
From: Walt Karas ***@***.***>
Reply-To: apache/trafficserver ***@***.***>
Date: Wednesday, May 5, 2021 at 8:52 PM
To: apache/trafficserver ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [apache/trafficserver] Presence of (unused) strategies.yaml causes request to 503 (#7785)
Looks like this is where it's marked down: https://github.com/apache/trafficserver/blob/f7939769974a54969c18159d65d9ba05a07331f7/proxy/http/remap/NextHopSelectionStrategy.cc#L186<https://urldefense.com/v3/__https:/github.com/apache/trafficserver/blob/f7939769974a54969c18159d65d9ba05a07331f7/proxy/http/remap/NextHopSelectionStrategy.cc*L186__;Iw!!CQl3mcHX2A!QkUApe6FxmeLiKOxwxeCHrMWaBwaowXFJQFSM6a1oPMXwsB6et8EWUspJ3aJbDwlYxiemi8$>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/apache/trafficserver/issues/7785*issuecomment-833186312__;Iw!!CQl3mcHX2A!QkUApe6FxmeLiKOxwxeCHrMWaBwaowXFJQFSM6a1oPMXwsB6et8EWUspJ3aJbDwln4q577o$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ABCXE3VTNL7DD33HXX4U7XTTMH765ANCNFSM44FRKONQ__;!!CQl3mcHX2A!QkUApe6FxmeLiKOxwxeCHrMWaBwaowXFJQFSM6a1oPMXwsB6et8EWUspJ3aJbDwlpBZgMZY$>.
--
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] [trafficserver] ywkaras commented on issue #7785: Presence of (unused) strategies.yaml causes request to 503
Posted by GitBox <gi...@apache.org>.
ywkaras commented on issue #7785:
URL: https://github.com/apache/trafficserver/issues/7785#issuecomment-833547290
Works as designed. Any local host address will be marked as down, if it is used as a host in strategies.yaml, regardless of any self detect settings.
--
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] [trafficserver] ywkaras closed issue #7785: Presence of (unused) strategies.yaml causes request to 503
Posted by GitBox <gi...@apache.org>.
ywkaras closed issue #7785:
URL: https://github.com/apache/trafficserver/issues/7785
--
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] [trafficserver] ywkaras commented on issue #7785: Presence of (unused) strategies.yaml causes request to 503
Posted by GitBox <gi...@apache.org>.
ywkaras commented on issue #7785:
URL: https://github.com/apache/trafficserver/issues/7785#issuecomment-832927937
Here is the debug trace when there is no strategies.yaml: https://gist.github.com/ywkaras/300e5943adae1891efed8d510216f72d
--
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] [trafficserver] ywkaras commented on issue #7785: Presence of (unused) strategies.yaml causes request to 503
Posted by GitBox <gi...@apache.org>.
ywkaras commented on issue #7785:
URL: https://github.com/apache/trafficserver/issues/7785#issuecomment-833186312
Looks like this is where it's marked down: https://github.com/apache/trafficserver/blob/f7939769974a54969c18159d65d9ba05a07331f7/proxy/http/remap/NextHopSelectionStrategy.cc#L186
--
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] [trafficserver] ywkaras commented on issue #7785: Presence of (unused) strategies.yaml causes request to 503
Posted by GitBox <gi...@apache.org>.
ywkaras commented on issue #7785:
URL: https://github.com/apache/trafficserver/issues/7785#issuecomment-833176649
Seeing this in the debug trace:
```
[May 6 02:06:56.667] traffic_server DEBUG: <HostStatus.cc:443 (createHostStat)> (host_statuses) stat name: proxy.process.host_status.172.17.0.2, data: HOST_STATUS_UP,ACTIVE:UP:0:0,LOCAL:UP:0:0,MANUAL:UP:0:0,SELF_DETECT:UP:0
[May 6 02:06:56.667] traffic_server DEBUG: <HostStatus.cc:319 (setHostStatus)> (host_statuses) for host 172.17.0.2 set status: HOST_STATUS_DOWN, Reason:SELF_DETECT
```
Even though `proxy.config.http.parent_proxy.self_detect` is set to 0.
--
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