nautobot / nautobot-app-ssot

Single Source of Truth for Nautobot
https://docs.nautobot.com/projects/ssot/en/latest/
Other
38 stars 41 forks source link

Upgrading to DLM 3.0 Throws LookupError #585

Closed jdrew82 closed 1 month ago

jdrew82 commented 1 month ago

Environment

Expected Behavior

Expected for Bootstrap integration to load without issue when upgrading to DLM 3.0.

Observed Behavior

Observed that a LookupError is thrown due to the SoftwareLCM class being removed:

  File "/usr/local/lib/python3.10/site-packages/nautobot_ssot/integrations/bootstrap/signals.py", line 53, in nautobot_database_ready_callback
    SoftwareLCM = apps.get_model("nautobot_device_lifecycle_mgmt", "SoftwareLCM")
  File "/usr/local/lib/python3.10/site-packages/django/apps/registry.py", line 213, in get_model
    return app_config.get_model(model_name, require_ready=require_ready)
  File "/usr/local/lib/python3.10/site-packages/django/apps/config.py", line 237, in get_model
    raise LookupError(
LookupError: App 'nautobot_device_lifecycle_mgmt' doesn't have a 'SoftwareLCM' model.

Steps to Reproduce

  1. Update project instance to use next3.0 branch for DLM.
  2. Enable Bootstrap integration.
  3. Attempt startup of Nautobot and see LookupError.