This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node.set[:redis][:slaveof] = search(:node, 'recipes:redis\:\:master').first.ec2.local_hostname node[:redis][:port] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
l = package "libxml2-dev" do | |
action :nothing | |
end | |
l2 = package "libxslt1-dev" do | |
action :nothing | |
end | |
g = gem_package "aws-sdk" do | |
action :nothing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_node_id | |
resp, data = @ckclient.access_token.get("/2.0/nodes?query=node:#{node[:hostname]}") | |
puts node[:hostname] | |
puts resp.inspect | |
puts data.inspect | |
if not resp.code =~ /^2/ | |
reset | |
return nil | |
end | |
parsed = JSON::parse(data) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ey ssh "kill -TTIN \$(ps auxw | grep unicorn | grep master | grep publisher | grep -v grep | awk \"{ print \\\$2; }\")" --app-servers -e hercules |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:23:35-deploy@ec2-50-19-73-109:/data/scommerce/current$ bundle exec rake db:migrate --trace RAILS_ENV=production | |
** Invoke db:migrate (first_time) | |
** Execute db:migrate | |
** Invoke db:schemas:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
rake aborted! | |
bad URI(is not URI?): | |
/usr/local/lib/ruby/1.9.1/uri/common.rb:156:in `split' | |
/usr/local/lib/ruby/1.9.1/uri/common.rb:174:in `parse' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetching source index for http://rubygems.org/ | |
Updating [email protected]:ewoodh2o/typhoeus.git | |
Git error: command `git reset --hard ec36416d8cd78d085d2a3ea71f53d811a8356f43` in directory /mnt/data/dashboard/shared/vendor/bundle/ruby/1.9.2/bundler/gems/typhoeus-ec36416d8cd7 has failed. | |
If this error persists you could try removing the cache directory '/data/dashboard/shared/vendor/bundle/ruby/1.9.2/cache/bundler/git/typhoeus-1741a739ff8b2b80cbeb0653dfdef30817ba01af' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Evan: Hello Andrew, Thank you for contacting Comcast Live Chat Support. My name is Evan. Please give me one moment to review your information. | |
Andrew: My Issue: It's been 24 hours now and my account is still inactive. I would like this turned on now, please. | |
Evan: Welcome to Comcast Billing Department. How are you doing today? | |
Andrew: I am doing well. | |
Evan: It's nice to know that you are doing well. Keep it up! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:15:32-deploy@trey-staging-app-master-i-abe20ece:~$ /vitrue/bin/app_trey start | |
Unicorn Starting, Type: rack interface, App Name: trey | |
master failed to start, check stderr log for details | |
I, [2012-01-23T16:14:44.952793 #5352] INFO -- : listening on addr=/var/run/vitrue/unicorn_trey.sock fd=11 | |
I, [2012-01-23T16:14:44.953294 #5352] INFO -- : Refreshing Gem list | |
I, [2012-01-23T16:15:43.039626 #5395] INFO -- : unlinking existing socket=/var/run/vitrue/unicorn_trey.sock | |
I, [2012-01-23T16:15:43.040145 #5395] INFO -- : listening on addr=/var/run/vitrue/unicorn_trey.sock fd=7 | |
I, [2012-01-23T16:15:43.040661 #5395] INFO -- : Refreshing Gem list | |
/data/trey/shared/vendor/bundle/ruby/1.9.2/gems/sequel-3.31.0/lib/sequel/core.rb:290:in `require': LoadError: no such file to load -- sequel/adapters/postgresql (Sequel::AdapterNotFound) | |
from /data/trey/shared/vendor/bundle/ruby/1.9.2/gems/sequel-3.31.0/lib/sequel/core.rb:290:in `block in tsk_require' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18:05:15-deploy@trey-staging-app-master-i-91907ff4:~$ /vitrue/bin/app_trey start | |
Unicorn Starting, Type: rack interface, App Name: trey | |
master failed to start, check stderr log for details | |
I, [2012-01-23T18:05:25.931460 #1929] INFO -- : listening on addr=/var/run/vitrue/unicorn_trey.sock fd=7 | |
I, [2012-01-23T18:05:25.931886 #1929] INFO -- : Refreshing Gem list | |
/data/trey/shared/vendor/bundle/ruby/1.9.2/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing': uninitialized constant Trey::PageMetricsWeek::PageMetricsInstanceMethods (NameError) | |
from /data/trey/current/lib/trey/models/page_metrics_week.rb:5:in `<class:PageMetricsWeek>' | |
from /data/trey/current/lib/trey/models/page_metrics_week.rb:2:in `<module:Trey>' | |
from /data/trey/current/lib/trey/models/page_metrics_week.rb:1:in `<top (required)>' | |
from /data/trey/current/lib/trey.rb:27:in `require' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using config file '/data/publisher/current/config/sphinx/production.sphinx.conf'... | |
indexing index 'dispatch_delta'... | |
WARNING: collect_hits: mem_limit=0 kb too low, increasing to 13568 kb | |
collected 50 docs, 0.0 MB | |
sorted 0.0 Mhits, 100.0% done | |
total 50 docs, 13877 bytes | |
total 0.494 sec, 28082.85 bytes/sec, 101.18 docs/sec | |
WARNING: failed to scanf pid from pid_file '/var/run/sphinx/publisher.pid'. | |
WARNING: indices NOT rotated. | |
Sphinx 0.9.8.1-release (r1533) |