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

Upgrading to DLM 3.0 Throws LookupError #585

Closed
jdrew82 opened this issue Oct 23, 2024 · 0 comments · Fixed by #586
Closed

Upgrading to DLM 3.0 Throws LookupError #585

jdrew82 opened this issue Oct 23, 2024 · 0 comments · Fixed by #586
Assignees
Labels
integration: bootstrap Issues/PRs for Bootstrap integration type: bug Issues/PRs addressing a bug.

Comments

@jdrew82
Copy link
Contributor

jdrew82 commented Oct 23, 2024

Environment

  • Python version: 3.10.
  • Nautobot version: 2.3.8
  • nautobot-ssot version: 3.2.0

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.
@jdrew82 jdrew82 added type: bug Issues/PRs addressing a bug. integration: bootstrap Issues/PRs for Bootstrap integration labels Oct 23, 2024
@jdrew82 jdrew82 self-assigned this Oct 23, 2024
@jdrew82 jdrew82 mentioned this issue Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: bootstrap Issues/PRs for Bootstrap integration type: bug Issues/PRs addressing a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant