nautobot / nautobot-app-device-onboarding

Device Onboarding Plugin for Nautobot
https://docs.nautobot.com/projects/device-onboarding/en/latest/
Other
43 stars 28 forks source link

New Onboarding Can fail if Platform definition is missing FK to Manufacturer #195

Open jeffkala opened 3 months ago

jeffkala commented 3 months ago

Environment

Expected Behavior

onboard the device

Observed Behavior

Failure about platform PK no existing

Steps to Reproduce

  1. Precreate a platform cisco nxos but don't assign the manufacture to it.
  2. run the sync devices from network job
  3. traceback hits
    [2024-06-26 23:13:55,143: ERROR/ForkPoolWorker-1] Task nautobot.extras.jobs.run_job[c4cd6df4-4960-4f3f-b84d-50c9763159e7] raised unexpected: ObjectNotUpdated(ObjectCrudException('No such platform instance with PK None'))

Workaround

Go into platform in UI and make sure the manufacturer is assign to the platform, also double check network_driver is set.