I have install the foreman install. When i try to start the foreman proxy
it is getting below error.
[root@puppdev01 conf.d]# service foreman-proxy start
Starting foreman-proxy:
/usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:30:in strict_error': Gem loading error: can't activate rack (= 1.1.0, runtime) for [], already activated rack-1.6.0 for ["sinatra-1.0"] (RuntimeError) from /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:56:insystem_require'
from
/usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in each' from /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:insystem_require'
from /usr/share/foreman-proxy/lib/bundler_helper.rb:22:in require_groups' from /usr/share/foreman-proxy/lib/smart_proxy.rb:23 from /usr/share/foreman-proxy/bin/smart-proxy:5:inrequire'
from /usr/share/foreman-proxy/bin/smart-proxy:5
[FAILED]
During foreman install getting the below error
[root@puppdev01 /]# foreman-installer
/Stage[main]/Foreman::Plugin::Bootdisk/Foreman::Plugin[bootdisk]/Package[ruby193-rubygem-foreman_bootdisk]/ensure:
change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0
-y install ruby193-rubygem-foreman_bootdisk' returned 1: Error: Nothing to
do
/Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[ruby193-rubygem-foreman_setup]/ensure:
change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0
-y install ruby193-rubygem-foreman_setup' returned 1: Error: Nothing to do
/Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/ensure: change
from stopped to running failed: Could not start Service[foreman-proxy]:
Execution of '/sbin/service foreman-proxy start' returned 1: at
/usr/share/foreman-installer/modules/foreman_proxy/manifests/service.pp:9
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[ussclpuppdev01.ads.autodesk.com]:
Failed to call refresh: missing param 'id' in parameters
Installing Done
[100%] […]
Something went wrong! Check the log for ERROR-level output
Something wrong is with you repositories, installer cannot even install
some packages.
Always install on a clean machine. I'd start over in this case.
LZ
···
On Tue, Mar 03, 2015 at 03:51:22PM -0800, Sathya SN wrote:
> Hello ,
>
> I have install the foreman install. When i try to start the foreman proxy
> it is getting below error.
>
> [root@puppdev01 conf.d]# service foreman-proxy start
> Starting foreman-proxy:
> /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:30:in
> `strict_error': Gem loading error: can't activate rack (= 1.1.0, runtime)
> for [], already activated rack-1.6.0 for ["sinatra-1.0"] (RuntimeError)
> from
> /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:56:in
> `system_require'
> from
> /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in
> `each'
> from
> /usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in
> `system_require'
> from /usr/share/foreman-proxy/lib/bundler_helper.rb:22:in
> `require_groups'
> from /usr/share/foreman-proxy/lib/smart_proxy.rb:23
> from /usr/share/foreman-proxy/bin/smart-proxy:5:in `require'
> from /usr/share/foreman-proxy/bin/smart-proxy:5
> [FAILED]
>
> During foreman install getting the below error
>
> [root@puppdev01 /]# foreman-installer
> /Stage[main]/Foreman::Plugin::Bootdisk/Foreman::Plugin[bootdisk]/Package[ruby193-rubygem-foreman_bootdisk]/ensure:
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0
> -y install ruby193-rubygem-foreman_bootdisk' returned 1: Error: Nothing to
> do
> /Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[ruby193-rubygem-foreman_setup]/ensure:
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0
> -y install ruby193-rubygem-foreman_setup' returned 1: Error: Nothing to do
> /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/ensure: change
> from stopped to running failed: Could not start Service[foreman-proxy]:
> Execution of '/sbin/service foreman-proxy start' returned 1: at
> /usr/share/foreman-installer/modules/foreman_proxy/manifests/service.pp:9
> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[ussclpuppdev01.ads.autodesk.com]:
> Failed to call refresh: missing param 'id' in parameters
> Installing Done
> [100%] [...........................................................]
> Something went wrong! Check the log for ERROR-level output
>
>
> --
> You received this message because you are subscribed to the Google Groups "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.