Page MenuHomePhabricator

wmcs-wikireplica-dns isn't authing right
Closed, ResolvedPublic

Description

Recent changes in the mwopenstackclients library seem to have broken the auth part of the ensure_zone function as it is called in wmcs-wikireplica-dns.py.

It looks like the issue is https://github.com/wikimedia/puppet/blob/production/modules/openstack/files/util/wmcs-wikireplica-dns.py#L104 where it uses 'noauth-project'. This may have been broken by https://gerrit.wikimedia.org/r/c/operations/puppet/+/522196

Event Timeline

I tried to set up a limited unit test for this pathway but can't reproduce the failure.

Can you tell me where you're running this, how you're running it, and if it's safe for me to run repeatedly?

bstorm> Brooke Storm cloudcontrol1003 after sourcing the novaenv file with the --aliases arg. With and without a --shard s3 arg

Change 617475 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] mwopenstackclient: Fix designate client auth confusion with no-auth project

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

Change 617475 merged by Andrew Bogott:
[operations/puppet@production] mwopenstackclient: Fix designate client auth confusion with no-auth project

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

This is fixed, at least for my minor test case. LMK if it's still failing in places.