[chef] Re: Re: Re: Re: aws_elastic_ip MissingParameter error


Chronological Thread 
  • From: Kevin Harvey < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: aws_elastic_ip MissingParameter error
  • Date: Thu, 1 Dec 2011 08:09:17 -0500

I just manually ssh'd in to the server (ssh ) and ran chef-client. It appears that resync'd the instance at OpsCode. I'm now able to run the knife ssh command. Does that sound right?

Thanks again.

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



On Thu, Dec 1, 2011 at 8:03 AM, Kevin Harvey < "> > wrote:
That did it! However now I can't run the knife ssh command. I assume that's because the node at OpsCode has a different public IP than the actual instance does? The command I'm trying to run is:

knife ssh 'name:i-xxxxxxxx' 'sudo chef-client -l debug' -a ec2.public_hostname -x ubuntu

Do I need to update the node manually, or is there something I can run to sync them up?

The AWS cookbook is 0.99.0
On Wed, Nov 30, 2011 at 7:29 PM, Stephen Delano < " target="_blank"> > wrote:
Hi Kevin,

Try installing version 2.1.0 of the right_aws gem and deleting version 3.0.0. Can you also verify the version number of your aws cookbook?

Thanks!


On Wed, Nov 30, 2011 at 3:21 PM, Kevin Harvey < " target="_blank"> > wrote:
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)
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




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





Archive powered by MHonArc 2.6.16.

§