Discussion:
[rancid] control characters appearing and disappearing from saved configs
Drop Box
2008-11-22 17:20:49 UTC
Permalink
Hi,

After adding a lot of lines to our HP switch configurations, I'm now seeing
rancid diffs like the one below one or two dozen times a day, on various
switches:

-----------------------------------------------------------------------------------------

- -- configs/switch.example.com. (revision 103454)
@@ -47,7 +47,7 @@
ip address dhcp-bootp
exit
ip authorized-managers a.b.c.d 255.0.0.0
- ip authorized-managers w.x.y.z 255.255.248.0
+ ip authorized-managers w.x.y.z 255.255.248.0
[...]

-----------------------------------------------------------------------------------------

- -- configs/switchexample.com. (revision 103525)
@@ -47,7 +47,7 @@
ip address dhcp-bootp
exit
ip authorized-managers a.b.c.d 255.0.0.0
- ip authorized-managers w.x.y.z 255.255.248.0
+ ip authorized-managers w.x.y.z 255.255.248.0
[...]

-----------------------------------------------------------------------------------------

The various configs I see this for have slight variations in length, but the
control character appears and disappears on the same line ("ip
authorized-managers w.x.y.z 255.255.248.0"), so it's not that the problem
always appears at line N. I've checked out an "offending" revision and
verified that the control character is there. I ran hrancid by hand maybe
20 times, and the control character showed up twice.

Does anyone have any ideas why this might be happening? I'm using rancid
2.3.2a6 with expect 5.42.1.

Thanks.
john heasley
2008-11-22 19:19:58 UTC
Permalink
I think I've fixed this problem already; I'll give you an image in a later
email.
Post by Drop Box
Hi,
After adding a lot of lines to our HP switch configurations, I'm now seeing
rancid diffs like the one below one or two dozen times a day, on various
-----------------------------------------------------------------------------------------
- -- configs/switch.example.com. (revision 103454)
@@ -47,7 +47,7 @@
ip address dhcp-bootp
exit
ip authorized-managers a.b.c.d 255.0.0.0
- ip authorized-managers w.x.y.z 255.255.248.0
+ ip authorized-managers w.x.y.z 255.255.248.0
[...]
-----------------------------------------------------------------------------------------
- -- configs/switchexample.com. (revision 103525)
@@ -47,7 +47,7 @@
ip address dhcp-bootp
exit
ip authorized-managers a.b.c.d 255.0.0.0
- ip authorized-managers w.x.y.z 255.255.248.0
+ ip authorized-managers w.x.y.z 255.255.248.0
[...]
-----------------------------------------------------------------------------------------
The various configs I see this for have slight variations in length, but the
control character appears and disappears on the same line ("ip
authorized-managers w.x.y.z 255.255.248.0"), so it's not that the problem
always appears at line N. I've checked out an "offending" revision and
verified that the control character is there. I ran hrancid by hand maybe
20 times, and the control character showed up twice.
Does anyone have any ideas why this might be happening? I'm using rancid
2.3.2a6 with expect 5.42.1.
Thanks.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
john heasley
2008-12-03 20:43:53 UTC
Permalink
Please try ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.2a9.tar.gz. There
are a few new things in there that still need some work (and other not yet
committed), but it should fix this problem.
Post by john heasley
I think I've fixed this problem already; I'll give you an image in a later
email.
Post by Drop Box
Hi,
After adding a lot of lines to our HP switch configurations, I'm now seeing
rancid diffs like the one below one or two dozen times a day, on various
-----------------------------------------------------------------------------------------
- -- configs/switch.example.com. (revision 103454)
@@ -47,7 +47,7 @@
ip address dhcp-bootp
exit
ip authorized-managers a.b.c.d 255.0.0.0
- ip authorized-managers w.x.y.z 255.255.248.0
+ ip authorized-managers w.x.y.z 255.255.248.0
[...]
-----------------------------------------------------------------------------------------
- -- configs/switchexample.com. (revision 103525)
@@ -47,7 +47,7 @@
ip address dhcp-bootp
exit
ip authorized-managers a.b.c.d 255.0.0.0
- ip authorized-managers w.x.y.z 255.255.248.0
+ ip authorized-managers w.x.y.z 255.255.248.0
[...]
-----------------------------------------------------------------------------------------
The various configs I see this for have slight variations in length, but the
control character appears and disappears on the same line ("ip
authorized-managers w.x.y.z 255.255.248.0"), so it's not that the problem
always appears at line N. I've checked out an "offending" revision and
verified that the control character is there. I ran hrancid by hand maybe
20 times, and the control character showed up twice.
Does anyone have any ideas why this might be happening? I'm using rancid
2.3.2a6 with expect 5.42.1.
Thanks.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Drop Box
2009-01-21 18:47:19 UTC
Permalink
I apologize for the delayed response. The reported problem does not show up
in 2.3.2a9. Thank you!
Post by john heasley
Please try ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.2a9.tar.gz.
There
are a few new things in there that still need some work (and other not yet
committed), but it should fix this problem.
Post by john heasley
I think I've fixed this problem already; I'll give you an image in a
later
Post by john heasley
email.
Post by Drop Box
Hi,
After adding a lot of lines to our HP switch configurations, I'm now
seeing
Post by john heasley
Post by Drop Box
rancid diffs like the one below one or two dozen times a day, on
various
-----------------------------------------------------------------------------------------
Post by john heasley
Post by Drop Box
- -- configs/switch.example.com. (revision 103454)
@@ -47,7 +47,7 @@
ip address dhcp-bootp
exit
ip authorized-managers a.b.c.d 255.0.0.0
- ip authorized-managers w.x.y.z 255.255.248.0
+ [24;1Hip authorized-managers w.x.y.z 255.255.248.0
[...]
-----------------------------------------------------------------------------------------
Post by john heasley
Post by Drop Box
- -- configs/switchexample.com. (revision 103525)
@@ -47,7 +47,7 @@
ip address dhcp-bootp
exit
ip authorized-managers a.b.c.d 255.0.0.0
- [24;1Hip authorized-managers w.x.y.z 255.255.248.0
+ ip authorized-managers w.x.y.z 255.255.248.0
[...]
-----------------------------------------------------------------------------------------
Post by john heasley
Post by Drop Box
The various configs I see this for have slight variations in length,
but the
Post by john heasley
Post by Drop Box
control character appears and disappears on the same line ("ip
authorized-managers w.x.y.z 255.255.248.0"), so it's not that the
problem
Post by john heasley
Post by Drop Box
always appears at line N. I've checked out an "offending" revision and
verified that the control character is there. I ran hrancid by hand
maybe
Post by john heasley
Post by Drop Box
20 times, and the control character showed up twice.
Does anyone have any ideas why this might be happening? I'm using
rancid
Post by john heasley
Post by Drop Box
2.3.2a6 with expect 5.42.1.
Thanks.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...