Bug #4710
closed
Problems provisioning hosts in Rackspace with 1.4.1-2
Added by Artur Martins almost 11 years ago.
Updated over 6 years ago.
Category:
Compute resources
|
Description
Unable to save host in Rackspace
From logs:
waiting for instance to acquire ip address
Failed to get IP for [server_name.domain]: undefined method `public_ip_addresses' for #
<Fog::Compute::RackspaceV2::Server:[server_id_hash]>/usr/share/foreman/app/models/concerns/orchestration/compute.rb:121:in `setComputeIP'
/usr/share/foreman/vendor/ruby/1.8/gems/fog-1.19.0/lib/fog/core/model.rb:67:in `instance_eval'
/usr/share/foreman/vendor/ruby/1.8/gems/fog-1.19.0/lib/fog/core/model.rb:67:in `wait_for'
/usr/share/foreman/vendor/ruby/1.8/gems/fog-1.19.0/lib/fog/core/wait_for.rb:5:in `wait_for'
/usr/share/foreman/vendor/ruby/1.8/gems/fog-1.19.0/lib/fog/core/model.rb:64:in `wait_for'
/usr/share/foreman/app/models/concerns/orchestration/compute.rb:120:in `setComputeIP'
/usr/share/foreman/app/models/concerns/orchestration.rb:148:in `send'
...
It seems to be related to #4616
- Category set to Compute resources
- Status changed from New to Assigned
- Assignee set to Greg Sutcliffe
- Target version set to 1.9.0
- Translation missing: en.field_release set to 7
Started GET "/tasks/d8966770-534f-4f09-9ef7-d196f0658fb9" for 87.198.179.238 at Wed Mar 19 15:24:20 +0000 2014
Processing by TasksController#show as */*
Parameters: {"id"=>"d8966770-534f-4f09-9ef7-d196f0658fb9"}
Rendered tasks/_list.html.erb (0.6ms)
Completed 200 OK in 3.5ms (Views: 1.2ms | ActiveRecord: 0.3ms)
Failed to save: ip value is blank!
Rendered hosts/_progress.html.erb (0.2ms)
Rendered puppetclasses/_selectedClasses.html.erb (0.0ms)
- Status changed from Assigned to Ready For Testing
- Translation missing: en.field_release changed from 7 to 4
Although I'm bumping this particular fix to 1.5.0, I'm reverting the one that caused it (#2270) for Foreman 1.4.2 so this issue should become resolved.
- Status changed from Ready For Testing to Assigned
- % Done changed from 0 to 70
#2270 was reverted due to problems, I'm currently working on a better solution where we use Fog's ready?() function to wait a bit before asking for IPs
- Status changed from Assigned to Ready For Testing
- Target version changed from 1.9.0 to 1.8.4
- Related to Bug #2270: Unable to create instances on OpenStack without floating IPs added
- Status changed from Ready For Testing to Closed
- % Done changed from 70 to 100
Also available in: Atom
PDF