You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/nautobot/lib64/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib64/python3.11/site-packages/celery/app/trace.py", line 760, in __protected_call__
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot/extras/jobs.py", line 1241, in run_job
result = job(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot/extras/jobs.py", line 161, in __call__
return self.run(*args, **deserialized_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot_ssot/integrations/slurpit/jobs.py", line 142, in run
super().run(dryrun=dryrun, memory_profiling=memory_profiling, *args, **kwargs)
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot_ssot/jobs/base.py", line 354, in run
self.sync_data(memory_profiling)
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot_ssot/jobs/base.py", line 171, in sync_data
self.load_target_adapter()
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot_ssot/integrations/slurpit/jobs.py", line 112, in load_target_adapter
self.target_adapter.load()
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot_ssot/contrib/adapter.py", line 175, in load
self._load_objects(diffsync_model)
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot_ssot/integrations/slurpit/diffsync/adapters/nautobot.py", line 29, in _load_objects
self._load_single_object(database_object, diffsync_model, parameter_names)
File "/opt/nautobot/lib64/python3.11/site-packages/nautobot_ssot/contrib/adapter.py", line 150, in _load_single_object
self.add(diffsync_model)
File "/opt/nautobot/lib64/python3.11/site-packages/diffsync/__init__.py", line 810, in add
return self.store.add(obj=obj)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib64/python3.11/site-packages/diffsync/store/local.py", line 107, in add
raise ObjectAlreadyExists(f"Object {uid} already present", obj)
diffsync.exceptions.ObjectAlreadyExists: ('Object 10.0.0.0 already present', prefix "10.0.0.0")
New custom fields (System of Record and Last sync from System of Record) should be allowed to be None, since when the custom fields are created, those fields will not have a value. Without those fields filled in, the SSOT job fails with a Pydantic exception because it expect str in those fields, but they are None.
Allow scheduling
The text was updated successfully, but these errors were encountered:
Environment
Observed Behavior
Few bugs observed in production:
New custom fields (System of Record and Last sync from System of Record) should be allowed to be None, since when the custom fields are created, those fields will not have a value. Without those fields filled in, the SSOT job fails with a Pydantic exception because it expect str in those fields, but they are None.
Allow scheduling
The text was updated successfully, but these errors were encountered: