Closed
Bug 1024640
Opened 11 years ago
Closed 11 years ago
Deploy the loop-client 0.1.0-1 to stage
Categories
(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)
Cloud Services
Operations: Deployment Requests - DEPRECATED
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jbonacci, Unassigned)
References
Details
(Whiteboard: [qa+])
Dev and OPs to add specific details here.
Comment 1•11 years ago
|
||
this one is waiting on the cache busting changes that are being done in 1023217. Once that is complete we'll deploy it w/out the CDN for now.
Comment 2•11 years ago
|
||
After some discussion we'll deploy this w/out the CDN / cache busting code. It'll just be nginx serving static content for now.
No longer depends on: 1023217
Comment 4•11 years ago
|
||
OK deployed.
- 2x m3.medium
- only running nginx
- heka is sending out nginx logs
- looking at https://call.stage.mozaws.net/config.js ... looks right
Ready for QA verification
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Summary: Deploy the latest Loop-Client to Stage → Deploy the loop-client 0.1.0-1 to stage
| Reporter | ||
Comment 5•11 years ago
|
||
So, here are the results: https://loads.services.mozilla.com/run/8b7cb33d-1752-46b3-be5d-6475a4bb3488
Run Id 8b7cb33d-1752-46b3-be5d-6475a4bb3488
Duration 30 min and 29 sec.
Started 2014-06-19 20:52:33 UTC
Ended 2014-06-19 21:23:02 UTC
State Ended
Users [20]
Hits None
Agents 5
Duration 1800
Server URL https://token.stage.mozaws.net
Results
Tests over 428408
Successes 428024
Failures 0
Errors 0
TCP Hits 437191
Opened web sockets 0
Total web sockets 0
Bytes/websockets 0
Requests / second (RPS) 239
addFailure 384
I will look into the failures...
| Reporter | ||
Comment 6•11 years ago
|
||
Sorry copy/paste error - ignore previous entry...
(Bugzilla needs a comment edit/delete feature)
| Reporter | ||
Comment 7•11 years ago
|
||
OK. Everything looks good except we need hekad hooked up ;-)
| Reporter | ||
Comment 8•11 years ago
|
||
Forgot to move this back to Reopened yesterday - waiting on the hekad additions/changes...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•11 years ago
|
||
- Added heka
- Changed from nginx to use new openresty module (openresty = nginx w/ 3rd party modules)
- logs are now in /media/ephemeral0/nginx/log
- enabled gzip for a performance bump
- everything else is the same
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 10•11 years ago
|
||
:mostlygeek most everything checks out ok, except there are current errors in this log:
/var/log/hekad/loop-client.stderr.log
2014/06/23 18:18:30 Decoder 'LoopWebserver-LoopNginxDecoder' error: Failed parsing: 10.50.203.24 - - [23/Jun/2014:17:58:22 +0000] "GET / HTTP/1.1" 200 1935 "-" "ELB-HealthChecker/1.0" "-"
2014/06/23 18:24:52 Decoder 'LoopWebserver-LoopNginxDecoder' error: Failed parsing: 1403547892.362 "-" "GET / HTTP/1.1" 200 1935 "-" "ELB-HealthChecker/1.0" 0.000 - "-"
--> which I think went away
...etc...
2014/06/23 18:18:33 Plugin 'AggregatorOutput' error: dial tcp :5565: connection refused
...etc...
2014/06/23 20:29:38 Plugin 'AggregatorOutput' error: dial tcp :5565: connection refused
--> which continue to show up
Comment 11•11 years ago
|
||
OK I fixed the bug in puppet-config (https://github.com/mozilla-services/puppet-config/pull/620) and heka is no longer erroring on the AggregatorOutput
| Reporter | ||
Comment 12•11 years ago
|
||
OK, assuming you restarted the services on this instance, I will check again shortly...
| Reporter | ||
Comment 13•11 years ago
|
||
I am still seeing errors:
1: /media/ephemeral0/nginx/logs/loop-client.error.log
2014/06/23 20:14:55 [error] 10945#0: *409....etc...
These may be a part of some config change and restart to get logging to happen with heka?
2: /var/log/hekad/loop-client.stderr.log
2014/06/23 22:06:31 Plugin 'AggregatorOutput' error: dial tcp 10.183.191.147:5565: connection timed out
Also, tangentially related, what are these logs for?
/media/ephemeral0/nginx/logs/default.access.log
/media/ephemeral0/nginx/logs/default.error.log
Comment 14•11 years ago
|
||
My bad, I should have mentioned I created a new stack (loop-stage) - poor naming? yes. I'll create a new stack w/ better naming after (same CFN/settings).
https://call.stage.mozaws.net is pointed at this new stack.
I'm only running a single server: ec2-54-87-69-192.compute-1.amazonaws.com
Comment 15•11 years ago
|
||
Also
/media/ephemeral0/nginx/logs/default.access.log
/media/ephemeral0/nginx/logs/default.error.log
Just ignore these. I switched to using a new nginx (openresty) and the puppet-config will generate these as the catchall log locations. They're really for dev to help us notice when we don't set up specific logging correctly.
| Reporter | ||
Comment 16•11 years ago
|
||
OK. Yea, I see also that /var/log/nginx is gone, /media/ephemeral/nginx/logs are in place.
| Reporter | ||
Comment 17•11 years ago
|
||
I think we are in good shape now.
I see this deployed to the one instance:
loop-client-svcops 0.1.0-1 noarch 5484963
puppet-config-loop 20140623204304-1 x86_64 13045
I was able to hit the Stage client via the URL: https://call.stage.mozaws.net/
I will test this some more tomorrow by pointing Nightly to Stage maybe.
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 18•11 years ago
|
||
Also:
https://call.stage.mozaws.net/config.js
var loop = loop || {};
loop.config = {serverUrl: 'https://loop.stage.mozaws.net'};
curl -I https://call.stage.mozaws.net
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-length: 1935
Content-Type: text/html
Date: Mon, 23 Jun 2014 23:04:24 GMT
ETag: "539220d7-78f"
Last-Modified: Fri, 06 Jun 2014 20:13:11 GMT
Server: openresty/1.7.0.1
Vary: Accept-Encoding
Connection: keep-alive
You need to log in
before you can comment on or make changes to this bug.
Description
•