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
#!/bin/bash | |
NODENAME="%farm_name%-%friendly_name%-%instance_id%" | |
LOG=/var/log/chef-bootstrap.log | |
DIRECTORY=/etc/chef | |
CLIENT_RB=$DIRECTORY/client.rb | |
CHEF_JSON=$DIRECTORY/chef.default.json | |
PRIVATE_KEY=$HOME/.ssh/id_rsa | |
PUBLIC_KEY=$PRIVATE_KEY.pub | |
function say_start { |
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
#!/bin/bash | |
NODENAME="%farm_name%-%friendly_name%-%instance_id%" | |
LOG=/var/log/chef-bootstrap.log | |
DIRECTORY=/etc/chef | |
CLIENT_RB=$DIRECTORY/client.rb | |
CHEF_JSON=$DIRECTORY/chef.default.json | |
PRIVATE_KEY=$HOME/.ssh/id_rsa | |
PUBLIC_KEY=$PRIVATE_KEY.pub | |
function say_start { |
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
Exception in cluster master process: Redis connection to redis://127.0.0.1 failed - connect ENOENT | |
Error: Redis connection to redis://127.0.0.1 failed - connect ENOENT | |
at RedisClient.on_error (/data/twittergate/releases/a88b9295bb6e740289cee8937a747bfe8c754f71/node_modules/redis/index.js:136:24) | |
at Socket.<anonymous> (/data/twittergate/releases/a88b9295bb6e740289cee8937a747bfe8c754f71/node_modules/redis/index.js:70:14) | |
at Socket.emit (events.js:67:17) | |
at Array.2 (net.js:319:25) | |
at EventEmitter._tickCallback (node.js:192:40) |
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
13:14:56-deploy@twittergate-staging-app-master-i-d6cfc3b3:/data/twittergate/current$ sudo -E /usr/bin/node app.js | |
node.js:201 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ | |
Error: Cannot find module 'request' | |
at Function._resolveFilename (module.js:332:11) | |
at Function._load (module.js:279:25) | |
at Module.require (module.js:354:17) | |
at require (module.js:370:17) |
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
* About to connect() to turntable.cloud.vitrue.com port 443 (#0) | |
* Trying 174.129.159.134... connected | |
* Connected to turntable.cloud.vitrue.com (174.129.159.134) port 443 (#0) | |
* successfully set certificate verify locations: | |
* CAfile: none | |
CApath: /etc/ssl/certs | |
* SSLv3, TLS handshake, Client hello (1): | |
* SSLv3, TLS handshake, Server hello (2): | |
* SSLv3, TLS handshake, CERT (11): | |
* SSLv3, TLS alert, Server hello (2): |
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:59]<Drew> sbryant: You around? | |
<sbryant> Yes | |
[17:01]<Drew> We're getting this in shops prod when doing a curl to deejay https://gist.github.com/1953521 | |
<Drew> https://gist.github.com/1bbc21996469a4564957 <---that's the curl | |
<sbryant> is the ca bundle package installed? | |
<Drew> how can I check that? | |
[17:02]<sbryant> where are you curling from? | |
<Drew> Shops-prod-app-master | |
<Drew> and just the app server |
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
ssl on; | |
ssl_certificate /data/turntable/shared/certificates/cloud.vitrue.com.crt; | |
ssl_certificate_key /data/turntable/shared/certificates/cloud.vitrue.com.key; | |
ssl_protocols SSLv3 TLSv1; | |
ssl_ciphers ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXPORT; |
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
[doliner@vitdrew ~$]knife ssh "applications:tabs AND app_environment:production AND instance_role:uti*" "date" -x deploy -a ec2.public_hostname | |
ec2-50-19-16-23.compute-1.amazonaws.com Mon Mar 5 11:02:15 EST 2012 | |
ec2-107-22-67-94.compute-1.amazonaws.com Mon Mar 5 11:02:15 EST 2012 | |
[doliner@vitdrew ~$] |
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
{ | |
"name": "sso", | |
"description": "deploys ss0", | |
"json_class": "Chef::Role", | |
"default_attributes": { | |
}, | |
"override_attributes": { | |
"applications": { | |
0 : "sso" | |
} |
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
** Execute assets:precompile:nondigest | |
rake aborted! | |
Expected(200) <=> Actual(403 Forbidden) | |
request => {:connect_timeout=>60, :headers=>{"Date"=>"Mon, 16 Apr 2012 19:29:19 +0000", "Authorization"=>"AWS AKIAI3Y4ECX53EH5KOXA:DC8Nt2DKHWjMhbYSoWNb6LVPNbI=", "Host"=>"community-production.s3.amazonaws.com:443"}, :instrumentor_name=>"excon", :mock=>false, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/data/community/shared/vendor/bundle/ruby/1.9.1/gems/excon-0.13.2/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"community-production.s3.amazonaws.com", :path=>"/", :port=>"443", :query=>{"prefix"=>"assets"}, :scheme=>"https", :expects=>200, :idempotent=>true, :method=>"GET", :response_block=>#<Proc:0x0000000868e810@/data/community/shared/vendor/bundle/ruby/1.9.1/gems/fog-1.3.1/lib/fog/core/connection.rb:16 (lambda)>} | |
response => #<Excon::Response:0x00000008663ae8 @body="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId |