nautobot-app-ssot
nautobot-app-ssot copied to clipboard
ServiceNow 2.X fails
Environment
- Python version: 3.11
- Nautobot version: 2.1.8
- nautobot-ssot version: 2.6.1
Expected Behavior
Working job
Observed Behavior
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/nautobot/extras/jobs.py", line 153, in __call__
return self.run(*args, **deserialized_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/.local/lib/python3.11/site-packages/nautobot_ssot/integrations/servicenow/jobs.py", line 89, in run
super().run(dryrun, memory_profiling, *args, **kwargs)
File "/opt/nautobot/.local/lib/python3.11/site-packages/nautobot_ssot/jobs/base.py", line 317, in run
self.sync_data(memory_profiling)
File "/opt/nautobot/.local/lib/python3.11/site-packages/nautobot_ssot/jobs/base.py", line 145, in sync_data
self.load_target_adapter()
File "/opt/nautobot/.local/lib/python3.11/site-packages/nautobot_ssot/integrations/servicenow/jobs.py", line 82, in load_target_adapter
self.target_adapter.load()
File "/opt/nautobot/.local/lib/python3.11/site-packages/nautobot_ssot/integrations/servicenow/diffsync/adapter_servicenow.py", line 83, in load
ancestor = self.site_filter.region
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Location' object has no attribute 'region'
Has not been updated to be 2.x compatible since it is referencing region.
Steps to Reproduce
- Run ServiceNow job