nautobot / nautobot-app-golden-config

Golden Configuration App for Nautobot.
https://docs.nautobot.com/projects/golden-config/en/latest/
Other
98 stars 56 forks source link

Missing method merge_config() when remediating, using netmiko in GC settings #780

Open nathanielfernandez opened 2 months ago

nathanielfernandez commented 2 months ago

Environment

https://networktocode.slack.com/archives/C01NWPK6WHL/p1720765989705719

Expected Behavior

I'm trying out the config plans deployment. We are not using napalm because we don't have SCP configured on our routers and switches. When using netmiko as the driver instead of napalm for golden config, I was expecting the remediating configs to be pushed to our cisco device instance in lab.

Observed Behavior

The deployment job completed. But it has an error that says E1002: Unable to locate the method merge_config for , preemptively failed. Ken Celenza acknowledged the missing method in the slack thread.

image

Steps to Reproduce

  1. Configure admin settings > Golden configuration. And instead of using napalm for the platforms' default, use netmiko.
  2. Create a config plan to remediate a sample device with non-compliance (example: syslog).
  3. Approve and deploy the config plan. You would see the job status as complete, but there would be an error about the missing merge_config().