Closed mattwalter-cadenzallc closed 3 years ago
@mattwalter-cadenzallc looks like the onboarding plugin package is not properly installed on the worker. have you restarted the worker(s) after the installation of the plugin ?
Correct - it's been restarted.
@dgarros Thanks for the help in troubleshooting this... my error was this:
I am using the netbox-docker project for this deployment and moved my volume definitions into docker-compose.override.yml and did not carry over the netbox-worker -> netbox yaml anchors that keeps netbox-worker using the same volumes as netbox container. So while the ntc_onboarding module was present in worker, it wasn't in the configuration to load.
Environment
Newly added onboard tasks do not start after adding them.
Steps to Reproduce
Expected Behavior
Onboard task to start and process.
Observed Behavior
Onboard task does not start after adding.
Admin -> Background Tasks -> Default Queue -> shows failed jobs with message: RuntimeError: Model class netbox_onboarding.models.OnboardingTask doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.