audiolize / vagrant-softlayer

This is a Vagrant plugin that adds a SoftLayer provider to Vagrant, allowing Vagrant to control and provision SoftLayer CCI instances.
MIT License
42 stars 15 forks source link

Frequent "Net::ReadTimeout" errors #41

Closed irifed closed 9 years ago

irifed commented 9 years ago

Hi, I am getting relatively frequent "Net::ReadTimeout" errors when provisioning instances using vagrant-softlayer plugin. My impression that this depends on datacenter and day, e.g. one day a certain datacenter may have problems, and other day is fine.

I am setting huge timeouts in Vagrantfile, but I get these errors much earlier than these timeouts are elapsed:

        override.vm.boot_timeout = 3600
        sl.api_timeout = 3600
        sl.provision_timeout = 3600

Vagrant 1.6.5, vagrant-softlayer (0.3.3)

Please advise: is there any other timeout setting that I am missing?

Thanks! Irina

ju2wheels commented 9 years ago

Hi @irifed , sl.api_timeout wasnt introduced until vagrant-softlayer 0.4 and shouldnt be available for 0.3.3 but yes that should be all of them related to building.

If you are using the latest and still hitting this issue I would open a ticket with SL and provide the dc name/days of issue to see if they are aware of other problems with the network/api.

cc @SLsthompson

irifed commented 9 years ago

Thanks, @ju2wheels . Indeed, in v 0.4 I do not get these ReadTimeout errors. Do you have any estimate when 0.4 will be available directly via vagrant plugin install rather than via manually building and installing gem?

ju2wheels commented 9 years ago

I dont have access to push to rubygems.org, will have to be @emyl .

emyl commented 9 years ago

Pushed version 0.4.0 to rubygems.