Page MenuHomePhabricator

Move pybal_config to an LVS service
Closed, ResolvedPublic

Description

Currently the pybal_config backend of cache_misc is defined as randomized over multiple hosts using the hiera list of puppetmaster directly. This should be moved to an LVS service exposing a singular internal service hostname.

Event Timeline

BBlack moved this task from Backlog to LoadBalancer on the Traffic board.

Well... LVS itself relies on pybal_config of course... :)

I don't think it uses it directly. LVS/pybal talks directly to etcd, whereas this is just an HTTP view of the same data.

(well, beyond that, I think it's exposing the old text files even, not the new etcd data?).

@BBlack you are correct saying it isn't used by pybal anymore, but incorrect when saying it's exposing the old text files: the current files are generated from etcd.

ah ok, the format threw me off, it makes sense now :)

Change 315531 had a related patch set uploaded (by BBlack):
cache_misc: pybal_config: use puppetmaster1001.eqiad only

https://gerrit.wikimedia.org/r/315531

See patch above. I think we can skip over the LVS bit here, until some later date when we have more than one backend defined per-datacenter. We also can't/shouldn't really be using mixed eqiad+codfw backends in this place today (that's for later when cache_misc properly supports it at all).

Change 315531 merged by BBlack:
cache_misc: pybal_config: use puppetmaster1001.eqiad only

https://gerrit.wikimedia.org/r/315531

BBlack claimed this task.