That cookbook was written for the older Yum cookbook that included a recipe for setting up the EPEL repository. It needs to be updated for to use the new yum-epel cookbook that performs the epel setup, since yum no longer includes that recipe. I fixed it and submitted a pull request with the change here:
Tried to deploy Redmine cookbook on centos cookbook compilation is failing even after uploading all the yum dependencies.
Chef::Exceptions::RecipeNotFound [0m
-------------------------------- [0m
could not find recipe epel for cookbook yum [0m
[0m
Running handlers: [0m
[2014-06-24T12:04:43+00:00] ERROR: Running exception handlers
Running handlers complete
[0m
[2014-06-24T12:04:43+00:00] ERROR: Exception handlers complete
[2014-06-24T12:04:43+00:00] FATAL: Stacktrace dumped to /var/chef/chef-stacktrace.out
Chef Client failed. 0 resources updated in 5.970108249 seconds [0m
[2014-06-24T12:04:43+00:00] ERROR: could not find recipe epel for cookbook yum
[2014-06-24T12:04:43+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)}
24.06.2014 17:34:44 INFO [com.itapp.api.controller.impl.FailedMessageHandler] e3e8f80e-ef8b-4934-8c31-ce1ffd024721 - Handling error - org.apache.camel.CamelExchangeException: Failed to execute runlist {}. Exchange[Message: ]
--
The information in this message may be confidential. It is intended solely
for
the addressee(s). If you are not the intended recipient, any disclosure,
copying or distribution of the message, or any action or omission taken by
you
in reliance on it, is prohibited and may be unlawful. Please immediately
contact the sender if you have received this message in error.
Thank you will try again
On Jun 25, 2014 1:09 AM, "Tim Smith" tsmith@llnw.com wrote:
That cookbook was written for the older Yum cookbook that included a
recipe for setting up the EPEL repository. It needs to be updated for to
use the new yum-epel cookbook that performs the epel setup, since yum no
longer includes that recipe. I fixed it and submitted a pull request with
the change here:
Tried to deploy Redmine cookbook on centos cookbook compilation is failing
even after uploading all the yum dependencies.
Chef::Exceptions::RecipeNotFound [0m
-------------------------------- [0m
could not find recipe epel for cookbook yum [0m
[0m
Running handlers: [0m
[2014-06-24T12:04:43+00:00] ERROR: Running exception handlers
Running handlers complete
[0m
[2014-06-24T12:04:43+00:00] ERROR: Exception handlers complete
[2014-06-24T12:04:43+00:00] FATAL: Stacktrace dumped to
/var/chef/chef-stacktrace.out
Chef Client failed. 0 resources updated in 5.970108249 seconds [0m
[2014-06-24T12:04:43+00:00] ERROR: could not find recipe epel for cookbook
yum
[2014-06-24T12:04:43+00:00] FATAL: Chef::Exceptions::ChildConvergeError:
Chef run process exited unsuccessfully (exit code 1)}
24.06.2014 17:34:44 INFO
[com.itapp.api.controller.impl.FailedMessageHandler]
e3e8f80e-ef8b-4934-8c31-ce1ffd024721 - Handling error -
org.apache.camel.CamelExchangeException: Failed to execute runlist {}.
Exchange[Message: ]
The information in this message may be confidential. It is intended
solely for
the addressee(s). If you are not the intended recipient, any disclosure,
copying or distribution of the message, or any action or omission taken by
you
in reliance on it, is prohibited and may be unlawful. Please immediately
contact the sender if you have received this message in error.
installation went perfectly without any issues but able to access redmine
site.
deployed redmine on VM then pinged VM IP in browser not able to access
redmine site.
I'm i missing anything??
On Wed, Jun 25, 2014 at 7:09 AM, Venkatesh Ainalli venki.ain@gmail.com
wrote:
Thank you will try again
On Jun 25, 2014 1:09 AM, "Tim Smith" tsmith@llnw.com wrote:
That cookbook was written for the older Yum cookbook that included a
recipe for setting up the EPEL repository. It needs to be updated for to
use the new yum-epel cookbook that performs the epel setup, since yum no
longer includes that recipe. I fixed it and submitted a pull request with
the change here:
Tried to deploy Redmine cookbook on centos cookbook compilation is
failing even after uploading all the yum dependencies.
Chef::Exceptions::RecipeNotFound [0m
-------------------------------- [0m
could not find recipe epel for cookbook yum [0m
[0m
Running handlers: [0m
[2014-06-24T12:04:43+00:00] ERROR: Running exception handlers
Running handlers complete
[0m
[2014-06-24T12:04:43+00:00] ERROR: Exception handlers complete
[2014-06-24T12:04:43+00:00] FATAL: Stacktrace dumped to
/var/chef/chef-stacktrace.out
Chef Client failed. 0 resources updated in 5.970108249 seconds [0m
[2014-06-24T12:04:43+00:00] ERROR: could not find recipe epel for
cookbook yum
[2014-06-24T12:04:43+00:00] FATAL: Chef::Exceptions::ChildConvergeError:
Chef run process exited unsuccessfully (exit code 1)}
24.06.2014 17:34:44 INFO
[com.itapp.api.controller.impl.FailedMessageHandler]
e3e8f80e-ef8b-4934-8c31-ce1ffd024721 - Handling error -
org.apache.camel.CamelExchangeException: Failed to execute runlist {}.
Exchange[Message: ]
The information in this message may be confidential. It is intended
solely for
the addressee(s). If you are not the intended recipient, any disclosure,
copying or distribution of the message, or any action or omission taken
by you
in reliance on it, is prohibited and may be unlawful. Please immediately
contact the sender if you have received this message in error.
execute[yum-makecache-epel] action nothing (skipped due to action
:nothing)
ruby_block[yum-cache-reload-epel] action nothing (skipped due to action
:nothing)
Recipe: redmine::source
package[ruby-devel] action install
install version 2.0-0.3.amzn1 of package ruby-devel
package[zlib-devel] action install
install version 1.2.7-10.17.amzn1 of package zlib-devel
package[curl-devel] action install[2014-06-25T07:06:59+00:00] WARN:
package[curl-devel] matched multiple Provides for curl-devel but we can
only use the first match: libcurl-devel. Please use a more specific version.
install version 7.36.0-2.45.amzn1 of package libcurl-devel
package[openssl-devel] action install
install version 1.0.1h-1.76.amzn1 of package openssl-devel
package[httpd-devel] action install
install version 2.2.27-1.2.amzn1 of package httpd-devel
package[apr-devel] action install (up to date)
package[apr-util-devel] action install (up to date)
package[mod_passenger] action install
install version 3.0.21-11.el6 of package mod_passenger
package[subversion] action install
install version 1.8.8-1.43.amzn1 of package subversion
Expected process to exit with [0], but received '200'
---- Begin output of /usr/bin/python
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/provider/package/yum-dump.py
--installed ----
STDOUT:
STDERR: yum-dump Locking Error! Couldn't obtain an exclusive yum lock in 10
seconds. Giving up.
---- End output of /usr/bin/python
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/provider/package/yum-dump.py
--installed ----
Ran /usr/bin/python
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/provider/package/yum-dump.py
--installed returned 200
Resource Declaration:
In /var/chef/cookbooks/redmine/recipes/source.rb
40: package pkg
41: end
Compiled Resource:
Declared in /var/chef/cookbooks/redmine/recipes/source.rb:40:in `block in
from_file'
package("mercurial") do
action :install
retries 0
retry_delay 2
guard_interpreter :default
package_name "mercurial"
cookbook_name :redmine
recipe_name "source"
end
On Wed, Jun 25, 2014 at 9:23 AM, Venkatesh Ainalli venki.ain@gmail.com
wrote:
installation went perfectly without any issues but able to access redmine
site.
deployed redmine on VM then pinged VM IP in browser not able to access
redmine site.
I'm i missing anything??
On Wed, Jun 25, 2014 at 7:09 AM, Venkatesh Ainalli venki.ain@gmail.com
wrote:
Thank you will try again
On Jun 25, 2014 1:09 AM, "Tim Smith" tsmith@llnw.com wrote:
That cookbook was written for the older Yum cookbook that included a
recipe for setting up the EPEL repository. It needs to be updated for to
use the new yum-epel cookbook that performs the epel setup, since yum no
longer includes that recipe. I fixed it and submitted a pull request with
the change here:
Tried to deploy Redmine cookbook on centos cookbook compilation is
failing even after uploading all the yum dependencies.
Chef::Exceptions::RecipeNotFound [0m
-------------------------------- [0m
could not find recipe epel for cookbook yum [0m
[0m
Running handlers: [0m
[2014-06-24T12:04:43+00:00] ERROR: Running exception handlers
Running handlers complete
[0m
[2014-06-24T12:04:43+00:00] ERROR: Exception handlers complete
[2014-06-24T12:04:43+00:00] FATAL: Stacktrace dumped to
/var/chef/chef-stacktrace.out
Chef Client failed. 0 resources updated in 5.970108249 seconds [0m
[2014-06-24T12:04:43+00:00] ERROR: could not find recipe epel for
cookbook yum
[2014-06-24T12:04:43+00:00] FATAL: Chef::Exceptions::ChildConvergeError:
Chef run process exited unsuccessfully (exit code 1)}
24.06.2014 17:34:44 INFO
[com.itapp.api.controller.impl.FailedMessageHandler]
e3e8f80e-ef8b-4934-8c31-ce1ffd024721 - Handling error -
org.apache.camel.CamelExchangeException: Failed to execute runlist {}.
Exchange[Message: ]
The information in this message may be confidential. It is intended
solely for
the addressee(s). If you are not the intended recipient, any disclosure,
copying or distribution of the message, or any action or omission taken
by you
in reliance on it, is prohibited and may be unlawful. Please immediately
contact the sender if you have received this message in error.
On Wednesday, June 25, 2014 at 12:14 AM, Venkatesh Ainalli wrote:
================================================================================
Error executing action install on resource 'package[mercurial]'
Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received '200'
---- Begin output of /usr/bin/python /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/provider/package/yum-dump.py --installed ----
STDOUT:
STDERR: yum-dump Locking Error! Couldn't obtain an exclusive yum lock in 10 seconds. Giving up.
---- End output of /usr/bin/python /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/provider/package/yum-dump.py --installed ----
Ran /usr/bin/python /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/provider/package/yum-dump.py --installed returned 200
Either some other process is installing packages or there’s a stale lock. Check for other processes that might be installing packages. If you’re certain it’s a stale lock, you can look for /var/lib/rpm/.*lock and blow those away.