Skip to content

best way to bypass fabio consul integration? #437

@holtwilkins

Description

@holtwilkins

Hey there, we're running Fabio 1.5.6-go1.9.2 and Consul 1.0.3.

Our logs lately are filled with

Feb 08 07:17:12 ip-10-2-211-82 consul[3725]:     2018/02/08 07:17:12 [ERR] consul: "KVS.Get" RPC failed to server 10.2.210.211:8300: rpc error making call: Permission denied
Feb 08 07:17:12 ip-10-2-211-82 consul[3725]:     2018/02/08 07:17:12 [ERR] http: Request GET /v1/kv/fabio/config?consistent=, error: rpc error making call: Permission denied from=127.0.0.1:53538
Feb 08 07:17:12 ip-10-2-211-82 consul[3725]:     2018/02/08 07:17:12 [ERR] consul: "KVS.Get" RPC failed to server 10.2.211.111:8300: rpc error making call: rpc error making call: Permission denied
Feb 08 07:17:12 ip-10-2-211-82 consul[3725]:     2018/02/08 07:17:12 [ERR] http: Request GET /v1/kv/fabio/noroute.html?consistent=, error: rpc error making call: rpc error making call: Permission denied from=127.0.0.1:53630
Feb 08 07:17:13 ip-10-2-211-82 consul[3725]:     2018/02/08 07:17:13 [ERR] consul: "KVS.Get" RPC failed to server 10.2.210.111:8300: rpc error making call: rpc error making call: Permission denied```

I'd rather not give fabio a consul ACL token to keep fabio nice and simple.  Is there a way I can tell it to not look for these things in consul?  I may very well convert the `noroute` page to be a file on disk, but how about the config?  Ideally there's a global "don't try to look up things in consul KV so my logs don't get spammed" flag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions