Skip to content

Instantly share code, notes, and snippets.

View tyler-ball's full-sized avatar

Tyler Ball tyler-ball

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tyler-ball on github.
  • I am tyleraball (https://keybase.io/tyleraball) on keybase.
  • I have a public key ASDjfIzzyYLevKe_QdHxyTyMYTM2ycTiSMdNlMbc06_L1go

To claim this, I am signing this object:

@tyler-ball
tyler-ball / gist:3d21d604f17458e18cf5084cb25f2d83
Created August 17, 2017 17:40
ubuntu1 - manually restart hab service, see it fail
...
ntp-north-america.default(O): Exiting remediate loop
DEBUG:habitat_launcher::server: Child exited, 4294967205, signal: 15
DEBUG:habitat_launcher::server: Child exited, 27423, exit code: 1
DEBUG:habitat_launcher::server: Child exited, 4294967205, signal: 15
DEBUG:habitat_launcher::server: Child exited, 4294967205, signal: 15
DEBUG:habitat_launcher::server: Child exited, 4294967205, signal: 15
DEBUG:habitat_launcher::server: Child exited, 4294967205, signal: 15
DEBUG:habitat_launcher::server: Child exited, 4294967205, signal: 15
DEBUG:habitat_launcher::server: Child exited, 4294967205, signal: 15
@tyler-ball
tyler-ball / gist:2f19a6236d5089b86eca4ab45f062ff8
Created August 17, 2017 17:38
ubuntu3 - follower, does not restart service
root@dd217a3391e1:/# cat /var/log/habitat/log
DEBUG:habitat_common::ui: InputStream(stdin): { is_a_terminal(): true }
DEBUG:habitat_common::ui: OutputStream(stdout): { is_colored(): true, supports_color(): true, is_a_terminal(): false }
DEBUG:habitat_common::ui: OutputStream(stderr): { is_colored(): true, supports_color(): true, is_a_terminal(): false }
∵ Missing package for core/hab-launcher
DEBUG:habitat_common::command::package::install: install cache_key_path: /hab/cache/keys
DEBUG:habitat_http_client::ssl: Setting CA file for SSL context to: /hab/pkgs/core/cacerts/2017.01.18/20170513215104/ssl/cert.pem
DEBUG:habitat_http_client::api_client: User-Agent: hab/0.29.1/20170811000955 (x86_64-linux; 4.9.36-moby)
» Installing core/hab-launcher
DEBUG:habitat_http_client::api_client: GET https://willem.habitat.sh/v1/depot/pkgs/core/hab-launcher/latest with ApiClient { endpoint: "https://willem.habitat.sh/v1/depot", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 30, nanos: 0 }), wri
@tyler-ball
tyler-ball / gist:ab634ffdc5fc2e182b5893114a6dd879
Created August 17, 2017 17:38
ubuntu3 - follower, does not restart service
root@dd217a3391e1:/# cat /var/log/habitat/log
DEBUG:habitat_common::ui: InputStream(stdin): { is_a_terminal(): true }
DEBUG:habitat_common::ui: OutputStream(stdout): { is_colored(): true, supports_color(): true, is_a_terminal(): false }
DEBUG:habitat_common::ui: OutputStream(stderr): { is_colored(): true, supports_color(): true, is_a_terminal(): false }
∵ Missing package for core/hab-launcher
DEBUG:habitat_common::command::package::install: install cache_key_path: /hab/cache/keys
DEBUG:habitat_http_client::ssl: Setting CA file for SSL context to: /hab/pkgs/core/cacerts/2017.01.18/20170513215104/ssl/cert.pem
DEBUG:habitat_http_client::api_client: User-Agent: hab/0.29.1/20170811000955 (x86_64-linux; 4.9.36-moby)
» Installing core/hab-launcher
DEBUG:habitat_http_client::api_client: GET https://willem.habitat.sh/v1/depot/pkgs/core/hab-launcher/latest with ApiClient { endpoint: "https://willem.habitat.sh/v1/depot", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 30, nanos: 0 }), wri
root@d1950d3d322e:/# cat /var/log/habitat/log
DEBUG:habitat_common::ui: InputStream(stdin): { is_a_terminal(): true }
DEBUG:habitat_common::ui: OutputStream(stdout): { is_colored(): true, supports_color(): true, is_a_terminal(): false }
DEBUG:habitat_common::ui: OutputStream(stderr): { is_colored(): true, supports_color(): true, is_a_terminal(): false }
∵ Missing package for core/hab-launcher
DEBUG:habitat_common::command::package::install: install cache_key_path: /hab/cache/keys
DEBUG:habitat_http_client::ssl: Setting CA file for SSL context to: /hab/pkgs/core/cacerts/2017.01.18/20170513215104/ssl/cert.pem
DEBUG:habitat_http_client::api_client: User-Agent: hab/0.29.1/20170811000955 (x86_64-linux; 4.9.36-moby)
» Installing core/hab-launcher
DEBUG:habitat_http_client::api_client: GET https://willem.habitat.sh/v1/depot/pkgs/core/hab-launcher/latest with ApiClient { endpoint: "https://willem.habitat.sh/v1/depot", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 30, nanos: 0 }), wri
@tyler-ball
tyler-ball / gist:d0a31c0bed7f56e9041eaebc27c3480d
Created August 17, 2017 17:37
ubuntu1 - follower, does not restart service
root@9d4879494f2e:/# cat /var/log/habitat/log
DEBUG:habitat_common::ui: InputStream(stdin): { is_a_terminal(): true }
DEBUG:habitat_common::ui: OutputStream(stdout): { is_colored(): true, supports_color(): true, is_a_terminal(): false }
DEBUG:habitat_common::ui: OutputStream(stderr): { is_colored(): true, supports_color(): true, is_a_terminal(): false }
∵ Missing package for core/hab-launcher
DEBUG:habitat_common::command::package::install: install cache_key_path: /hab/cache/keys
DEBUG:habitat_http_client::ssl: Setting CA file for SSL context to: /hab/pkgs/core/cacerts/2017.01.18/20170513215104/ssl/cert.pem
DEBUG:habitat_http_client::api_client: User-Agent: hab/0.29.1/20170811000955 (x86_64-linux; 4.9.36-moby)
» Installing core/hab-launcher
DEBUG:habitat_http_client::api_client: GET https://willem.habitat.sh/v1/depot/pkgs/core/hab-launcher/latest with ApiClient { endpoint: "https://willem.habitat.sh/v1/depot", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 30, nanos: 0 }), wri
→ Using core/bzip2/1.0.6/20170513212938
→ Using core/cacerts/2017.01.18/20170513215104
→ Using core/gcc-libs/5.2.0/20170513212920
→ Using core/glibc/2.22/20170513201042
→ Using core/libarchive/3.2.0/20170514021649
→ Using core/libsodium/1.0.11/20170514010744
→ Using core/linux-headers/4.3/20170513200956
→ Using core/openssl/1.0.2j/20170513215106
→ Using core/xz/5.2.2/20170513214327
→ Using core/zlib/1.2.8/20170513201911
→ Using core/xz/5.2.2/20170513214327
→ Using core/zlib/1.2.8/20170513201911
✓ Installed cabbage/cabbage/0.4.0/20170807175649
✓ Installed core/acl/2.2.52/20170513213108
✓ Installed core/attr/2.4.47/20170513213059
✓ Installed core/bash/4.3.42/20170513213519
✓ Installed core/binutils/2.25.1/20170513201927
✓ Installed core/bundler/1.15.1/20170621175238
✓ Installed core/coreutils/8.25/20170513213226
✓ Installed core/curl/7.51.0/20170513235716
@tyler-ball
tyler-ball / stack.txt
Created August 26, 2016 15:54
automate failure - berkshelf deadlock
Starting job on builder builder-delivered-ubuntu1404-4.shd.chef.co at 2016-08-26T15:48:33+00:00.
Command: delivery job build unit --server delivery.shd.chef.co --user builder --ent Chef --org Chef_Delivery --project delivery --for master --change-id c4a93722-9ef0-42dc-8006-c2593ccdab27 --shasum f6f585b79580e902351fe112b940fa1c5ae25cf4 --git-url ssh://builder@Chef@127.0.0.1:8989/Chef/Chef_Delivery/delivery
Chef Delivery
Loading configuration from /var/opt/delivery/workspace
Starting job for delivery build unit
Creating workspace in /var/opt/delivery/workspace/delivery.shd.chef.co/Chef/Chef_Delivery/delivery/master/build/unit
Cloning repository, and merging f6f585b79580e902351fe112b940fa1c5ae25cf4 to master
Configuring the job
Running the job
Setting up the builder
Errno::ETIMEDOUT: machine[tyler_test_windows] (@recipe_files::/Users/tball/chef_repo/cookbooks/test-provisioning/recipes/windows.rb line 76) had an error: Errno::ETIMEDOUT: Operation timed out - connect(2) for "192.168.0.215" port 5986
/Users/tball/github/chef-provisioning-aws/lib/chef/provisioning/aws_driver/driver.rb:1121:in `initialize'
/Users/tball/github/chef-provisioning-aws/lib/chef/provisioning/aws_driver/driver.rb:1121:in `new'
/Users/tball/github/chef-provisioning-aws/lib/chef/provisioning/aws_driver/driver.rb:1121:in `create_winrm_transport'
/Users/tball/github/chef-provisioning-aws/lib/chef/provisioning/aws_driver/driver.rb:981:in `transport_for'
/Users/tball/github/chef-provisioning-aws/lib/chef/provisioning/aws_driver/driver.rb:1317:in `wait_for_transport'
/Users/tball/github/chef-provisioning-aws/lib/chef/provisioning/aws_driver/driver.rb:701:in `ready_machine'
/Users/tball/github/chef-provisioning/lib/chef/provider/machine.rb:39:in `block in <class:Machine>'
(eval):2:in `block in action_ready'