Closed
Bug 965323
Opened 10 years ago
Closed 10 years ago
Make http://esfrontline1.bugs.scl3.mozilla.com:9292 publicly accessible
Categories
(bugzilla.mozilla.org :: Infrastructure, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: ekyle, Assigned: fubar)
References
()
Details
Private bugs are not showing in the public cluster anymore. There is still an outstanding legal bug. Is this just an ACL thing, or is more involved?
Reporter | ||
Comment 1•10 years ago
|
||
Added mark and curtis, in case there are any last questions.
Assignee | ||
Comment 2•10 years ago
|
||
As I recall, the sec review stuff is all set, so... 1) what URL do we want people to access this through? esfrontline.mozilla.org? esfrontline.bugzilla.m.o? something else? 2) does it need a cert for https? 3) do we need to keep it on port 9292, or can we move it to 80? If not, it'll likely require an ACL change for zeus to access it. I think those are the big ones off the top of my head.
Assignee: server-ops-webops → klibby
Reporter | ||
Comment 3•10 years ago
|
||
1) esfrontline.bugzilla.m.o seems good. The "bugzilla" name hints as to what it's for/ 2) No cert required. This is read only public data. 3) Any port will be fine
Assignee | ||
Comment 4•10 years ago
|
||
http://esfrontline.bugzilla.mozilla.org/ is all set; will go add monitoring.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•10 years ago
|
||
I am unable to connect to http://esfrontline.bugzilla.mozilla.org:80/
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•10 years ago
|
||
<title>400 Bad Request</title> <h1>Bad Request</h1> <p>The browser (or proxy) sent a request that this server could not understand.</p> and logged on the server: 2014-02-04 07:23:56,598 - esFrontLine - WARNING - request must be of form: {index_name} "/" {type_name} "/_search" 2014-02-04 07:23:56,598 - esFrontLine - WARNING - Not allowed: : Using the POST check from bug 963883, I get: $curl -d @foo -XPOST http://esfrontline.bugzilla.mozilla.org/public_bugs/bug_version/_search {"took":2800,"timed_out":false,"_shards":{"total":3,"successful":3,"failed":0},"hits":{"total":113958,"max_score":0.0,"hits":[]},"facets":{"0":{"_type":"statistical","count":113958,"total":1.58415154826988992E17,"min":1.388536127E12,"max":1.391527192E12,"mean":1.3901187703100176E12,"sum_of_squares":2.2021595154604802E29,"variance":6.2584007279647014E17,"std_deviation":7.911005453142288E8}}} And in the logs: 2014-02-04 07:29:04,981 - esFrontLine - DEBUG - path: public_bugs/bug_version/_search, request bytes=288, response bytes=393 2014-02-04 07:29:06,920 - esFrontLine - WARNING - request must be of form: {index_name} "/" {type_name} "/_search" 2014-02-04 07:29:07,027 - esFrontLine - WARNING - Not allowed: : So, it's getting the traffic, but something's not right and I'm not sure what it is from the error. The ES cluster appears to be happy, though.
Reporter | ||
Comment 7•10 years ago
|
||
Your analysis looks good, the esfrontline is responding like it should (it will respond with 400 on everything but reasonable search). I still can not get any response. I tried both when connected to MozillaVPN and when not. Do you have a machine on the public internet to test this with?
Assignee | ||
Comment 8•10 years ago
|
||
I get the same results as above from my offsite VM. Check your DNS? planet10$ host esfrontline.bugzilla.mozilla.org esfrontline.bugzilla.mozilla.org is an alias for bugzilla-esfrontline.vips.scl3.mozilla.com. bugzilla-esfrontline.vips.scl3.mozilla.com has address 63.245.215.67
Comment 9•10 years ago
|
||
FYI this works for me (taken from comment 19 of bug 931066): $ curl 'http://esfrontline.bugzilla.mozilla.org/public_bugs/bug_version/_search' -X POST -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.5' -H 'Cache-Control: no-cache' -H 'Connection: keep-alive' -H 'Content-Type: text/plain; charset=UTF-8' -H 'Host: esfrontline1.bugs.scl3.mozilla.com:9292' -H 'Origin: null' -H 'Pragma: no-cache' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0' -d '{ "query":{"filtered":{ "query":{"match_all":{}}, "filter":{"and":[{"match_all":{}},{"exists":{"field":"bug_id"}}]} }}, "from":0, "size":0, "sort":[], "facets":{} }' {"took":368,"timed_out":false,"_shards":{"total":3,"successful":3,"failed":0},"hits":{"total":8112699,"max_score":0.0,"hits":[]}}
Reporter | ||
Comment 10•10 years ago
|
||
Discussed with fubar: it works in the browser, but only from http://bugzilla-esfrontline.vips.scl3.mozilla.com:80/ I am guessing the browser sees the DNS redirect and prevents the http request (save user from dns hijacking?)
Assignee | ||
Comment 11•10 years ago
|
||
DNS for esfrontline.bugzilla.mozilla.org was changed from a CNAME to an A record; please let me know if it works now.
Reporter | ||
Comment 12•10 years ago
|
||
YEA!! \o/ IT WORKS!! Here is a dashboard made using the public API: http://claw.cs.uwaterloo.ca/~okononen/
Reporter | ||
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 13•10 years ago
|
||
http://esfrontline.bugzilla.mozilla.org:80/public_bugs/bug_version/_search
Updated•10 years ago
|
Component: WebOps: Bugzilla → Infrastructure
Product: Infrastructure & Operations → bugzilla.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•