Page MenuHomePhabricator

Vagrant role for Scholarships not working due to DNS
Closed, ResolvedPublic

Description

The MediaWiki-Vagrant role that installs the Scholarships application [0] relies on name-based apache vhost configuration using the local.wmftest.net wildcard introduced in Ifc752ac89bbfa1c793d37917b099b0c98dc38a5a.

Change Ic0ce64841dce4e8875ed715caf9b152375c54d91 reverted the DNS configuration that supported this feature. Discussion on irc determined that this regression was unintentional and should be corrected.

[0]: https://www.mediawiki.org/wiki/Wikimania_Scholarships_app/Developing_using_Vagrant


Version: wmf-deployment
Severity: normal

Details

Reference
bz62992

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:56 AM
bzimport set Reference to bz62992.
bzimport added a subscriber: Unknown Object (MLST).

Until the DNS entry is restored, it is possible to continue local development by adding a local hostname override on the developer's machine.

Add the following to the local hosts file:

127.0.0.1 scholarships.local.wmftest.net

For unix systems the hosts file is typically /etc/hosts. See [[en:Hosts_(file)]] for the file path on other systems.

Change 120039 had a related patch set uploaded by BryanDavis:
Revert "DNS cleanup"

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

Change 120039 merged by Faidon Liambotis:
Revert "DNS cleanup"

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

Faidon merged the revert patch and the address is resolving now:

$ dig scholarships.local.wmftest.net

; <<>> DiG 9.7.3 <<>> scholarships.local.wmftest.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43971
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;scholarships.local.wmftest.net.	IN	A

;; ANSWER SECTION:
scholarships.local.wmftest.net.	3600 IN	A	127.0.0.1

;; Query time: 93 msec
;; SERVER: 172.19.255.3#53(172.19.255.3)
;; WHEN: Mon Mar 24 11:06:44 2014
;; MSG SIZE  rcvd: 64