[Puppet Users] Puppet Windows ARR
Hello guys, I have been asked to use Puppet in order to set-up Windows ARR, however, I have been searching all over Google but unfortunately, I couldn't find anything. Could someone please let me know where I can find more information about this as well as creating a Windows Server Cluster using Puppet? Thank you, Regards, Sergiu -- This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove it and its attachments from your system. The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/cae81bc1-b495-4dfb-bf18-6e76f14afc0c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: ERROR: Could not evaluate: Could not retrieve information from environment production source(s)
Quick question Trevor how do I resolve this Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Connection refused - connect(2) Info: Retrieving pluginfacts Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources u sing 'eval_generate': Connection refused - connect(2) Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve fi le metadata for puppet://puppet6.com/pluginfacts: Connection refused - conne ct(2) Info: Retrieving plugin Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Connection refused - connect(2) Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file m etadata for puppet://puppet6.com/plugins: Connection refused - connect(2) Info: Loading facts Error: Could not retrieve catalog from remote server: Connection refused - conne ct(2) Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run On Wednesday, June 25, 2014 at 5:06:47 AM UTC-4, shlo@gmail.com wrote: Hi, I upgrade my Puppet server and agent to Puppet 3.6.2 ( I had Puppet server: 3.3.1 Puppet agent: 2.7.25). When I run puppet on the agent I get the errors: Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:// iblpuppetsrv01.weizmann.ac.il/pluginfacts Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:// iblpuppetsrv01.weizmann.ac.il/plugins I find in google to downgrade the facter from 2.0.2 to 1.7.x. Is there any other solution? -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1d884ed3-ee1e-4370-8dd3-30007d5eb4d0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Re: Puppet Server dying with high number of JRuby instances
Hi Chris, this was also our expectation. Even with 24 instances, it did not die at 17, but at instance 20. I have created issue SERVER-858 for this. Regards, Stefan On Di, 2015-08-25 at 04:59 -0700, Chris Price wrote: Stefan, That is a very weird error. The way it reads it sounds like something that should happen on every JRuby instance or on none of them (NoClassDefFoundError usually means it's trying to load some code that doesn't exist), so I wouldn't expect you to see a difference in behavior between 16 instances and 32 instances. It might be best if you open a bug about this on our issue tracker: https://tickets.puppetlabs.com/browse/SERVER , so that we can get some other folks to weigh in on it... would you mind doing that? On Tuesday, August 25, 2015 at 12:05:54 PM UTC+1, Dietrich, Stefan wrote: Hello, we tried to today to migrate our Puppet Masters from Apache/Passenger to Puppet Server 1.1.1. However, Puppet Server just dies with error messages as soon as we increase the number of JRuby instances to 24 and a JVM heapsize of 16GB. During startup of Puppet Server, it starts to spawn the JRuby instances one after another and around ~8 instances an exception is logged: 2015-08-25 10:25:05,676 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-08-25 10:25:06,254 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 7 of 32 2015-08-25 10:25:08,567 ERROR [p.t.internal] shutdown-on-error triggered because of exception! java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. Caused by: org.jruby.embed.EvalFailedException: (LoadError) load error: jopenssl/load -- java.lang.NoClassDefFoundError: org/jruby/ext/openssl/NetscapeSPKI at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.ja va:132) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java: 1341) ~[puppet-server-release.jar:na] The full log file is available in this Gist [1]. The log file is from the initial setup with max-active-instances set to 32 and a JVM heap size of 48gb. We had a working setup with 16GB Heap and 16 instances. Sometimes 24 worked as well, but not always. However, 16 instances will be too small to handle all the Puppet agents. Increasing the timeout in /etc/sysconfig/puppetserver did not help either. We use rather beefy HW for our 3x Puppet Masters (2x Dell R715, 1x R815), for Apache/Passenger this scaled nicely. The OS on the Puppet Masters is Scientific Linux 6.6 (RHEL 6.6 clone) and OpenJDK 8 is used. We tried the Oracle JRE as well, but this did not change anything. HTTPS is terminated at our F5 Loadbalancer, which forwards the traffic unencrypted to Puppet Server. Any help would be appreciated! [1] https://gist.github.com/stdietrich/5a5b8f9b1dc2445c3ec7 Regards, Stefan -- --- - Stefan DietrichDeutsches Elektronen-Synchrotron (IT -Systems) Ein Forschungszentrum der Helmholtz -Gemeinschaft Notkestr. 85 phone: +49-40-8998-4696 22607 Hamburg e-mail: stefan@desy.de javascript: Germany --- - -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1440515396.31625.6.camel%40desy.de. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: Puppet agent run runs slowly
Hi, You can run profiler to check who and what is taking time in detail. https://puppetlabs.com/blog/tune-puppet-performance-profiler -Kaustubh On Tuesday, August 25, 2015 at 3:49:28 AM UTC-4, Constantin Wolber wrote: Hi, i searched quite a bit with google but cannot really find an idea of what to change. If i do a puppet agent run on a few of my managed servers i get the following results: Notice: Finished catalog run in 486.54 seconds Changes: Events: Resources: Total: 2304 Time: Filebucket: 0.00 Apt key: 0.00 Anchor: 0.00 Schedule: 0.00 Group: 0.00 Exec: 0.00 User: 0.00 Ssh authorized key: 0.00 Package: 0.39 Last run: 1440488641 Service: 2.71 Config retrieval: 2.91 File: 22.60 Total: 28.62 Version: Config: 1440488048 Puppet: 3.8.1 The summarized view looks good but it seems puppet spends a lot of time in different other places that don't count for the summarize. 1. Debug: Loaded state in 119.18 seconds 2. Debug: Loaded state in 156.15 seconds 3. Debug: Stored state in 252.81 seconds What is causing those excessive times for Loading and Storing the state. I did not really find a lot of hints on that topic. Due to some ideas i already changed most of my recurse options for file type to recurse = remote I also found the hint to use checksum = none but not sure about the effect of that change. Any hints are welcome Regards Constantin -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/05bacd31-8a6c-4ab5-bdd3-a323f12ff249%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Puppet agent run runs slowly
Hi, i searched quite a bit with google but cannot really find an idea of what to change. If i do a puppet agent run on a few of my managed servers i get the following results: Notice: Finished catalog run in 486.54 seconds Changes: Events: Resources: Total: 2304 Time: Filebucket: 0.00 Apt key: 0.00 Anchor: 0.00 Schedule: 0.00 Group: 0.00 Exec: 0.00 User: 0.00 Ssh authorized key: 0.00 Package: 0.39 Last run: 1440488641 Service: 2.71 Config retrieval: 2.91 File: 22.60 Total: 28.62 Version: Config: 1440488048 Puppet: 3.8.1 The summarized view looks good but it seems puppet spends a lot of time in different other places that don't count for the summarize. 1. Debug: Loaded state in 119.18 seconds 2. Debug: Loaded state in 156.15 seconds 3. Debug: Stored state in 252.81 seconds What is causing those excessive times for Loading and Storing the state. I did not really find a lot of hints on that topic. Due to some ideas i already changed most of my recurse options for file type to recurse = remote I also found the hint to use checksum = none but not sure about the effect of that change. Any hints are welcome Regards Constantin -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e53e46b9-1361-4bd5-8c79-17bfaa56c1a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Announce: PuppetDB 3.1.0 is available!
PuppetDB 3.1.0 - August 25, 2015 PuppetDB 3.1.0 Downloads Available in native package format as part of Puppet Collection 1 (PC1). More information on the PC1 repositories is available here: http://bit.ly/1HQJDNb Binary tarball: http://downloads.puppetlabs.com/puppetdb/ Source: http://github.com/puppetlabs/puppetdb Please report feedback via the Puppet Labs tickets site, using an affected PuppetDB version of 3.1.0: https://tickets.puppetlabs.com/browse/PDB Documentation: http://docs.puppetlabs.com/puppetdb/3.1/ Puppet module: http://forge.puppetlabs.com/puppetlabs/puppetdb PuppetDB 3.1.0 Release Notes PuppetDB 3.1.0 is a backward-compatible feature release that includes new aggregate operators and a new admin route that improves import/export performance. More information on the specifics of the release can be found in the official release notes: https://docs.puppetlabs.com/puppetdb/3.1/release_notes.html Contributors --- Andrew Roetker, Ken Barber, Rob Browning, Russell Mull, Ryan Senior, Wyatt Alt -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAGDMwd3Cq-sm0aN3HtCRg4Ui0U-xW6E9XwqCgWk4DNThgjF-zQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: Puppet Server dying with high number of JRuby instances
Stefan, That is a very weird error. The way it reads it sounds like something that should happen on every JRuby instance or on none of them (NoClassDefFoundError usually means it's trying to load some code that doesn't exist), so I wouldn't expect you to see a difference in behavior between 16 instances and 32 instances. It might be best if you open a bug about this on our issue tracker: https://tickets.puppetlabs.com/browse/SERVER , so that we can get some other folks to weigh in on it... would you mind doing that? On Tuesday, August 25, 2015 at 12:05:54 PM UTC+1, Dietrich, Stefan wrote: Hello, we tried to today to migrate our Puppet Masters from Apache/Passenger to Puppet Server 1.1.1. However, Puppet Server just dies with error messages as soon as we increase the number of JRuby instances to 24 and a JVM heapsize of 16GB. During startup of Puppet Server, it starts to spawn the JRuby instances one after another and around ~8 instances an exception is logged: 2015-08-25 10:25:05,676 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-08-25 10:25:06,254 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 7 of 32 2015-08-25 10:25:08,567 ERROR [p.t.internal] shutdown-on-error triggered because of exception! java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. Caused by: org.jruby.embed.EvalFailedException: (LoadError) load error: jopenssl/load -- java.lang.NoClassDefFoundError: org/jruby/ext/openssl/NetscapeSPKI at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:132) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1341) ~[puppet-server-release.jar:na] The full log file is available in this Gist [1]. The log file is from the initial setup with max-active-instances set to 32 and a JVM heap size of 48gb. We had a working setup with 16GB Heap and 16 instances. Sometimes 24 worked as well, but not always. However, 16 instances will be too small to handle all the Puppet agents. Increasing the timeout in /etc/sysconfig/puppetserver did not help either. We use rather beefy HW for our 3x Puppet Masters (2x Dell R715, 1x R815), for Apache/Passenger this scaled nicely. The OS on the Puppet Masters is Scientific Linux 6.6 (RHEL 6.6 clone) and OpenJDK 8 is used. We tried the Oracle JRE as well, but this did not change anything. HTTPS is terminated at our F5 Loadbalancer, which forwards the traffic unencrypted to Puppet Server. Any help would be appreciated! [1] https://gist.github.com/stdietrich/5a5b8f9b1dc2445c3ec7 Regards, Stefan -- Stefan DietrichDeutsches Elektronen-Synchrotron (IT-Systems) Ein Forschungszentrum der Helmholtz-Gemeinschaft Notkestr. 85 phone: +49-40-8998-4696 22607 Hamburg e-mail: stefan@desy.de javascript: Germany -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f38505c9-8793-45d4-bee0-1aa0f45bdf94%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Puppet Server dying with high number of JRuby instances
Hello, we tried to today to migrate our Puppet Masters from Apache/Passenger to Puppet Server 1.1.1. However, Puppet Server just dies with error messages as soon as we increase the number of JRuby instances to 24 and a JVM heapsize of 16GB. During startup of Puppet Server, it starts to spawn the JRuby instances one after another and around ~8 instances an exception is logged: 2015-08-25 10:25:05,676 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-08-25 10:25:06,254 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 7 of 32 2015-08-25 10:25:08,567 ERROR [p.t.internal] shutdown-on-error triggered because of exception! java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. Caused by: org.jruby.embed.EvalFailedException: (LoadError) load error: jopenssl/load -- java.lang.NoClassDefFoundError: org/jruby/ext/openssl/NetscapeSPKI at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:132) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1341) ~[puppet-server-release.jar:na] The full log file is available in this Gist [1]. The log file is from the initial setup with max-active-instances set to 32 and a JVM heap size of 48gb. We had a working setup with 16GB Heap and 16 instances. Sometimes 24 worked as well, but not always. However, 16 instances will be too small to handle all the Puppet agents. Increasing the timeout in /etc/sysconfig/puppetserver did not help either. We use rather beefy HW for our 3x Puppet Masters (2x Dell R715, 1x R815), for Apache/Passenger this scaled nicely. The OS on the Puppet Masters is Scientific Linux 6.6 (RHEL 6.6 clone) and OpenJDK 8 is used. We tried the Oracle JRE as well, but this did not change anything. HTTPS is terminated at our F5 Loadbalancer, which forwards the traffic unencrypted to Puppet Server. Any help would be appreciated! [1] https://gist.github.com/stdietrich/5a5b8f9b1dc2445c3ec7 Regards, Stefan -- Stefan DietrichDeutsches Elektronen-Synchrotron (IT-Systems) Ein Forschungszentrum der Helmholtz-Gemeinschaft Notkestr. 85 phone: +49-40-8998-4696 22607 Hamburg e-mail: stefan.dietr...@desy.de Germany -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/835874101.2643357.1440500729152.JavaMail.zimbra%40desy.de. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Puppet Windows ARR
On Tue, Aug 25, 2015 at 11:30 AM, Sergiu Cornea s.cor...@my.westminster.ac.uk wrote: Hello guys, I have been asked to use Puppet in order to set-up Windows ARR, however, I have been searching all over Google but unfortunately, I couldn't find anything. For setting up the Web Server itself, you want to look at the windowsfeature[1] module. Once you determine the features you want, you can get the specific names by hopping on a Windows box (2008 and 2012 will have different feature names for the same things, so keep that in mind) and run Get-WindowsFeature. Then you can build what you need to set up the Web server. Here's an example of installing IIS and ASP.NET[2]. Now onto getting ARR installed. You can find redistributables for it at the bottom of this iis.net page[3]. If you go that route, you just need to build a package resource to install it. [1] https://forge.puppetlabs.com/puppet/windowsfeature [2] https://github.com/chocolatey/puppet-chocolatey_server/blob/master/manifests/init.pp#L24-L29 [3] http://www.iis.net/downloads/microsoft/application-request-routing Could someone please let me know where I can find more information about this as well as creating a Windows Server Cluster using Puppet? Thank you, Regards, Sergiu This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove it and its attachments from your system. The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/cae81bc1-b495-4dfb-bf18-6e76f14afc0c%40googlegroups.com https://groups.google.com/d/msgid/puppet-users/cae81bc1-b495-4dfb-bf18-6e76f14afc0c%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Rob Reynolds Developer, Puppet Labs *PuppetConf 2015 http://2015.puppetconf.com/ is coming to Portland, Oregon! Join us October 5-9.* *Register now to take advantage of the Final Countdown discount https://www.eventbrite.com/e/puppetconf-2015-october-5-9-register-now-its-the-final-countdown-tickets-13115894995?discount=FinalCountdown * *—**save $149!* -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMJiBK5R2Bp%2Bg9AY%3D5%3DvRcDbHJ60GqH33sSas1TgvP15%3DBy%3DMw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Vagrant with Shared Folder for rspec-puppet
Hi! I'm working on several puppet modules and try to run the rspec tests in a vagrant vm (virtualbox). The module directory is mounted to the vm in /vagrant. Normally rspec-puppet seems to create a symlink in spec/fixtures/modules to the module directory. This symlink doesn't work on the virtualbox shared folder. My workaround in .fixtures.yml is: ``` fixtures: repositories: mymodule: file://#{source_dir} ``` Is this workaround okay or do you have a better solution? Thanks, Julian -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/a7a2bbc01284aaf82f12cb4cb2de1895%40mailtower.ch. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Single node to download any puppet node configurations
Hi, I am trying to understand any options to use a select puppet node to download configurations for 'other' puppet nodes. The usecase is for me to understand what configurations files (from erb templates) are created for select nodes by accessing them on a single server. I understand this may not be the purpose of puppet, but is there any way/workaround that can help me achieve this? Example. Node 1 : test system Node 2 : webserver Node 3; : webserver On Node 1, perform this such that I can have a copy of the configuration files (templates completed) in a format of /tmp/node2/config.file and /tmp/node3/config.file , and so on. Open to any creative methods that may help me get to this. Thanks -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c3b42b3d-1b1c-40df-b94a-1ec32be0f77b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.