Skip to content

Instantly share code, notes, and snippets.

@DanPatey
Created July 16, 2012 18:10
Show Gist options
  • Save DanPatey/3124083 to your computer and use it in GitHub Desktop.
Save DanPatey/3124083 to your computer and use it in GitHub Desktop.
DB Charmer: Force Slave Reads on HatController#hat -- Server 500 on Deploy
dan@Dan-Pateys-MacBook-Pro:breport (qa_rc_DanPatey) $ time cap gamma deploy:patch BRANCH=qa_rc_DanPatey ASSET=1 RESERVE=1440 FORCE=0
/Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/engineyard-1.4.18/lib/engineyard/api.rb:87:in `request': 500 Internal Server Error <!DOCTYPE html> (EY::API::RequestFailed)
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta content="ie=edge,chrome=1" http-equiv="x-ua-compatible">
<meta content="engine yard" name="author">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Something went wrong</title>
<link href="/favicon.ico" rel="shortcut icon">
<link href="/apple-touch-icon.png" rel="apple-touch-icon">
<style>
::selection {
background: #236da6;
color: white;
text-shadow: none;
}
html, body, h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
vertical-align: baseline;
}
body {
min-width: 960px;
background: transparent url(/images/layout/bg_sky.png) top left repeat-x;
}
body, select, input, textarea, button {
font: 12px/1.5 "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
color: #444444;
}
a {
outline: none;
text-decoration: none;
color: #636363;
}
#header {
position: relative;
padding: 0;
border: 1px solid rgba(0, 0, 0, 0.07);
border-bottom-color: #b8b8b8;
border-top: 0;
margin-top: 12px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
-ms-border-radius: 6px;
-o-border-radius: 6px;
border-radius: 6px;
background-color: #f8f8f8;
background: -moz-linear-gradient(top, #f8f8f8, #c5c5c5);
background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#c5c5c5));
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
text-shadow: 0 1px 2px rgba(255, 255, 255, 0.25);
line-height: 16px;
z-index: 2000;
height: 35px;
}
.page {
margin-left: auto;
margin-right: auto;
width: 980px;
zoom: 1;
padding: 20px 0 0;
}
.page:before, .page:after {
content: "\0020";
display: block;
height: 0;
visibility: hidden;
}
.page:after {
clear: both;
}
#header p#brand {
margin: 0;
padding: 0;
vertical-align: baseline;
float: left;
display: inline;
margin-right: 10px;
margin-left: 10px;
width: 140px;
padding: 10px 0 0 9px;
white-space: nowrap;
}
#header p#brand a {
font-weight: bold;
font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
color: #bd2031;
text-shadow: 0 1px 1px #fff;
}
#header p#brand a:hover {
color: #66111a;
}
.pageError {
background: url(/images/layout/icons/icon_notice.png) no-repeat left 12px;
margin-top: 10px;
padding-top: 16px;
}
.pageError h1 {
margin-left: 46px;
margin-bottom: 26px;
display: block;
float: none;
padding: 0;
font-size:1.9em;
font-weight: normal;
color: #666;
}
.pageError p {
font-size: 1.1em;
color: #333;
}
.pageError a {
text-decoration: underline;
}
</style>
</head>
<body>
<div id="wrap">
<div class="page" id="header">
<p id="brand">
<a href="/">Engine Yard Cloud</a>
</p>
</div>
<div id="content">
<div class="page">
<div class="pageError">
<h1 class="fourohfour">Something went wrong.</h1>
<p><a href="javascript:history.back()">Go back to the previous page</a> or <a href="http://support.cloud.engineyard.com">contact us about this problem</a>.</p>
<p>Error ID: d3973c62083d4dd699d5c180a38ca4e1</p>
</div>
</div>
</div>
</div>
</body>
</html>
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/engineyard-1.4.18/lib/engineyard/api.rb:29:in `request'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/engineyard-1.4.18/lib/engineyard/api.rb:33:in `environments'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/ey_info-0.1.9/lib/ey_info.rb:144:in `initialize'
from ./config/deploy.rb:97:in `new'
from ./config/deploy.rb:97:in `load'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:89:in `load'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `each'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
from Capfile:3:in `load'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:89:in `load'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `each'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `load_recipes'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `each'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `load_recipes'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:31:in `execute!'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:14:in `execute'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/gems/capistrano-2.12.0/bin/cap:4
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/bin/cap:19:in `load'
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/bin/cap:19
from /Users/dan/.rvm/gems/ree-1.8.7-2012.02/bin/ruby_noexec_wrapper:14
real 0m1.716s
user 0m0.904s
sys 0m0.130s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment