disney / couchbase

Chef cookbook to install and configure Couchbase Server
24 stars 59 forks source link

Add retries to on initial server setup to fix connection timeouts #36

Closed rudijs closed 9 years ago

rudijs commented 9 years ago

Similar to pull request https://github.com/urbandecoder/couchbase/pull/27

localhost:8091 connection timeout errors on VirtualBox and a 2GB machine at Digitalocean.com during server install.

Adding retries sorts this issue for me on both platforms.

This pull request is the same as #27 but I noticed master is newer with merged couchbase_node blocks so it may integrate easier.

couchbase_node "self" do
  retries 5
  retry_delay 2

  database_path node['couchbase']['server']['database_path']
  index_path node['couchbase']['server']['index_path']

  username node['couchbase']['server']['username']
  password node['couchbase']['server']['password']
end
kplimack commented 9 years ago

fixed in https://github.com/urbandecoder/couchbase/pull/46