- Remove the worker class name from class_names.rb
- Start your sever normally
- Make sure your provider is added to your appliance (for provider-specific workers like refreshers and event catchers)
- Run rails console (see rails script below)
Last active
September 3, 2017 14:51
-
-
Save blomquisg/bde2af08605f128d5538 to your computer and use it in GitHub Desktop.
Debugging a MIQ Worker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_class = ManageIQ::Providers::Openstack::CloudManager::EventCatcher | |
runner_class = worker_class::Runner | |
worker = worker_class.create_worker_record | |
runner_cfg = {:guid => worker.guid, :ems_id => "25"} | |
runner = runner_class.new(runner_cfg) | |
runner.start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anybody know of a way to debug workers that currently works?
@NickLaMuro @jrafanie @carbonin ?