Expect Meraki integration to complete loading Prefixes with assigned Locations.
Observed Behavior
See error when loading Prefix with multiple Locations assigned:
File "/usr/local/lib/python3.10/site-packages/nautobot_ssot/jobs/base.py", line 171, in sync_data
self.load_target_adapter()
File "/usr/local/lib/python3.10/site-packages/nautobot_ssot/integrations/meraki/jobs.py", line 144, in load_target_adapter
self.target_adapter.load()
File "/usr/local/lib/python3.10/site-packages/nautobot_ssot/integrations/meraki/diffsync/adapters/nautobot.py", line 360, in load
self.load_prefixes()
File "/usr/local/lib/python3.10/site-packages/nautobot_ssot/integrations/meraki/diffsync/adapters/nautobot.py", line 191, in load_prefixes
location=prefix.location.name if prefix.location else "",
File "/usr/local/lib/python3.10/site-packages/nautobot/ipam/models.py", line 687, in location
raise self.locations.model.MultipleObjectsReturned(
nautobot.dcim.models.locations.Location.MultipleObjectsReturned: Multiple Location objects returned. Please refer to locations.
Steps to Reproduce
Install Nautobot and SSoT.
Enable Meraki integration and configure to communicate to Meraki.
Run Job with Prefixes that have multiple assigned locations.
Environment
Expected Behavior
Expect Meraki integration to complete loading Prefixes with assigned Locations.
Observed Behavior
See error when loading Prefix with multiple Locations assigned:
Steps to Reproduce