I just try integration foreman mcollective puppet,and i installed all
packages,everting running is ok.
> mcollective is ok.
>
root@serv puppet]# mco ping
puppet.client1.com time=78.84 ms
puppet.test.cyl time=79.84 ms
[root@serv puppet]# mco puppet -v runonce puppet.client1.com
Discovering hosts using the mc method for 2 second(s) … 3
- [ ============================================================> ] 3 / 3
puppet.client1.com : OK
{:summary=> "Started a background Puppet run using the 'puppet
agent --onetime --daemonize --color=false --splay --splaylimit 30' command"}
serv.autodeploy.cetc : OK
{:summary=> "Started a background Puppet run using the 'puppet
agent --onetime --daemonize --color=false --splay --splaylimit 30' command"}
puppet.test.cyl : OK
{:summary=> "Started a background Puppet run using the 'puppet
agent --onetime --daemonize --color=false --splay --splaylimit 30' command"}
---- rpc stats ----
Nodes: 3 / 3
Pass / Fail: 3 / 0
Start Time: Sat Jun 15 16:28:05 +0800 2013
Discovery Time: 2002.96ms
Agent Time: 1338.65ms
Total Time: 3341.62ms
>
but i integration foreman mcollective is failed. i follow this config
document About - Foremanmcollective
and foreman web site, host has run puppet button,and run it, succeed,but
noting has changed.
please help me.TKS.
Check the proxy log file? /var/log/foreman-proxy/proxy.log
···
On 15/06/13 09:33, yongliang cao wrote:
> I just try integration foreman mcollective puppet,and i installed all
> packages,everting running is ok.
>
> mcollective is ok.
>
> root@serv puppet]# mco ping
> puppet.client1.com time=78.84 ms
> puppet.test.cyl time=79.84 ms
> [root@serv puppet]# mco puppet -v runonce puppet.client1.com
> Discovering hosts using the mc method for 2 second(s) .... 3
>
> * [ ============================================================> ] 3 / 3
>
>
> puppet.client1.com : OK
> {:summary=> "Started a background Puppet run using the 'puppet
> agent --onetime --daemonize --color=false --splay --splaylimit 30' command"}
>
> serv.autodeploy.cetc : OK
> {:summary=> "Started a background Puppet run using the 'puppet
> agent --onetime --daemonize --color=false --splay --splaylimit 30' command"}
>
> puppet.test.cyl : OK
> {:summary=> "Started a background Puppet run using the 'puppet
> agent --onetime --daemonize --color=false --splay --splaylimit 30' command"}
>
>
>
> ---- rpc stats ----
> Nodes: 3 / 3
> Pass / Fail: 3 / 0
> Start Time: Sat Jun 15 16:28:05 +0800 2013
> Discovery Time: 2002.96ms
> Agent Time: 1338.65ms
> Total Time: 3341.62ms
>
>
>
> but i integration foreman mcollective is failed. i follow this config
> document http://projects.theforeman.org/projects/foreman/wiki/_mcollective_
>
> and foreman web site, host has run puppet button,and run it, succeed,but
> noting has changed.
> please help me.TKS.
–
Dominic Cleal
Red Hat Engineering
proxy log,
[root@serv puppet]# cat /var/log/foreman-proxy/proxy.log
E, [2013-06-20T17:45:30.736594 #4702] ERROR – : Failed puppet run:
undefined local variable or method `logger' for
Proxy::Puppet::PuppetRun:Class
and now,when i click run puppet button, it warning “no puppet proxy defined
···
On Monday, June 17, 2013 3:23:34 PM UTC+8, Dominic Cleal wrote:
>
> On 15/06/13 09:33, yongliang cao wrote:
> > I just try integration foreman mcollective puppet,and i installed all
> > packages,everting running is ok.
> >
> > mcollective is ok.
> >
> > root@serv puppet]# mco ping
> > puppet.client1.com time=78.84 ms
> > puppet.test.cyl time=79.84 ms
> > [root@serv puppet]# mco puppet -v runonce puppet.client1.com
> > Discovering hosts using the mc method for 2 second(s) .... 3
> >
> > * [ ============================================================> ] 3 /
> 3
> >
> >
> > puppet.client1.com : OK
> > {:summary=> "Started a background Puppet run using the 'puppet
> > agent --onetime --daemonize --color=false --splay --splaylimit 30'
> command"}
> >
> > serv.autodeploy.cetc : OK
> > {:summary=> "Started a background Puppet run using the 'puppet
> > agent --onetime --daemonize --color=false --splay --splaylimit 30'
> command"}
> >
> > puppet.test.cyl : OK
> > {:summary=> "Started a background Puppet run using the 'puppet
> > agent --onetime --daemonize --color=false --splay --splaylimit 30'
> command"}
> >
> >
> >
> > ---- rpc stats ----
> > Nodes: 3 / 3
> > Pass / Fail: 3 / 0
> > Start Time: Sat Jun 15 16:28:05 +0800 2013
> > Discovery Time: 2002.96ms
> > Agent Time: 1338.65ms
> > Total Time: 3341.62ms
> >
> >
> >
> > but i integration foreman mcollective is failed. i follow this config
> > document
> http://projects.theforeman.org/projects/foreman/wiki/_mcollective_
> >
> > and foreman web site, host has run puppet button,and run it, succeed,but
> > noting has changed.
> > please help me.TKS.
>
> Check the proxy log file? /var/log/foreman-proxy/proxy.log
>
> --
> Dominic Cleal
> Red Hat Engineering
>