[bosh-lite] dea_next job/warden fails with: No such file or directory - /proc/sys/net/ipv4/ip_local_port_range #179

Closed
drnic opened this Issue Sep 17, 2013 · 10 comments

2 participants

@drnic
Cloud Foundry member
  1. running bosh-lite
  2. uploaded cf-141.yml
  3. changed cf-release's templates/cf-aws-template.yml.erb from "cf-release" to "cf" release #176
  4. ran ./scripts/make_manifest
  5. deployed CF deployment file
  6. the dea_next job doesn't start.

When I ssh into the job there is the following error:

==> /var/vcap/sys/log/warden/warden.stderr.log <==
rake aborted!
No such file or directory - /proc/sys/net/ipv4/ip_local_port_range

Tasks: TOP => warden:start
@drnic
Cloud Foundry member

Support for this file missing was implemented in warden a month ago cloudfoundry/warden@0fa1f98; so I assume that this code is in cf-141

@drnic
Cloud Foundry member

I assume wrong. Found this snippet in the warden package /var/vcap/data/packages/warden/31.1 within the dea_next job:

    def self.ip_local_port_range
      File.read("/proc/sys/net/ipv4/ip_local_port_range").split.map(&:to_i)
    end
@drnic
Cloud Foundry member

Any ideas why src/warden in cf-141 would be a month old?

@drnic
Cloud Foundry member

Going to upload a dev release from cf-release master/HEAD to confirm its fixed for cf-142.

@drnic
Cloud Foundry member

Whilst waiting for blobs to download; I patched warden package on the dea_next job with the snippet above and it looks like the dea_next job is now up and running.

@drnic
Cloud Foundry member

Confirmed that this issue does not appear in 141.1-dev from cf-release master/HEAD today.

@drnic
Cloud Foundry member

note: bosh-lite branch does deploy & work successfully; ETA on merging into master?

@mkocher
Cloud Foundry member

It won't be merged, it just needs to be deleted. Master of cf-release should deploy just fine.

@drnic
Cloud Foundry member
@drnic
Cloud Foundry member

Now working in v142.

@drnic drnic closed this Sep 23, 2013
@thecadams thecadams added a commit that referenced this issue Mar 25, 2014
@thecadams thecadams Bump src/cloud_controller_ng
Bump cloudfoundry/cloud_controller_ng:
  Chris Adams:
     Remove remaining references to `hm9000_noop` ( Travis created: https://travis-ci.org/cloudfoundry/cloud_controller_ng/builds/21533509 )
     Merge pull request #179 from cloudfoundry/asap/remove_health_manager ( Travis started: https://travis-ci.org/cloudfoundry/cloud_controller_ng/builds/21533169 )
  Aram Price:
     Remove old "health_manager_next" code and references ( Travis Unknown )
dbaf669
@haydonryan haydonryan pushed a commit that referenced this issue Nov 7, 2014
@thecadams thecadams Bump src/cloud_controller_ng
Bump cloudfoundry/cloud_controller_ng:
  Chris Adams:
     Remove remaining references to `hm9000_noop` ( Travis created: https://travis-ci.org/cloudfoundry/cloud_controller_ng/builds/21533509 )
     Merge pull request #179 from cloudfoundry/asap/remove_health_manager ( Travis started: https://travis-ci.org/cloudfoundry/cloud_controller_ng/builds/21533169 )
  Aram Price:
     Remove old "health_manager_next" code and references ( Travis Unknown )
54bba54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment