[Puppet Users] accessing one master via multiple hostnames (internal external)

2013-05-23 Thread Ernest Beinrohr
Hi, I currently use one puppetmaster for my external and internal servers. 
For the externals however I have to modify my /etc/hosts for puppet to 
work. 

Is it possible to use a different hostname for my master without the agents 
complaining?

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Re: puppet freezes on FUTEX_WAKE_PRIVATE

2012-07-16 Thread Ernest Beinrohr
Same here, we have this issue from the beginning (~3m). I am now forced to 
restart the service every hour :(

On Monday, July 16, 2012 9:56:15 AM UTC+2, Thomas Sturm wrote:


 Is this a relativly new issue for you? FUTEX_WAIT reminds me of the leap 
 second kernelbug. If that's the case setting the time will fix the issue. 


 http://serverfault.com/questions/407224/java-process-opends-consumes-all-cpu-futex-flood-how-to-debug-futex
  

 -Stefan 


 No, we already noticed this some weeks ago, so I don't think it has to do 
 with the leap second bug. The process also doesn't consume much CPU, it 
 just waits.

 Thomas


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/5ei7mfBzHW0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] puppet freezes on FUTEX_WAKE_PRIVATE

2012-06-25 Thread Ernest Beinrohr
Hi, i just want to ask whether somebody else has this problem of mine and 
if it can be solved.

Many of my ( 30+ ) puppet installation freeze up after some time. The 
process is waiting for some private futex, but it stays like that forever. 
This is what strace looks like when the problem occures:

[pid 29173] futex(0x3d35ce7a84, 
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 43406739, {1340611695, 
739433265}, ) = -1 ETIMEDOUT (Connection timed out)
[pid 29173] clock_gettime(CLOCK_REALTIME, {1340611695, 741431552}) = 0
[pid 29173] futex(0x3d35ce7ab0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 29173] futex(0x3d35ce7a84, 
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 43406741, {1340611695, 
751431552}, ) = -1 ETIMEDOUT (Connection timed out)
[pid 29173] clock_gettime(CLOCK_REALTIME, {1340611695, 753429831}) = 0
[pid 29173] futex(0x3d35ce7ab0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 29173] futex(0x3d35ce7a84, 
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 43406743, {1340611695, 
763429831}, ) = -1 ETIMEDOUT (Connection timed out)
[pid 29173] clock_gettime(CLOCK_REALTIME, {1340611695, 765427460}) = 0
[pid 29173] futex(0x3d35ce7ab0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 29173] futex(0x3d35ce7a84, 
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 43406745, {1340611695, 
775427460}, ) = -1 ETIMEDOUT (Connection timed out)
[pid 29173] clock_gettime(CLOCK_REALTIME, {1340611695, 777424282}) = 0
[pid 29173] futex(0x3d35ce7ab0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 29173] futex(0x3d35ce7a84, 
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 43406747, {1340611695, 
787424282}, ) = -1 ETIMEDOUT (Connection timed out)
[pid 29173] clock_gettime(CLOCK_REALTIME, {1340611695, 789423203}) = 0
[pid 29173] futex(0x3d35ce7ab0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 29173] futex(0x3d35ce7a84, 
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 43406749, {1340611695, 
799423203}, ) = -1 ETIMEDOUT (Connection timed out)
[pid 29173] clock_gettime(CLOCK_REALTIME, {1340611695, 801422477}) = 0
[pid 29173] futex(0x3d35ce7ab0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 29173] futex(0x3d35ce7a84, 
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 43406751, {1340611695, 
811422477}, ) = -1 ETIMEDOUT (Connection timed out)
[pid 29173] clock_gettime(CLOCK_REALTIME, {1340611695, 813420142}) = 0


This happens on RHEL6 with puppet from RF (puppet-2.7.9-1.el6.rf, 
ruby-1.8.7.352-7.el6_2.x86_64) and also with some mandriva I happen to have 
(puppet-2.7.13-1mdv2010.2, ruby-1.8.7.p249-4.2mdv2010.2)


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/VnnAQDuVe68J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Re: vcsrepo rake installation?

2012-04-24 Thread Ernest Beinrohr
alright, i was doint it wrong. just enable pluginsync=true on the
client.

On Apr 19, 5:05 pm, Ernest Beinrohr oer...@axonpro.sk wrote:
 Hi, I have trouble installing vcsrepo. I cloned vcsrepo onto my
 Centos6 and when I run rake i get this:

 (in /etc/puppet/modules/vcsrepo)
 ** Invoke default (first_time)
 ** Invoke spec (first_time)
 ** Execute spec
 ./spec/unit/puppet/provider/vcsrepo/cvs_spec.rb:3: undefined method
 `describe_provider' for main:Object (NoMethodError)
         from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
 example_group_runner.rb:15:in `load'
         from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
 example_group_runner.rb:15:in `load_files'
         from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
 example_group_runner.rb:14:in `each'
         from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
 example_group_runner.rb:14:in `load_files'
         from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
 options.rb:133:in `run_examples'
         from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
 command_line.rb:9:in `run'
         from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5
 rake aborted!
 Command /usr/bin/ruby -Ilib:lib:spec  /usr/lib/ruby/gems/1.8/gems/
 rspec-1.3.0/bin/spec spec/unit/puppet/provider/vcsrepo/cvs_spec.rb
 spec/unit/puppet/provider/vcsrepo/svn_spec.rb spec/unit/puppet/
 provider/vcsrepo/bzr_spec.rb spec/unit/puppet/provider/vcsrepo/
 hg_spec.rb spec/unit/puppet/provider/vcsrepo/git_spec.rb  failed
 /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/rake/spectask.rb:
 177:in `define'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb::in `verbose'
 /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/rake/spectask.rb:
 153:in `define'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `call'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `execute'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `each'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `execute'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
 `invoke_with_call_chain'
 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in
 `invoke_with_call_chain'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:606:in
 `invoke_prerequisites'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in `each'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in
 `invoke_prerequisites'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:595:in
 `invoke_with_call_chain'
 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in
 `invoke_with_call_chain'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:582:in `invoke'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in
 `invoke_task'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `each'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
 `standard_exception_handling'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2022:in `top_level'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
 `standard_exception_handling'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in `run'
 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
 /usr/bin/rake:19:in `load'
 /usr/bin/rake:19

 PS: my puppet and ruby packages are from epel:
 puppet-2.7.13-1.el6.noarch
 puppet-dashboard-1.2.4-1.el6.noarch
 puppet-server-2.7.13-1.el6.noarch
 ruby-1.8.7.352-7.el6_2.x86_64
 ruby-augeas-0.4.1-1.el6.x86_64
 rubygem-puppet-lint-0.1.6-1.el6.rf.noarch
 rubygem-rake-0.8.7-2.1.el6.noarch
 rubygem-rspec-1.3.0-2.el6.noarch
 rubygems-1.3.7-1.el6.noarch
 ruby-irb-1.8.7.352-7.el6_2.x86_64
 ruby-libs-1.8.7.352-7.el6_2.x86_64
 ruby-mysql-2.8.2-1.el6.x86_64
 ruby-rdoc-1.8.7.352-7.el6_2.x86_64
 ruby-shadow-1.4.1-13.el6.x86_64

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] vcsrepo rake installation?

2012-04-19 Thread Ernest Beinrohr
Hi, I have trouble installing vcsrepo. I cloned vcsrepo onto my
Centos6 and when I run rake i get this:

(in /etc/puppet/modules/vcsrepo)
** Invoke default (first_time)
** Invoke spec (first_time)
** Execute spec
./spec/unit/puppet/provider/vcsrepo/cvs_spec.rb:3: undefined method
`describe_provider' for main:Object (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
example_group_runner.rb:15:in `load'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
example_group_runner.rb:15:in `load_files'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
example_group_runner.rb:14:in `each'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
example_group_runner.rb:14:in `load_files'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
options.rb:133:in `run_examples'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
command_line.rb:9:in `run'
from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5
rake aborted!
Command /usr/bin/ruby -Ilib:lib:spec  /usr/lib/ruby/gems/1.8/gems/
rspec-1.3.0/bin/spec spec/unit/puppet/provider/vcsrepo/cvs_spec.rb
spec/unit/puppet/provider/vcsrepo/svn_spec.rb spec/unit/puppet/
provider/vcsrepo/bzr_spec.rb spec/unit/puppet/provider/vcsrepo/
hg_spec.rb spec/unit/puppet/provider/vcsrepo/git_spec.rb  failed
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/rake/spectask.rb:
177:in `define'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb::in `verbose'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/rake/spectask.rb:
153:in `define'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
`invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in
`invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:606:in
`invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in
`invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:595:in
`invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in
`invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:582:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in
`invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2022:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

PS: my puppet and ruby packages are from epel:
puppet-2.7.13-1.el6.noarch
puppet-dashboard-1.2.4-1.el6.noarch
puppet-server-2.7.13-1.el6.noarch
ruby-1.8.7.352-7.el6_2.x86_64
ruby-augeas-0.4.1-1.el6.x86_64
rubygem-puppet-lint-0.1.6-1.el6.rf.noarch
rubygem-rake-0.8.7-2.1.el6.noarch
rubygem-rspec-1.3.0-2.el6.noarch
rubygems-1.3.7-1.el6.noarch
ruby-irb-1.8.7.352-7.el6_2.x86_64
ruby-libs-1.8.7.352-7.el6_2.x86_64
ruby-mysql-2.8.2-1.el6.x86_64
ruby-rdoc-1.8.7.352-7.el6_2.x86_64
ruby-shadow-1.4.1-13.el6.x86_64

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.