Despite installing gem install knife-ec2 I cannot use knife with chef 11.
How does one get knife ec2 to work on ubuntu 12.04?
knife ec2 server create -r “role[monitor_server]” -N
aws-monitor_server-sydney-development-1 --region ap-southeast-2 -Z
ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G monitor -x ubuntu -E
development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development_sydney.pem
FATAL: Cannot find sub command for: 'ec2 server create -r
role[monitor_server] -N aws-monitor_server-sydney-development-1 --region
ap-southeast-2 -Z ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G
monitor -x ubuntu -E development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development.pem’
The ec2 commands were moved to plugins in Chef 0.10
You can install the plugin with `(sudo) gem install knife-ec2
Thanks
I don't want to say the obvious - but do you have the knife-ec2 gem
installed?
gem list knife-ec2
(if nothing)
gem install knife-ec2
On Tue, Feb 26, 2013 at 10:52 PM, David Montgomery <
davidmontgomery@gmail.com> wrote:
Despite installing gem install knife-ec2 I cannot use knife with chef 11.
How does one get knife ec2 to work on ubuntu 12.04?
knife ec2 server create -r "role[monitor_server]" -N
aws-monitor_server-sydney-development-1 --region ap-southeast-2 -Z
ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G monitor -x ubuntu -E
development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development_sydney.pem
FATAL: Cannot find sub command for: 'ec2 server create -r
role[monitor_server] -N aws-monitor_server-sydney-development-1 --region
ap-southeast-2 -Z ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G
monitor -x ubuntu -E development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development.pem'
The ec2 commands were moved to plugins in Chef 0.10
You can install the plugin with `(sudo) gem install knife-ec2
Thanks
Yup...thats why I am confused..............
On Wed, Feb 27, 2013 at 11:55 AM, Pete Cheslock petecheslock@gmail.comwrote:
I don't want to say the obvious - but do you have the knife-ec2 gem
installed?
gem list knife-ec2
(if nothing)
gem install knife-ec2
On Tue, Feb 26, 2013 at 10:52 PM, David Montgomery <
davidmontgomery@gmail.com> wrote:
Despite installing gem install knife-ec2 I cannot use knife with chef 11.
How does one get knife ec2 to work on ubuntu 12.04?
knife ec2 server create -r "role[monitor_server]" -N
aws-monitor_server-sydney-development-1 --region ap-southeast-2 -Z
ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G monitor -x ubuntu -E
development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development_sydney.pem
FATAL: Cannot find sub command for: 'ec2 server create -r
role[monitor_server] -N aws-monitor_server-sydney-development-1 --region
ap-southeast-2 -Z ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G
monitor -x ubuntu -E development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development.pem'
The ec2 commands were moved to plugins in Chef 0.10
You can install the plugin with `(sudo) gem install knife-ec2
Thanks
Do you have multiple versions of chef installed? It might help to uninstall
the older versions of chef.
Regards*,*
Chirag Jog
Chief Technology Officer,
Clogeny Technologies | http://clogeny.com
(M) 0091-9766619440 | Skype: chirag.jog
On Wed, Feb 27, 2013 at 9:29 AM, David Montgomery <davidmontgomery@gmail.com
wrote:
Yup...thats why I am confused..............
On Wed, Feb 27, 2013 at 11:55 AM, Pete Cheslock petecheslock@gmail.comwrote:
I don't want to say the obvious - but do you have the knife-ec2 gem
installed?
gem list knife-ec2
(if nothing)
gem install knife-ec2
On Tue, Feb 26, 2013 at 10:52 PM, David Montgomery <
davidmontgomery@gmail.com> wrote:
Despite installing gem install knife-ec2 I cannot use knife with chef 11.
How does one get knife ec2 to work on ubuntu 12.04?
knife ec2 server create -r "role[monitor_server]" -N
aws-monitor_server-sydney-development-1 --region ap-southeast-2 -Z
ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G monitor -x ubuntu -E
development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development_sydney.pem
FATAL: Cannot find sub command for: 'ec2 server create -r
role[monitor_server] -N aws-monitor_server-sydney-development-1 --region
ap-southeast-2 -Z ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G
monitor -x ubuntu -E development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development.pem'
The ec2 commands were moved to plugins in Chef 0.10
You can install the plugin with `(sudo) gem install knife-ec2
Thanks
Any sort of RVM or RBENV setup installed?
Your log message makes it seems like knife is unable to find/see the the
knife-ec2 gem -maybe gist us the output from gem list, gem -v and ruby -v
-Pete
On Tue, Feb 26, 2013 at 10:59 PM, David Montgomery <
davidmontgomery@gmail.com> wrote:
Yup...thats why I am confused..............
On Wed, Feb 27, 2013 at 11:55 AM, Pete Cheslock petecheslock@gmail.comwrote:
I don't want to say the obvious - but do you have the knife-ec2 gem
installed?
gem list knife-ec2
(if nothing)
gem install knife-ec2
On Tue, Feb 26, 2013 at 10:52 PM, David Montgomery <
davidmontgomery@gmail.com> wrote:
Despite installing gem install knife-ec2 I cannot use knife with chef 11.
How does one get knife ec2 to work on ubuntu 12.04?
knife ec2 server create -r "role[monitor_server]" -N
aws-monitor_server-sydney-development-1 --region ap-southeast-2 -Z
ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G monitor -x ubuntu -E
development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development_sydney.pem
FATAL: Cannot find sub command for: 'ec2 server create -r
role[monitor_server] -N aws-monitor_server-sydney-development-1 --region
ap-southeast-2 -Z ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G
monitor -x ubuntu -E development -S aws_development_sydney -i
/home/ubuntu/.ec2/aws_development.pem'
The ec2 commands were moved to plugins in Chef 0.10
You can install the plugin with `(sudo) gem install knife-ec2
Thanks
If you have installed knife-ec2 as part of a bundle install you'll need to run bundle exec knife ec2 server create ...
On Feb 26, 2013, at 11:05 PM, Pete Cheslock petecheslock@gmail.com wrote:
Any sort of RVM or RBENV setup installed?
Your log message makes it seems like knife is unable to find/see the the knife-ec2 gem -maybe gist us the output from gem list, gem -v and ruby -v
-Pete
On Tue, Feb 26, 2013 at 10:59 PM, David Montgomery davidmontgomery@gmail.com wrote:
Yup...thats why I am confused..............
On Wed, Feb 27, 2013 at 11:55 AM, Pete Cheslock petecheslock@gmail.com wrote:
I don't want to say the obvious - but do you have the knife-ec2 gem installed?
gem list knife-ec2
(if nothing)
gem install knife-ec2
On Tue, Feb 26, 2013 at 10:52 PM, David Montgomery davidmontgomery@gmail.com wrote:
Despite installing gem install knife-ec2 I cannot use knife with chef 11.
How does one get knife ec2 to work on ubuntu 12.04?
knife ec2 server create -r "role[monitor_server]" -N aws-monitor_server-sydney-development-1 --region ap-southeast-2 -Z ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G monitor -x ubuntu -E development -S aws_development_sydney -i /home/ubuntu/.ec2/aws_development_sydney.pem
FATAL: Cannot find sub command for: 'ec2 server create -r role[monitor_server] -N aws-monitor_server-sydney-development-1 --region ap-southeast-2 -Z ap-southeast-2b -I ami-e2ba2cd8 --flavor m1.small -G monitor -x ubuntu -E development -S aws_development_sydney -i /home/ubuntu/.ec2/aws_development.pem'
The ec2 commands were moved to plugins in Chef 0.10
You can install the plugin with `(sudo) gem install knife-ec2
Thanks