Last modified: 2014-01-30 17:03:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62350, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60350 - Misc varnish cluster blocks PUT access to Logstash Elasticsearch cluster
Misc varnish cluster blocks PUT access to Logstash Elasticsearch cluster
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Logstash (Other open bugs)
wmf-deployment
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-22 18:06 UTC by Bryan Davis
Modified: 2014-01-30 17:03 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bryan Davis 2014-01-22 18:06:28 UTC
The Kibana frontend for Logstash stores dashboards in an Elasticsearch index. Saving a dashboard results in an HTTP PUT request being sent from the user's browser to logstash.wikimedia.org. This vhost is behind the misc Varnish cluster. It turns out that the base Varnish configuration (modules/varnish/templates/vcl/wikimedia.vcl.erb) returns a 403 response for any request that is not "^(GET|HEAD|POST|PURGE)$". The current Puppet module does not allow this to be overridden by a specific Varnish cluster configuration (eg. templates/varnish/misc.inc.vcl.erb).
Comment 1 Bryan Davis 2014-01-24 07:27:02 UTC
I talked to Mark during the RFC summit and he thought that it would be reasonable to change the varnish::instance define so that a regex of allowed method could be provided per deploy. This could then be used to allow PUT on the misc-lb instances.
Comment 2 Gerrit Notification Bot 2014-01-24 19:23:54 UTC
Change 109330 had a related patch set uploaded by BryanDavis:
Allow PUT method to hosts behind the misc Varnish cluster

https://gerrit.wikimedia.org/r/109330
Comment 3 Gerrit Notification Bot 2014-01-30 16:00:21 UTC
Change 109330 merged by Ori.livneh:
Allow PUT method to hosts behind the misc Varnish cluster

https://gerrit.wikimedia.org/r/109330
Comment 4 Bryan Davis 2014-01-30 17:03:05 UTC
Verified that Kibana dashboard saves work now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links