Page MenuHomePhabricator

Unable to create DNS zone traffic.wmflabs.org. in Horizon
Closed, ResolvedPublic

Description

When attempting to create a DNS zone in horizon for traffic.wmflabs.org. under the traffic project I get the following error:

Error: Unable to create the zone

Inspecting the request, the browser is getting a HTTP 500 error with the following content:

"403 Client Error: FORBIDDEN for url: http://cloudservices1003.wikimedia.org:9001/v2/zones/"

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 5 2019, 8:36 AM
aborrero claimed this task.Aug 5 2019, 8:36 AM
aborrero triaged this task as Normal priority.

Mentioned in SAL (#wikimedia-cloud) [2019-08-05T08:37:23Z] <arturo> promote myself to user & projectadmin to handle T229783

Krenair added a subscriber: Krenair.Aug 5 2019, 8:38 AM

It's expected that zones can't be created in this manner (there's a script
that ops can run to do it properly), but there shouldn't be an HTTP 500
anywhere in the process.

One thing to check is whether there is a proxy by that name. If there is
you should be careful trying to make a zone in its place

For the record: https://wikitech.wikimedia.org/wiki/Help:Horizon_FAQ#Can_I_create_a_new_DNS_domain/zone_for_my_project,_or_records_under_the_wmflabs.org_domain?

Forbidden seems a reasonable HTTP code given no other project is allowed to create registers for that domain (it belongs to other project).

before trying to do anything I've checked with a simple DNS query that traffic.wmflabs.org. is available right now:

vgutierrez$ host traffic.wmflabs.org
Host traffic.wmflabs.org not found: 3(NXDOMAIN)

Mentioned in SAL (#wikimedia-cloud) [2019-08-05T08:43:54Z] <arturo> create traffic.wmflabs.org subdomain T229783 using the wmcs-makedomain script

Mentioned in SAL (#wikimedia-cloud) [2019-08-05T08:44:19Z] <arturo> created the traffic.wmflabs.org subdomain (T229783)

aborrero closed this task as Resolved.Aug 5 2019, 8:45 AM

This should be done now:

root@cloudcontrol1004:~# wmcs-makedomain --project traffic --domain traffic.wmflabs.org

Please @Vgutierrez try now and reopen task if required.