Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Daniel Berger
    @djberg96
    the other was from the ems refresh spec
    click2cloud-ninja-vlogs
    @ninja-vlogs
    Hello all,
    I want to run ManageIQ on production mode. Anyone guide how to run it on production mode or steps to perform for the same?
    Thanks in advance.
    Halász Dávid
    @skateman
    @ninja-vlogs yes, you can download an VM or run it as a container http://manageiq.org/download/
    click2cloud-ninja-vlogs
    @ninja-vlogs
    @skateman , I want to run ManageIQ which is at my local VM. Is there any setting or configution which I need to set for production mode?
    Halász Dávid
    @skateman
    well, I'm not sure if it's a good idea, but others might be able to answer it
    I still suggest you to download a VM and simply run it, it will run in production
    Joe Rafaniello
    @jrafanie
    @Fryguy @bdunne @himdel I noticed rails 5.1 added support for tracking a transaction across threads while investigating test failures in the automate test suite... I wonder if this would enable us to setup the database once in one thread: https://github.com/rails/rails/pull/28083/files
    Jason Frey
    @Fryguy
    cool
    Joe Rafaniello
    @jrafanie
    basically, you no longer need database cleaner to clean up stuff created before the test transaction
    that also scares me though, because anything that tries to release a connection and run under test could cause this error: ManageIQ/manageiq-automation_engine#329
    Nick LaMuro
    @NickLaMuro
    did we ever add database cleaner? I thought I considered adding it for some stuff, but then that never got merged
    Joe Rafaniello
    @jrafanie
    we had played it with before and might have had it for some ui tests at one point but we dropped it
    either way, it's a change we should be aware of in case we run tests in threads since child threads can now see a parent's transaction
    Nick LaMuro
    @NickLaMuro
    yeah, I was definitely doing something like that where I was spawning a process with the run_single_worker.rb to confirm it worked and had provisioned the DB in the parent or something
    and transnational fixtures just didn't work for that
    Joe Rafaniello
    @jrafanie
    right, so it won't work with parent/child processes, only threads
    Nick LaMuro
    @NickLaMuro
    ah, gotcha
    I admittedly didn't look at your link, just that you mentioned database_cleaner and got confused
    Joe Rafaniello
    @jrafanie
    :thumbsup: yeah, I looked at process vs. thread immediately because I had the same question
    Jason Frey
    @Fryguy
    Dennis Metzger
    @dmetzger57
    interesting
    Nick LaMuro
    @NickLaMuro
    oh, I didn't look at that link, but that is awesome
    Jason Frey
    @Fryguy
    I would really love to give this a shot... 30-50% memory reduction sounds really nice
    Nick LaMuro
    @NickLaMuro
    that looks really cool!
    Keenan Brock
    @kbrock
    Ree made such a difference in the past. Physiology is pretty solid community member. This looks great
    Joe Rafaniello
    @jrafanie
    Jason Frey
    @Fryguy
    Daniel Berger
    @djberg96
    @Fryguy not sure i understand its purpose
    Daniel Berger
    @djberg96
    anyway, submitted a PR: testdouble/referral#5 :)
    Daniel Berger
    @djberg96
    rejected!
    Daniel Berger
    @djberg96
    @jrafanie I take it you're hitting that?
    Keenan Brock
    @kbrock
    lol. think LJ is POT PTO
    Nick LaMuro
    @NickLaMuro
    Mary Jane?
    Joe Rafaniello
    @jrafanie
    I'm hitting the touristy places in Chicago... Have fun
    Jason Frey
    @Fryguy
    @djberg96 you were asking about the purpose of the referral gem, and this is interesting https://twitter.com/searls/status/1148596860678025217?s=19
    Daniel Berger
    @djberg96
    @Fryguy thanks!
    Keenan Brock
    @kbrock
    when using rbspy, anyone seen a trace like this:
    Time since start: 86s. Press Ctrl+C to stop.
    Summary of profiling data so far:
    % self  % total  name
     99.74   100.00  <c function> - unknown
      0.02     0.02  extract_record - /Users/kbrock/.gem/ruby/2.5.5/gems/activerecord-5.1.7/lib/active_record/associations/join_dependency/join_part.rb
      0.01   100.00  instrument - /Users/kbrock/.gem/ruby/2.5.5/gems/activesupport-5.1.7/lib/active_support/notifications/instrumenter.rb
      0.01   100.00  block in instantiate - /Users/kbrock/src/gems/activerecord-virtual_attributes/lib/active_record/virtual_attributes/virtual_fields.rb
      0.01   100.00  block (2 levels) in instantiate - /Users/kbrock/src/gems/activerecord-virtual_attributes/lib/active_record/virtual_attributes/virtual_fields.rb
      0.01    99.83  calculate - /Users/kbrock/src/gems/activerecord-virtual_attributes/lib/active_record/virtual_attributes/virtual_fields.rb
      0.01    99.81  perform_calculation - /Users/kbrock/.gem/ruby/2.5.5/gems/activerecord-5.1.7/lib/active_record/relation/calculations.rb
      0.01     0.04  visit - /Users/kbrock/.gem/ruby/2.5.5/gems/arel-8.0.0/lib/arel/visitors/reduce.rb
    Nick LaMuro
    @NickLaMuro
    @kbrock best to look at the generated flamegraph
    Keenan Brock
    @kbrock
    thnx
    Nick LaMuro
    @NickLaMuro
    what that is showing is just the specific function at the end of the stack that is showing up the most, not the trace
    Keenan Brock
    @kbrock
    ok, yea, flame said it was taking a long time to run a query
    but only 1k rows and it is quick from psql
    I'll reinstall the gems
    Nick LaMuro
    @NickLaMuro
    in this case, since it is a <c function> - unknown, it is probably pg and the c-ext portion of it
    click2cloud-fortnight-ninja
    @fortnight-ninja
    Hi Everyone, While starting the evm by 'bundle exec rake evm:start' I am getting
    'Base::EventCatcher' as Aborted and the workers gets increased tremendously causing the evm to run really slow. Kindly help. However the evm gets started but with around 20000 workers in which half of them are
    Base::EventCatcher : Aborted
    Capture.JPG
    Aamir Saleem
    @ProfessionalTiger
    Hi
    Can you people let me know
    how can I provision different AWS services other then EC2 and S3 using MIQ?
    Keenan Brock
    @kbrock
    Think someone here mentioned https://github.com/foraker/rspec_profiling
    I haven't had a chance to check it out, but does look nice
    article: https://www.foraker.com/blog/profiling-your-rspec-suite