I am in the midst of testing overrides on 1.5.2, and I am running into issues where my attempts to do manual overrides are not working... I'm thinking of a use case where, rather than using the auto-discovery feature, I can have different fabio servers that will read from different consul k/vs on the same cluster, so each fabio picks up its own set of unique routes.....
a. If I tried to enter a override in the consul k/v of fabio/config (where I have it set as default)... it does not appear to do anything.....
My route overrides were going to be very simple... I tried two use cases. Neither does anything.
- I have auto discovery find all routes, then I add an route del {servicename}
- I turned off auto discovery by not adding the tags to the service, then I tried to do an route add {servicename} {path}
b. If I tried to enter in a override in the GUI, it complains on a server error, and a corresponding 403
Looking at the logs from Fabio. The 1st one is when I updated the consul k/v. It seemed to have acknowledged my k/v update, but it didn't do anything.
The 2nd one corresponds to the internal server error prompt that I get. As you see, it complains of a 403.
I'm still new on using Fabio, so any guidance on it would be much appreciated.
2017/10/13 16:50:25 [INFO] consul: Manual config changed to #26493793
2017/10/13 16:50:43 [ERROR] Unexpected response code: 403 (rpc error: rpc error: Permission denied)
I am in the midst of testing overrides on 1.5.2, and I am running into issues where my attempts to do manual overrides are not working... I'm thinking of a use case where, rather than using the auto-discovery feature, I can have different fabio servers that will read from different consul k/vs on the same cluster, so each fabio picks up its own set of unique routes.....
a. If I tried to enter a override in the consul k/v of fabio/config (where I have it set as default)... it does not appear to do anything.....
My route overrides were going to be very simple... I tried two use cases. Neither does anything.
b. If I tried to enter in a override in the GUI, it complains on a server error, and a corresponding 403
Looking at the logs from Fabio. The 1st one is when I updated the consul k/v. It seemed to have acknowledged my k/v update, but it didn't do anything.
The 2nd one corresponds to the internal server error prompt that I get. As you see, it complains of a 403.
I'm still new on using Fabio, so any guidance on it would be much appreciated.
2017/10/13 16:50:25 [INFO] consul: Manual config changed to #26493793
2017/10/13 16:50:43 [ERROR] Unexpected response code: 403 (rpc error: rpc error: Permission denied)