Page MenuHomePhabricator

Locate cloud puppet prefixes that end in .wmflabs and duplicate with .wikimedia.cloud
Closed, ResolvedPublic

Description

There's nothing in our puppet handling code that automatically generates puppet categories that end in 'wmflabs' but if users did that then they'll be confused by the lack of matches in the new .eqiad1.wikimedia.cloud world.

Event Timeline

Andrew created this task.Sep 8 2020, 6:06 PM
bd808 added a subscriber: bd808.Sep 8 2020, 6:12 PM

I'm not sure how it gets constructed, but instance puppet settings made from Horizon use an FQDN as the "prefix".

$ curl http://puppetmaster.cloudinfra.wmflabs.org:8100/v1/tools/prefix
prefixes: [_, tools-acme-chief, tools-acme-chief-01.tools.eqiad.wmflabs, tools-acme-chief-02.tools.eqiad.wmflabs,
  tools-checker, tools-clushmaster, tools-clushmaster-02.tools.eqiad.wmflabs, tools-docker-imagebuilder,
  tools-docker-registry, tools-docker-registry-03.tools.eqiad.wmflabs, tools-docker-registry-04.tools.eqiad.wmflabs,
  tools-elastic-1, tools-elastic-2, tools-elastic-3, tools-k8s-control, tools-k8s-etcd,
  tools-k8s-etcd-4.tools.eqiad.wmflabs, tools-k8s-etcd-5.tools.eqiad.wmflabs, tools-k8s-etcd-6.tools.eqiad.wmflabs,
  tools-k8s-haproxy, tools-k8s-worker, tools-legacy-redirector, tools-logs, tools-mail,
  tools-mail-02.tools.eqiad.wmflabs, tools-package-builder, tools-package-builder-02.tools.eqiad.wmflabs,
  tools-paws-, tools-prometheus, tools-proxy, tools-puppetdb, tools-puppetdb-01.tools.eqiad.wmflabs,
  tools-puppetmaster-02.tools.eqiad.wmflabs, tools-redis, tools-sge-services, tools-sge-services-04.tools.eqiad.wmflabs,
  tools-sgebastion, tools-sgebastion-08.tools.eqiad.wmflabs, tools-sgebastion-09.tools.eqiad.wmflabs,
  tools-sgecron-01.tools.eqiad.wmflabs, tools-sgeexec, tools-sgeexec-0935.tools.eqiad.wmflabs,
  tools-sgeexec-0942.tools.eqiad.wmflabs, tools-sgegrid-master.tools.eqiad.wmflabs,
  tools-sgegrid-shadow.tools.eqiad.wmflabs, tools-sgewebgrid-generic, tools-sgewebgrid-lighttpd,
  tools-static]
Andrew closed this task as Resolved.Sep 9 2020, 7:25 PM

This ought to be resolved now; we've renamed everything in git and in the db and changed the API code to only create things under .wikimedia.cloud