- From:
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: knife ec2 create invalid AMI error when us-west-2, but not us-east-1
- Date: Wed, 16 Jan 2013 12:42:13 -0800
hmm. that AMI, 12.04 LTS 64bit instance-store, also fails for me in
us-west-2. but in us-east-1, ami-d726abbe, 12.04 LTS, works.
i don't understand ...
west:
[zahadum ~]$ knife ec2 server create -N host01.gruentea.com -E prod_foo -S
prod-foo-keypair -Z us-west-2b -f m1.large -I ami-ca2ca4fa -g sg-xyz
--user-data /path/chef-repo/nodes/node-host01.gruentea.com.json --distro
okta-ubuntu-launch -VV
DEBUG: Using configuration from /home/kallen/.chef/knife.rb
ERROR: You have not provided a valid image (AMI) value. Please note
the short option for this value recently changed from '-i' to '-I'.
east:
[zahadum ~]$ knife ec2 server create -N host02.gruentea.com -E dev_foo -S
dev-foo-keypair -Z us-east-1c -f m1.large -I ami-d726abbe -g sg-d7a87777
--user-data /path/chef-repo/nodes/node-host02.gruentea.com.json --distro
okta-ubuntu-launch -VV
DEBUG: Using configuration from /home/kallen/.chef/knife.rb
Instance ID: i-c5f9a3b4
Flavor: m1.large
Image: ami-d726abbe
Region: us-east-1
Availability Zone: us-east-1b
Security Group Ids: sg-05a8xxxxx
Tags: {"Name"=>"host02.gruentea.com"}
SSH Key: dev-foo-keypair
Waiting for server.....
[snip]
On Wed, 16 Jan 2013, Darron Froese wrote:
>
Just created one now for a test:
>
>
knife ec2 server create -r "role[setup]" -I ami-ca2ca4fa -f m1.small
>
-S keys-naw -G varnish -x ubuntu --region us-west-2 -Z us-west-2b
>
--node-name test --distro ubuntu10.04-ruby187 -i ~/.keys/keys-naw.pem
>
>
Got the AMI from here:
>
>
http://cloud-images.ubuntu.com/locator/ec2/
>
>
On Wed, Jan 16, 2013 at 12:41 PM,
>
<
>
>
wrote:
>
>
>
> has anyone else on the list successfully created a node with knife ec2
>
> in us-west-2? i'm wondering if it's just me, if i need to crack open
>
> the the code to figure out how to further debug this.
>
>
>
> running the below-mentioned knife ec2 command with -VV only gives me:
>
>
>
> DEBUG: Using configuration from /home/kallen/.chef/knife.rb
>
> ERROR: You have not provided a valid image (AMI) value. Please note the
>
> short
>
> option for this value recently changed from '-i' to '-I'.
>
>
>
>
>
> kallen
>
>
>
> On Fri, 11 Jan 2013,
>
>
>
> wrote:
>
>
>
>> and yes, these AMIs do launch successfully when i use AWS's
>
>> ec2-run-instances.
Archive powered by MHonArc 2.6.16.