[chef] Re: Re: aws_elastic_ip MissingParameter error


Chronological Thread 
  • From: Kevin Harvey < >
  • To:
  • Subject: [chef] Re: Re: aws_elastic_ip MissingParameter error
  • Date: Wed, 30 Nov 2011 18:21:48 -0500

Hey Stephen, I hadn't seen that, but I just tried it (version "2.1.0") and I still got the same error.

gem list right_aws returns the following on my new node

*** LOCAL GEMS ***

right_aws (3.0.0)

--
Kevin Harvey
Web Developer
615-686-8238
" target="_blank">



On Wed, Nov 30, 2011 at 5:28 PM, Stephen Delano < " target="_blank"> > wrote:
Hi there,

Is your issue somehow related to this ticket: http://tickets.opscode.com/browse/COOK-829

What is the output of `gem list right_aws` on your node?

On Wed, Nov 30, 2011 at 2:18 PM, Kevin Harvey < " target="_blank"> > wrote:
Anyone here know about the aws cookbook? I've set it up just as described here: https://github.com/opscode/cookbooks/tree/master/aws I'm using a new recipe in my app's own cookbook to set up an elastic ip, like so:

include_recipe "aws"

aws = data_bag_item("aws", "main")
ip_info = data_bag_item("aws", "project_load_balancer_production")

aws_elastic_ip "project_load_balancer_production" do
  aws_access_key aws['aws_access_key_id']
  aws_secret_access_key aws['aws_secret_access_key']
  ip ip_info['public_ip']
  action :associate
end

And I'm getting the same error described in this ticket: http://tickets.opscode.com/browse/COOK-845?page=com.atlassian.streams.streams-jira-plugin%3Aactivity-stream-issue-tab#issue-tabs

FATAL: RightAws::AwsError: aws_elastic_ip[umbuc_load_balancer_production] (caramel::elastic_ip line 15) had an error: MissingParameter: Either public IP or allocation id must be specified

I get the same error if I enter all the data manually.

--
Kevin Harvey
Web Developer
615-686-8238
" target="_blank">




--
Stephen Delano
Software Development Engineer
Opscode, Inc.
1008 Western Avenue
Suite 601
Seattle, WA 98104




Archive powered by MHonArc 2.6.16.

§