When dealing with T221769: Upgrade cloudservices1003/1004 to stretch/mitaka, we noticed there is a divergence in the roles/profiles for cloudservices nodes between eqiad1 and codfw1dev.
In eqiad1:
role::wmcs::openstack::eqiad1::services_primary role::wmcs::openstack::eqiad1::services_secondary
in codfw1dev:
role::wmcs::openstack::codfw1dev::services
According to @Andrew:
18:47 <arturo> could you briefly describe what is the diff between services_primary and secondary andrewbogott ? 18:48 <andrewbogott> at this point there should be very little difference in the server config — most services are active/active 18:48 <andrewbogott> of course the primary is ns-0/recursor-0 and the secondary is ns1-/recursor-1 18:48 <andrewbogott> And nothing is pointing at the rest API on the secondary currently 18:48 <andrewbogott> but all designate services and pdns services should be the same in both places. 18:49 <arturo> in codfw1dev there is no diff between them (they use some simplified ::services role) 18:49 <andrewbogott> Each server has its own mysq database, which is used as a local cache for pdns 18:49 <arturo> should we use the chance to do the same in eqiad1? 18:49 <andrewbogott> sure. I'd want to make really sure to not accidentally swap their IPs
We should probably simplify this code and unify the eqiad1 one into a single role.