Dell OS9 and OS6 switch config fails due to broken templating
Bug #2061102 reported by
Mark Goddard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kayobe |
Fix Released
|
Medium
|
Unassigned | ||
Antelope |
Fix Released
|
Medium
|
Unassigned | ||
Bobcat |
Fix Released
|
Medium
|
Unassigned | ||
Caracal |
Fix Released
|
Medium
|
Unassigned | ||
Zed |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
Previously the dellos6_config and dellos9_config modules accepted the name of a template file as their 'src' parameter, or a string containing the actual config. Now they only accept the config string. Kayobe passes the name of a template file, resulting in a strange error from the switch about an invalid command dellos6-config.j2 or dellos9-config.j2.
Changed in kayobe: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /kayobe/ +/915554 /opendev. org/openstack/ kayobe/ commit/ 67f09241e07b311 9bb17ed59df2b40 aa3c9dced9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 67f09241e07b311 9bb17ed59df2b40 aa3c9dced9
Author: Mark Goddard <email address hidden>
Date: Fri Apr 12 10:17:19 2024 +0100
Fix Dell OS6 and Dell OS9 switch configuration
Previously the dellos6_config and dellos9_config modules accepted the
name of a template file as their 'src' parameter, or a string containing
the actual config. Now they only accept the config string. Kayobe passes
the name of a template file, resulting in a strange error from the
switch about an invalid command dellos6-config.j2 or dellos9-config.j2.
This change fixes the issue in the same way it was fixed for Dell OS10
switches, by using the template lookup plugin to evaluate the config
file template.
Change-Id: Ic14e2b75c785b4 db03b5e659e5a2b e2ee83eace3
Closes-Bug: #2061102