Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

Traffic Router not honoring offline. #1535

Closed
jpappa200 opened this issue Jun 20, 2016 · 5 comments
Closed

Traffic Router not honoring offline. #1535

jpappa200 opened this issue Jun 20, 2016 · 5 comments

Comments

@jpappa200
Copy link
Contributor

When setting an edge from reported to offline Traffic Router will continue to redirect hosts after a snapshot. Setting the host to admin_down will stop the redirects. Going from admin_down to offline will cause a small trickle of redirects about 200 per minute.

@dneuman64
Copy link
Member

To Reproduce:

  1. Set a server from REPORTED to OFFLINE
  2. Snapshot CrConfig
  3. Check PeerStates in TM, the value will now be "" instead of "false".

@dneuman64
Copy link
Member

We should also not let Traffic Router route to a server when it is in this state.

@elsloo
Copy link
Contributor

elsloo commented Jun 20, 2016

Because OFFLINE hosts drop out of the cr-config, we should check for hosts that drop out in general. For example, this could potentially happen when a host is set to REPORTED and then deleted from Traffic Ops. State-wise it would transition from REPORTED to "missing" from the cr-config, which in effect is the same as going from REPORTED to OFFLINE.

@dneuman64 dneuman64 self-assigned this Jun 22, 2016
@dneuman64
Copy link
Member

I tried to reproduce in Traffic Router with both 1.5.x and master and could not. There must have been something else that happened that caused this issue to happen.
There is still an issue in Traffic Monitor, so I will fix that.

@dneuman64
Copy link
Member

Closing this issue as I could not reproduce.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants