Re: [foreman-dev] Redmine running slowly
On Thu, Oct 12, 2017 at 11:50:55AM +0100, Greg Sutcliffe wrote: And we're back. Please test extensively and report issues ;) In particular, we're now on Ruby 2.0 (up from 1.9 on Openshift) so I suspect the plugins might have issues. Any issues, please report them here and we'll take a look. I checked quickly and didn't see any errors, but I was in a hurry :P Things still to do: * Add logrotate for the production.log files * Add HTTPS (ewoud is on that) * Upgrade to latest Redmine (I'm looking into it) * Puppetize it so we can migrate more easily in future We'll monitor to see if the resources are enough, let me know if you see any issues (no, Backlogs does not count, that thing is *slow* :P) We did have to do some changes to the importing of git repos. If you merge an issue with a keyword (refs or fixes) and it doesn't update the issue in an hour then please let us know. -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[foreman-dev] Best Advanced Practices for Puppet Packages to Foreman 1.7.1-0 Development Server Ubuntu
Following the instructions for a Development Install (without foreman-installer): https://theforeman.org/contribute.html I am wrapping my head around how to add Puppet Master and/or Agent to the Install. I have the foreman-puppet modules and rubygems as part of the install. Questions: 1) Can I just apt-get/yum install packages? 2) I think on Ubuntu 14.04, I need puppet 3, due to Ruby 2.4.2? ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] 3) Can I use foreman-installer to ONLY install Puppet/Puppet Master? https://github.com/theforeman/foreman-installer 3) Can I use a puppetforge module to configure Forman-puppet 3/4/5? https://forge.puppet.com/theforeman/puppet/8.0.2/readme Please respond with the best recommendation (or combinations) above or another trick and/or tool. -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[foreman-dev] Re: 1.17 Installation on Ubuntu 14.04 - Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes
On Wednesday, October 11, 2017 at 5:56:05 PM UTC-7, Lisa Kachold wrote: > > I have setup TheForeman 1.17.1-0 in a Development install on AWS. > > ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] (gem/bundler > errors using other versions) > WEBrick 1.3.1 > ALL Ports open from Server to my IP > > I changed Rails to listen on all interfaces as: > > require 'rails/commands/server' > module Rails > class Server > alias :default_options_bk :default_options > def default_options > default_options_bk.merge!(Host: '0.0.0.0') > end > endend > > > Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status > widget loading".. Never Completes > > Output from Log: > > 00:36:43 rails.1 | started with pid 19240 > > 00:36:43 webpack.1 | started with pid 19241 > > 00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open > '.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' } > > 00:36:45 webpack.1 | Project is running at http://localhost:3808/ > > 00:36:45 webpack.1 | webpack output is served from /webpack/ > > 00:36:51 rails.1 | DEPRECATION WARNING: `config.serve_static_files` is > deprecated and will be removed in Rails 5.1. > > 00:36:51 rails.1 | Please use `config.public_file_server.enabled` > instead. > > 00:36:51 rails.1 | (called from at > /root/foreman/config/application.rb:218) > > 00:36:51 rails.1 | => Booting WEBrick > > 00:36:51 rails.1 | => Rails 5.0.6 application starting in development > on http://0.0.0.0:5000 > > 00:36:51 rails.1 | => Run `rails server -h` for more startup options > > 00:36:51 rails.1 | 2017-10-12T00:36:51 [app] [W] DEPRECATION WARNING: > ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no > effect and will be removed without replacement. (called from (required)> at /root/foreman/config/environment.rb:5) > > 00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run > apipie:cache rake task to speed up API calls. > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] WARNING: Pry will not > work with foreman gem, use script/foreman-start-dev > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > alias_method_chain is deprecated. Please, use Module#prepend instead. From > module, you can access the original method using super. (called from (required)> at /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > Using a dynamic :controller segment in a route is deprecated and will be > removed in Rails 5.2. (called from block in at > /root/foreman/config/routes.rb:17) > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick 1.3.1 > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO ruby 2.4.2 (2017-09-14) > [x86_64-linux-gnu] > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick::HTTPServer#start: > pid=19242 port=5000 > > 00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c > > 00:37:08 webpack.1 | Version: webpack 3.6.0 > > 00:37:08 webpack.1 | Time: 22521ms > > 00:37:08 webpack.1 | Asset Size Chunks > Chunk > Names > > 00:37:08 webpack.1 | bundle.js17.5 MB 0 [emitted] [big] > bundle > > 00:37:08 webpack.1 | vendor.js75.7 kB 1 [emitted] > vendor > > 00:37:08 webpack.1 |bundle.css81.7 kB 0 [emitted] > bundle > > 00:37:08 webpack.1 | manifest.json 153 bytes [emitted] > > 00:37:08 webpack.1 | [55] ./webpack/assets/javascripts/foreman_tools.js > 4.22 kB {0} [built] > > 00:37:08 webpack.1 | [322] multi (webpack)-dev-server/client? > http://localhost:3808 webpack/hot/dev-server > ./webpack/assets/javascripts/bundle.js 52 bytes {0} [built] > > 00:37:08 webpack.1 | [323] (webpack)-dev-server/client? > http://localhost:3808 7.23 kB {0} [built] > > 00:37:08 webpack.1 | [371] (webpack)/hot/dev-server.js 1.61 kB {0} > [built] > > 00:37:08 webpack.1 | [373] ./webpack/assets/javascripts/bundle.js 1.46 > kB {0} [built] > > 00:37:08
Re: [foreman-dev] 1.17 Installation on Ubuntu 14.04 - Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes
On Thursday, October 12, 2017 at 9:55:24 AM UTC-7, Lisa Kachold wrote: > > SOLUTION: (thanks to ohadlevy)* > > Here's the Json version issue: Need to move to Json 1.8.6 from default > Json 2.0.4: > > gem list --local | grep json > > fog-*json* (1.0.2) > > *json* (1.8.6) > > multi_*json* (1.12.2) > > po_to_*json* (1.0.1) > > rack-*json*p (1.3.1) > > To remove a default gem and rebuild bundle: > > gem install json -v 2.0.4 > > gem uninstall json -v 2.0.4 > > bundle install > > locate json-2.0.4.gemspec > > mv json-2.0.4.gemspec /usr/local/src/oldgems/2.0.4/ > > bundle install > > Suggestion from ovahlevy that showed me the error output for Json. I was > using: bundle *exec* foreman start from > 'Setup Development Environment': > https://theforeman.org/contribute.html#SupportedRubyversions > > *BIND*=0.0.0.0 foreman start > > > Now webrick and rails for foreman listen on all ports! > > AND Javascript work GREAT! > > > On Thursday, October 12, 2017 at 8:50:04 AM UTC-7, Lisa Kachold wrote: >> >> ohadlevy - This will be the ultimate solution for Listening on all ports >> in 17.1 Development >> >> For "listening on all ports for Foreman 1.17.1" - starting up via: >> >> "BIND=0.0.0.0 foreman start" fails with Json errors for Bundler (which >> shines light on the Menu dropdown javascript issues). >> >> Strange that the tests didn't catch this? I will resolve the bundler >> version and ensure my Ruby stack. >> >> Thanks again! >> >> -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [foreman-dev] 1.17 Installation on Ubuntu 14.04 - Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes
SOLUTION: (thanks to ohadlevy)* Here's the Json version issue: Need to move to Json 1.8.6 from default Json 2.0.4: gem list --local | grep json fog-*json* (1.0.2) *json* (1.8.6) multi_*json* (1.12.2) po_to_*json* (1.0.1) rack-*json*p (1.3.1) To remove a default gem and rebuild bundle: gem install json -v 2.0.4 gem uninstall json -v 2.0.4 bundle install locate json-2.0.4.gemspec mv json-2.0.4.gemspec /usr/local/src/oldgems/2.0.4/ bundle install Suggestion from ovahlevy that showed me the error output for Json. I was using: bundle *exec* foreman start from 'Setup Development Environment': https://theforeman.org/contribute.html#SupportedRubyversions *BIND*=0.0.0.0 foreman start Now webrick and rails for foreman listen on all ports! AND Javascript work GREAT! On Thursday, October 12, 2017 at 8:50:04 AM UTC-7, Lisa Kachold wrote: > > ohadlevy - This will be the ultimate solution for Listening on all ports > in 17.1 Development > > For "listening on all ports for Foreman 1.17.1" - starting up via: > > "BIND=0.0.0.0 foreman start" fails with Json errors for Bundler (which > shines light on the Menu dropdown javascript issues). > > Strange that the tests didn't catch this? I will resolve the bundler > version and ensure my Ruby stack. > > Thanks again! > > -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[foreman-dev] Jenkins over HTTPS
Hello all, We now have https://ci.theforeman.org/ but there's no redirect yet. I'd like to ask you to start testing - especially if you log in. The next step is to replace all URLs we have to HTTPS and set up a redirect. -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [foreman-dev] 1.17 Installation on Ubuntu 14.04 - Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes
ohadlevy - This will be the ultimate solution for Listening on all ports in 17.1 Development For "listening on all ports for Foreman 1.17.1" - starting up via: "BIND=0.0.0.0 foreman start" fails with Json errors for Bundler (which shines light on the Menu dropdown javascript issues). Strange that the tests didn't catch this? I will resolve the bundler version and ensure my Ruby stack. Thanks again! root@ip-172-31-16-198:~/foreman# BIND=0.0.0.0 foreman start 15:44:16 rails.1 | started with pid 20056 15:44:16 webpack.1 | started with pid 20057 15:44:17 rails.1 | /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:315:in `check_for_activated_spec!': You have already activated json 2.0.4, but your Gemfile requires json 1.8.6. Since json is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports json as a default gem. (Gem::LoadError) 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:33:in `block in setup' 15:44:17 rails.1 | from /usr/lib/ruby/2.4.0/forwardable.rb:229:in `each' 15:44:17 rails.1 | from /usr/lib/ruby/2.4.0/forwardable.rb:229:in `each' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:28:in `map' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:28:in `setup' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler.rb:107:in `setup' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/setup.rb:20:in `' 15:44:17 rails.1 | from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' 15:44:17 rails.1 | from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' 15:44:17 rails.1 | from /root/foreman/config/boot.rb:16:in `' 15:44:17 rails.1 | from /root/foreman/bin/rails:8:in `require_relative' 15:44:17 rails.1 | from /root/foreman/bin/rails:8:in `' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client.rb:30:in `run' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/bin/spring:49:in `' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load' 15:44:17 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `' 15:44:17 rails.1 | from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' 15:44:17 rails.1 | from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' 15:44:17 rails.1 | from /root/foreman/bin/spring:13:in `' 15:44:17 rails.1 | from bin/rails:3:in `load' 15:44:17 rails.1 | from bin/rails:3:in `' 15:44:18 rails.1 | /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:315:in `check_for_activated_spec!': You have already activated json 2.0.4, but your Gemfile requires json 1.8.6. Since json is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports json as a default gem. (Gem::LoadError) 15:44:18 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:33:in `block in setup' 15:44:18 rails.1 | from /usr/lib/ruby/2.4.0/forwardable.rb:229:in `each' 15:44:18 rails.1 | from /usr/lib/ruby/2.4.0/forwardable.rb:229:in `each' 15:44:18 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:28:in `map' 15:44:18 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:28:in `setup' 15:44:18 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler.rb:107:in `setup' 15:44:18 rails.1 | from /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/setup.rb:20:in `' 15:44:18 rails.1 | from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' 15:44:18 rails.1 | from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' 15:44:18 rails.1 | from /root/foreman/config/boot.rb:16:in `' 15:44:18 rails.1 | from /root/foreman/bin/rails:8:in `require_relative' 15:44:18 rails.1 | from /root/foreman/bin/rails:8:in `' 15:44:18 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load' 15:44:18 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call' 15:44:18 rails.1 | from /var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call' 15:44:18 rails.1 | from
Re: [foreman-dev] 1.17 Installation on Ubuntu 14.04 - Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes
Timo, Thanks for the suggestion; I will try it and let you know. On Wednesday, October 11, 2017 at 11:32:06 PM UTC-7, Timo Goebel wrote: > > Hi Lisa, > > The Foreman dev setup basically needs two webservers running: One to serve > the rails app via http and one to server webpacked javascript code. > > I suspect, that the connection to the latter does not work. The two > webservers are started using foreman (not "our forman", but a process > manager gem with the same name). You can take a look at the Procfile to see > what's going on. You can customize the startup with environment variables. > > > export RAILS_STARTUP='puma -w 3 -p 3000 --preload' > > export WEBPACK_OPTS='... more options ...' > > bundle exec foreman start > > > Timo > Am 12.10.17 um 02:56 schrieb Lisa Kachold: > > I have setup TheForeman 1.17.1-0 in a Development install on AWS. > > ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] (gem/bundler > errors using other versions) > WEBrick 1.3.1 > ALL Ports open from Server to my IP > > I changed Rails to listen on all interfaces as: > > require 'rails/commands/server' > module Rails > class Server > alias :default_options_bk :default_options > def default_options > default_options_bk.merge!(Host: '0.0.0.0') > end > endend > > > Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status > widget loading".. Never Completes > > Output from Log: > > 00:36:43 rails.1 | started with pid 19240 > > 00:36:43 webpack.1 | started with pid 19241 > > 00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open > '.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' } > > 00:36:45 webpack.1 | Project is running at http://localhost:3808/ > > 00:36:45 webpack.1 | webpack output is served from /webpack/ > > 00:36:51 rails.1 | DEPRECATION WARNING: `config.serve_static_files` is > deprecated and will be removed in Rails 5.1. > > 00:36:51 rails.1 | Please use `config.public_file_server.enabled` > instead. > > 00:36:51 rails.1 | (called from at > /root/foreman/config/application.rb:218) > > 00:36:51 rails.1 | => Booting WEBrick > > 00:36:51 rails.1 | => Rails 5.0.6 application starting in development > on http://0.0.0.0:5000 > > 00:36:51 rails.1 | => Run `rails server -h` for more startup options > > 00:36:51 rails.1 | 2017-10-12T00:36:51 [app] [W] DEPRECATION WARNING: > ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no > effect and will be removed without replacement. (called from (required)> at /root/foreman/config/environment.rb:5) > > 00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run > apipie:cache rake task to speed up API calls. > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] WARNING: Pry will not > work with foreman gem, use script/foreman-start-dev > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > alias_method_chain is deprecated. Please, use Module#prepend instead. From > module, you can access the original method using super. (called from (required)> at /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > Using a dynamic :controller segment in a route is deprecated and will be > removed in Rails 5.2. (called from block in at > /root/foreman/config/routes.rb:17) > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick 1.3.1 > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO ruby 2.4.2 (2017-09-14) > [x86_64-linux-gnu] > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick::HTTPServer#start: > pid=19242 port=5000 > > 00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c > > 00:37:08 webpack.1 | Version: webpack 3.6.0 > > 00:37:08 webpack.1 | Time: 22521ms > > 00:37:08 webpack.1 | Asset Size Chunks > Chunk > Names > > 00:37:08 webpack.1 | bundle.js17.5 MB 0 [emitted] [big] > bundle > > 00:37:08 webpack.1 | vendor.js75.7 kB 1 [emitted] > vendor > > 00:37:08
Re: [foreman-dev] Redmine running slowly
And we're back. Please test extensively and report issues ;) In particular, we're now on Ruby 2.0 (up from 1.9 on Openshift) so I suspect the plugins might have issues. Any issues, please report them here and we'll take a look. I checked quickly and didn't see any errors, but I was in a hurry :P Things still to do: * Add logrotate for the production.log files * Add HTTPS (ewoud is on that) * Upgrade to latest Redmine (I'm looking into it) * Puppetize it so we can migrate more easily in future We'll monitor to see if the resources are enough, let me know if you see any issues (no, Backlogs does not count, that thing is *slow* :P) Thanks for your patience everyone. Greg -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [foreman-dev] Redmine running slowly
We're ready to switch. I'll take Redmine offline in about 30mins (11.15 UK time) and we should be back up on the new host at 12 noon. Please save your work ;) Greg -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [foreman-dev] Redmine running slowly
On Wed, 2017-10-11 at 21:52 +0300, Ohad Levy wrote: > > > redmine01.theforeman.org A 51.15.192.166 > > redmine01.theforeman.org 2001:bc8:4400:2300::5:e03 > > both should be resolved. Thanks Ohad. SMTP is now unblocked and confirmed working, so we're ready to switch over. As soon as I can get a timeframe from Ohad for when the DNS change can be done, I'll arrange a maintenance window. Hang in there guys, we're almost done ;) Greg -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [foreman-dev] 1.17 Installation on Ubuntu 14.04 - Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes
On Oct 12, 2017 3:56 AM, "Lisa Kachold"wrote: I have setup TheForeman 1.17.1-0 in a Development install on AWS. ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] (gem/bundler errors using other versions) WEBrick 1.3.1 ALL Ports open from Server to my IP I changed Rails to listen on all interfaces as: No need for that at all, just type: BIND=0.0.0.0 foreman start require 'rails/commands/server' module Rails class Server alias :default_options_bk :default_options def default_options default_options_bk.merge!(Host: '0.0.0.0') end endend Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes Output from Log: 00:36:43 rails.1 | started with pid 19240 00:36:43 webpack.1 | started with pid 19241 00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open '.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' } 00:36:45 webpack.1 | Project is running at http://localhost:3808/ 00:36:45 webpack.1 | webpack output is served from /webpack/ 00:36:51 rails.1 | DEPRECATION WARNING: `config.serve_static_files` is deprecated and will be removed in Rails 5.1. 00:36:51 rails.1 | Please use `config.public_file_server.enabled` instead. 00:36:51 rails.1 | (called from at /root/foreman/config/application.rb:218) 00:36:51 rails.1 | => Booting WEBrick 00:36:51 rails.1 | => Rails 5.0.6 application starting in development on http://0.0.0.0:5000 00:36:51 rails.1 | => Run `rails server -h` for more startup options 00:36:51 rails.1 | 2017-10-12T00:36:51 [app] [W] DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /root/foreman/config/environment.rb:5) 00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run apipie:cache rake task to speed up API calls. 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] WARNING: Pry will not work with foreman gem, use script/foreman-start-dev 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /root/foreman/config/environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: after_filter is deprecated and will be removed in Rails 5.1. Use after_action instead. (called from at /root/foreman/config/ environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /root/foreman/config/environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: after_filter is deprecated and will be removed in Rails 5.1. Use after_action instead. (called from at /root/foreman/config/ environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from at /root/foreman/config/environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: Using a dynamic :controller segment in a route is deprecated and will be removed in Rails 5.2. (called from block in at /root/foreman/config/routes.rb:17) 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick 1.3.1 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO ruby 2.4.2 (2017-09-14) [x86_64-linux-gnu] 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick::HTTPServer#start: pid=19242 port=5000 00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c 00:37:08 webpack.1 | Version: webpack 3.6.0 00:37:08 webpack.1 | Time: 22521ms 00:37:08 webpack.1 | Asset Size ChunksChunk Names 00:37:08 webpack.1 | bundle.js17.5 MB 0 [emitted] [big] bundle 00:37:08 webpack.1 | vendor.js75.7 kB 1 [emitted] vendor 00:37:08 webpack.1 |bundle.css81.7 kB 0 [emitted] bundle 00:37:08 webpack.1 | manifest.json 153 bytes [emitted] 00:37:08 webpack.1 | [55] ./webpack/assets/javascripts/foreman_tools.js 4.22 kB {0} [built] 00:37:08 webpack.1 | [322] multi (webpack)-dev-server/client?ht tp://localhost:3808 webpack/hot/dev-server ./webpack/assets/javascripts/bundle.js 52 bytes {0} [built] 00:37:08 webpack.1 | [323] (webpack)-dev-server/client?ht tp://localhost:3808 7.23 kB {0} [built] 00:37:08 webpack.1 | [371] (webpack)/hot/dev-server.js 1.61 kB {0} [built] 00:37:08 webpack.1 | [373] ./webpack/assets/javascripts/bundle.js 1.46 kB {0} [built] 00:37:08 webpack.1 | [414] ./node_modules/expose-loader? jstz!./node_modules/jstz/index.js 88 bytes {0} [built] 00:37:08 webpack.1 | [420] ./node_modules/expose-loader? JsDiff!./node_modules/diff/lib/index.js 94 bytes {0} [built] 00:37:08 webpack.1 | [431]
Re: [foreman-dev] 1.17 Installation on Ubuntu 14.04 - Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes
Hi Lisa, The Foreman dev setup basically needs two webservers running: One to serve the rails app via http and one to server webpacked javascript code. I suspect, that the connection to the latter does not work. The two webservers are started using foreman (not "our forman", but a process manager gem with the same name). You can take a look at the Procfile to see what's going on. You can customize the startup with environment variables. export RAILS_STARTUP='puma -w 3 -p 3000 --preload' export WEBPACK_OPTS='... more options ...' bundle exec foreman start Timo Am 12.10.17 um 02:56 schrieb Lisa Kachold: I have setup TheForeman 1.17.1-0 in a Development install on AWS. ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] (gem/bundler errors using other versions) WEBrick 1.3.1 ALL Ports open from Server to my IP I changed Rails to listen on all interfaces as: |require'rails/commands/server'moduleRailsclassServeralias:default_options_bk :default_options defdefault_options default_options_bk.merge!(Host:'0.0.0.0')endendend| Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes Output from Log: 00:36:43 rails.1 | started with pid 19240 00:36:43 webpack.1 | started with pid 19241 00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open '.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' } 00:36:45 webpack.1 | Project is running at http://localhost:3808/ 00:36:45 webpack.1 | webpack output is served from /webpack/ 00:36:51 rails.1 | DEPRECATION WARNING: `config.serve_static_files` is deprecated and will be removed in Rails 5.1. 00:36:51 rails.1 | Please use `config.public_file_server.enabled` instead. 00:36:51 rails.1 |(called from at /root/foreman/config/application.rb:218) 00:36:51 rails.1 | => Booting WEBrick 00:36:51 rails.1 | => Rails 5.0.6 application starting in development on http://0.0.0.0:5000 00:36:51 rails.1 | => Run `rails server -h` for more startup options 00:36:51 rails.1 | 2017-10-12T00:36:51[app] [W] DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /root/foreman/config/environment.rb:5) 00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run apipie:cache rake task to speed up API calls. 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] WARNING: Pry will not work with foreman gem, use script/foreman-start-dev 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /root/foreman/config/environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: after_filter is deprecated and will be removed in Rails 5.1. Use after_action instead. (called from at /root/foreman/config/environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /root/foreman/config/environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: after_filter is deprecated and will be removed in Rails 5.1. Use after_action instead. (called from at /root/foreman/config/environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from at /root/foreman/config/environment.rb:5) 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: Using a dynamic :controller segment in a route is deprecated and will be removed in Rails 5.2. (called from block in at /root/foreman/config/routes.rb:17) 00:36:59 rails.1 | [2017-10-12 00:36:59] INFOWEBrick 1.3.1 00:36:59 rails.1 | [2017-10-12 00:36:59] INFOruby 2.4.2 (2017-09-14) [x86_64-linux-gnu] 00:36:59 rails.1 | [2017-10-12 00:36:59] INFOWEBrick::HTTPServer#start: pid=19242 port=5000 00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c 00:37:08 webpack.1 | Version: webpack 3.6.0 00:37:08 webpack.1 | Time: 22521ms 00:37:08 webpack.1 | Asset SizeChunksChunk Names 00:37:08 webpack.1 | bundle.js17.5 MB 0[emitted][big]bundle 00:37:08 webpack.1 | vendor.js75.7 kB 1[emitted] vendor 00:37:08 webpack.1 |bundle.css81.7 kB 0[emitted] bundle 00:37:08 webpack.1 | manifest.json153 bytes[emitted] 00:37:08 webpack.1 | [55] ./webpack/assets/javascripts/foreman_tools.js 4.22 kB {0} [built] 00:37:08 webpack.1 |[322] multi (webpack)-dev-server/client?http://localhost:3808 webpack/hot/dev-server ./webpack/assets/javascripts/bundle.js 52 bytes {0} [built] 00:37:08 webpack.1 |[323] (webpack)-dev-server/client?http://localhost:3808 7.23 kB {0} [built] 00:37:08 webpack.1 |[371] (webpack)/hot/dev-server.js 1.61 kB {0} [built] 00:37:08