Unfortunately that seems to be an issue with the mongodb cookbook
itself, as is trying to download an RPM that is not signed. Have you
tried with a different distribution such as an Ubuntu?

Also you may found more help in the Chef user mailing list [1].



I.


[1] http://lists.opscode.com/sympa/info/chef

On 16 January 2014 16:14, Venkatesh Ainalli <[email protected]> wrote:
> Hi guys
>
> i'm just out of college doin internship and new bee to AWS and mongoDB sorry
> if i'm asking silly question.
>
> i tried to Host mongoDB on AWS ec2 instances [used AMI:ami-1bf9de5e] through
> chef-solo.
> my runlist:
>
> recipe[mongodb::10gen_repo]
> recipe[mongodb]
>
> please help me out in Hosting Mongo DB successfully on AWS and
> OpenStack[will try out soon]
>
>
>
>
> Package mongo-10gen-server-2.4.9-mongodb_1.x86_64.rpm is not signed
> [2014-01-16T14:35:49+00:00] DEBUG: ---- End output of yum -d0 -e0 -y install
> mongo-10gen-server-2.4.9-mongodb_1 ----
> [2014-01-16T14:35:49+00:00] DEBUG: Ran yum -d0 -e0 -y install
> mongo-10gen-server-2.4.9-mongodb_1 returned 1
>
> ================================================================================
> Error executing action `install` on resource 'package[mongo-10gen-server]'
> ================================================================================
>
>
> Chef::Exceptions::Exec
> ----------------------
>  returned 1, expected 0
> ---- Begin output of  ----
> STDOUT: STDERR:
>
> Package mongo-10gen-server-2.4.9-mongodb_1.x86_64.rpm is not signed
> ---- End output of  ----
>
>
>
> Resource Declaration:
> ---------------------
> # In /var/chef/cookbooks/mongodb/recipes/default.rb
>
>  22: package node[:mongodb][:package_name] do
>  23:   action :install
>  24:   version node[:mongodb][:package_version]
>  25: end
>  26:
>
>
>
> Compiled Resource:
> ------------------
> # Declared in /var/chef/cookbooks/mongodb/recipes/default.rb:22:in
> `from_file'
>
> package("mongo-10gen-server") do
>   action [:install]
>   retries 0
>   retry_delay 2
>   package_name "mongo-10gen-server"
>   version "2.4.9-mongodb_1"
>   cookbook_name :mongodb
>   recipe_name "default"
> end
>
>
>
> [2014-01-16T14:35:49+00:00] INFO: Running queued delayed notifications
> before re-raising exception
> [2014-01-16T14:35:49+00:00] DEBUG: Re-raising exception:
> Chef::Exceptions::Exec - package[mongo-10gen-server] (mongodb::default line
> 22) had an error: Chef::Exceptions::Exec:  returned 1, expected 0
> ---- Begin output of  ----
> STDOUT: STDERR:
>
> Package mongo-10gen-server-2.4.9-mongodb_1.x86_64.rpm is not signed
> ---- End output of  ----
>

Reply via email to