nautobot-app-golden-config icon indicating copy to clipboard operation
nautobot-app-golden-config copied to clipboard

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

Open nathanielfernandez opened this issue 7 months ago • 0 comments

Environment

  • Python version: 3.10.12
  • Nautobot version: 2.1.5
  • nautobot-golden-config version: 2.0.4

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().

nathanielfernandez avatar Jul 12 '24 12:07 nathanielfernandez