Problems provisioning hosts in EC2 with 1.4.1-2
|Assigned To:||Greg Sutcliffe|
|Target version:||Sprint 21|
|Found in release:||1.4.1||Pull request:|
|Velocity based estimate||-|
Dominic Cleal said that I should file a bug for the bellow issue and that it looks like a regression from 1.4.0 due to #2270.
I am doing a test setup of Foreman 1.4.1-2 in EC2.
I am getting the following error when attempting to provision a new EC2 host.
Failed to get IP for grrr.ec2.internal: undefined method `public_ip_addresses' for #<Fog::Compute::AWS::Server:0x000000087ae3f8>
I am unclear how Foreman gets the IP address in this case, but this looks like it may be a code problem.
Adding Compute instance for grrr.ec2.internal
waiting for instance to acquire ip address
Failed to get IP for grrr.ec2.internal: undefined method `public_ip_addresses' for #<Fog::Compute::AWS::Server:0x000000087ae3f8>/usr/share/foreman/app/models/concerns/orchestration/compute.rb:121:in `block in setComputeIP'
RELEASE: CentOS release 6.4 (Final)
RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
#4 Updated by Greg Sutcliffe almost 4 years ago
- Status changed from Assigned to Ready For Testing
If you're happy to try experimental stuff, you can try this patch to Foreman to solve the problem. You'll need to restart Foreman after it's applied.