Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job class not found RunRegisteredDataComplianceRules #175

Open
TitouanS31 opened this issue Aug 21, 2024 · 0 comments
Open

Job class not found RunRegisteredDataComplianceRules #175

TitouanS31 opened this issue Aug 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TitouanS31
Copy link

Environment

  • Python version: 3.11.7
  • Nautobot version: 2.3.0
  • nautobot-data-validation-engine version: 3.1.1

Steps to Reproduce

  1. Create and enable a data validation rule (e.g. a regex)
  2. Enable Run Registered Data Compliance Rules job
  3. Tick the option Run built-in validation rules?
  4. Run the job

Remark: if I skip step 3, it fails anyway.

Expected Behavior

Get the data compliance results of the regex rule I created.

Observed Behavior

Job status is Failed.

{
    "exc_message": [
        "Job class not found for class path nautobot_data_validation_engine.jobs.RunRegisteredDataComplianceRules"
    ],
    "exc_module": "builtins",
    "exc_type": "KeyError"
}
Traceback (most recent call last):
  File "/opt/nautobot/lib64/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
    R = retval = fun(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^
  File "/opt/nautobot/lib64/python3.11/site-packages/celery/app/trace.py", line 760, in __protected_call__
    return self.run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/nautobot/lib64/python3.11/site-packages/nautobot/extras/jobs.py", line 1131, in run_job
    raise KeyError(f"Job class not found for class path {job_class_path}")
KeyError: 'Job class not found for class path nautobot_data_validation_engine.jobs.RunRegisteredDataComplianceRules'
@gsnider2195 gsnider2195 added the bug Something isn't working label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants