From Mikko.Peltokangas at alavus.fi Mon Feb 8 13:03:14 2021 From: Mikko.Peltokangas at alavus.fi (Peltokangas Mikko) Date: Mon, 8 Feb 2021 13:03:14 +0000 Subject: [rancid] Problem after Ubuntu-upgrade Message-ID: <1612789394228.33785@alavus.fi> Hi, I just upgraded from 18.04 to 20.04 and now my rancid wont update configs anymore. Rancid version is 3.11 When I run rancid-run there appear these lines to /var/log/rancid/*.log starting: Mon 08 Feb 2021 05:00:01 AM EET svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) svn: warning: W155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present svn: warning: W155010: Pristine text '6b27c723e02bda804e8a6ce3a52e034ef2451297' not present svn: warning: W155010: Pristine text '4480b8a56f2cc852fe5bf1f26911d0cc6513b5db' not present And when I run it with Observium, it gives these lines too: svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) svn: E155004: Commit failed (details follow): svn: E155004: Working copy '/var/lib/rancid/observium' locked. svn: E155004: '/var/lib/rancid/observium' is already locked. svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present ending: Mon 08 Feb 2021 05:09:28 AM EET Any advices? -- Terveisin, Mikko Peltokangas, j?rjestelm?asiantuntija Alavuden kaupunki gsm:+358-44-516 3120 (my?s Whatsapp) email:mikko.peltokangas at alavus.fi -------------- next part -------------- An HTML attachment was scrubbed... URL: From c.o.hopkins at gmail.com Mon Feb 8 13:38:22 2021 From: c.o.hopkins at gmail.com (Craig Hopkins) Date: Mon, 8 Feb 2021 13:38:22 +0000 Subject: [rancid] Problem after Ubuntu-upgrade In-Reply-To: <1612789394228.33785@alavus.fi> References: <1612789394228.33785@alavus.fi> Message-ID: Are you running SVN as your backend? It looks like it just needs a cleanup so it can repair the repo. On Mon, 8 Feb 2021, 13:03 Peltokangas Mikko, wrote: > Hi, > > I just upgraded from 18.04 to 20.04 and now my rancid wont update configs > anymore. > > Rancid version is 3.11 > > > When I run rancid-run there appear these lines to /var/log/rancid/*.log > > > starting: Mon 08 Feb 2021 05:00:01 AM EET > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' > for details) > svn: warning: W155010: Pristine text > '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present > svn: warning: W155010: Pristine text > '6b27c723e02bda804e8a6ce3a52e034ef2451297' not present > svn: warning: W155010: Pristine text > '4480b8a56f2cc852fe5bf1f26911d0cc6513b5db' not present > > And when I run it with Observium, it gives these lines too: > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not > present > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' > for details) > svn: E155004: Commit failed (details follow): > svn: E155004: Working copy '/var/lib/rancid/observium' locked. > svn: E155004: '/var/lib/rancid/observium' is already locked. > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not > present > > ending: Mon 08 Feb 2021 05:09:28 AM EET > > Any advices? > > -- > Terveisin, > Mikko Peltokangas, j?rjestelm?asiantuntija > Alavuden kaupunki > gsm:+358-44-516 3120 (my?s Whatsapp) > email:mikko.peltokangas at alavus.fi > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at www.shrubbery.net > https://www.shrubbery.net/mailman/listinfo/rancid-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mikko.Peltokangas at alavus.fi Tue Feb 9 12:37:49 2021 From: Mikko.Peltokangas at alavus.fi (Peltokangas Mikko) Date: Tue, 9 Feb 2021 12:37:49 +0000 Subject: [rancid] Problem after Ubuntu-upgrade In-Reply-To: References: <1612789394228.33785@alavus.fi> , Message-ID: <1612874268742.64715@alavus.fi> Hi, I have read error, but when I do the cleanup, it gives me svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present So I can't remove locks. And it appeared after I upgraded the system. But thanks, I think that I look that error from SVN then. -mikko ________________________________________ L?hett?j?: john heasley L?hetetty: 8. helmikuuta 2021 19:58 Vastaanottaja: Craig Hopkins Kopio: Peltokangas Mikko Aihe: Re: [rancid] Problem after Ubuntu-upgrade Mon, Feb 08, 2021 at 01:38:22PM +0000, Craig Hopkins: > Are you running SVN as your backend? It looks like it just needs a cleanup > so it can repair the repo. exactly, read the error please. It seems that you must have rebooted or otherwise killed rancid processes while they were performing svn operations. Rancid does not do this for you, because it could be an indicator that someone is or has been manipulating the repository. for each rancid group: cd / svn cleanup > On Mon, 8 Feb 2021, 13:03 Peltokangas Mikko, > wrote: > > > Hi, > > > > I just upgraded from 18.04 to 20.04 and now my rancid wont update configs > > anymore. > > > > Rancid version is 3.11 > > > > > > When I run rancid-run there appear these lines to /var/log/rancid/*.log > > > > > > starting: Mon 08 Feb 2021 05:00:01 AM EET > > > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' > > for details) > > svn: warning: W155010: Pristine text > > '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present > > svn: warning: W155010: Pristine text > > '6b27c723e02bda804e8a6ce3a52e034ef2451297' not present > > svn: warning: W155010: Pristine text > > '4480b8a56f2cc852fe5bf1f26911d0cc6513b5db' not present > > > > And when I run it with Observium, it gives these lines too: > > > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not > > present > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' > > for details) > > svn: E155004: Commit failed (details follow): > > svn: E155004: Working copy '/var/lib/rancid/observium' locked. > > svn: E155004: '/var/lib/rancid/observium' is already locked. > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not > > present > > > > ending: Mon 08 Feb 2021 05:09:28 AM EET > > > > Any advices? > > > > -- > > Terveisin, > > Mikko Peltokangas, j?rjestelm?asiantuntija > > Alavuden kaupunki > > gsm:+358-44-516 3120 (my?s Whatsapp) > > email:mikko.peltokangas at alavus.fi > > > > > > _______________________________________________ > > Rancid-discuss mailing list > > Rancid-discuss at www.shrubbery.net > > https://www.shrubbery.net/mailman/listinfo/rancid-discuss > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at www.shrubbery.net > https://www.shrubbery.net/mailman/listinfo/rancid-discuss From heas at shrubbery.net Tue Feb 9 17:24:29 2021 From: heas at shrubbery.net (john heasley) Date: Tue, 9 Feb 2021 17:24:29 +0000 Subject: [rancid] Problem after Ubuntu-upgrade In-Reply-To: <1612874268742.64715@alavus.fi> References: <1612789394228.33785@alavus.fi> <1612874268742.64715@alavus.fi> Message-ID: Tue, Feb 09, 2021 at 12:37:49PM +0000, Peltokangas Mikko: > Hi, > I have read error, but when I do the cleanup, it gives me > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present > > So I can't remove locks. And it appeared after I upgraded the system. You probably need a clean working copy. cd mv .old svn co `(cd .old; svn info --show-item url)` > But thanks, I think that I look that error from SVN then. > > -mikko > > > ________________________________________ > L?hett?j?: john heasley > L?hetetty: 8. helmikuuta 2021 19:58 > Vastaanottaja: Craig Hopkins > Kopio: Peltokangas Mikko > Aihe: Re: [rancid] Problem after Ubuntu-upgrade > > Mon, Feb 08, 2021 at 01:38:22PM +0000, Craig Hopkins: > > Are you running SVN as your backend? It looks like it just needs a cleanup > > so it can repair the repo. > > exactly, read the error please. It seems that you must have rebooted or > otherwise killed rancid processes while they were performing svn operations. > Rancid does not do this for you, because it could be an indicator that > someone is or has been manipulating the repository. > > for each rancid group: > > cd / > svn cleanup > > > On Mon, 8 Feb 2021, 13:03 Peltokangas Mikko, > > wrote: > > > > > Hi, > > > > > > I just upgraded from 18.04 to 20.04 and now my rancid wont update configs > > > anymore. > > > > > > Rancid version is 3.11 > > > > > > > > > When I run rancid-run there appear these lines to /var/log/rancid/*.log > > > > > > > > > starting: Mon 08 Feb 2021 05:00:01 AM EET > > > > > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' > > > for details) > > > svn: warning: W155010: Pristine text > > > '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present > > > svn: warning: W155010: Pristine text > > > '6b27c723e02bda804e8a6ce3a52e034ef2451297' not present > > > svn: warning: W155010: Pristine text > > > '4480b8a56f2cc852fe5bf1f26911d0cc6513b5db' not present > > > > > > And when I run it with Observium, it gives these lines too: > > > > > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not > > > present > > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' > > > for details) > > > svn: E155004: Commit failed (details follow): > > > svn: E155004: Working copy '/var/lib/rancid/observium' locked. > > > svn: E155004: '/var/lib/rancid/observium' is already locked. > > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not > > > present > > > > > > ending: Mon 08 Feb 2021 05:09:28 AM EET > > > > > > Any advices? From krashoverride at free.fr Wed Feb 10 09:59:21 2021 From: krashoverride at free.fr (krashoverride at free.fr) Date: Wed, 10 Feb 2021 10:59:21 +0100 (CET) Subject: [rancid] lenovo switches In-Reply-To: <1736386549.45592175.1612949582994.JavaMail.root@zimbra63-e11.priv.proxad.net> Message-ID: <898527420.45707089.1612951161315.JavaMail.root@zimbra63-e11.priv.proxad.net> Good morning list, Has any of you successfully backed-up a Lenovo switch config ? I'm trying to figure out what's not working, starting from Cisco templates and adjusting here and there, however it does not work. Basically i've created my own "lenovo" manufacturer that only forces a terminal length, then show run commands I'm always stuck with this Getting missed routers: round 2. IP: End of run not found end IP: End of run not found end I've tried a lot of debugs things like manually starting my script i.e /usr/local/rancid/bin/ibmclogin -t 90 -c"show vlan;show running-config" IP The output shows the commands requested, but always finishes with an End of run not found (while my show run ends with an "end" marker) So if anyone already has done a template for lenovo that works (or advices!) i'm interrested! --- Running rancid 3.9 on a debian 10.7 server Thank you! From Mikko.Peltokangas at alavus.fi Wed Feb 10 17:34:15 2021 From: Mikko.Peltokangas at alavus.fi (Peltokangas Mikko) Date: Wed, 10 Feb 2021 17:34:15 +0000 Subject: [rancid] Problem after Ubuntu-upgrade In-Reply-To: References: <1612789394228.33785@alavus.fi> <1612874268742.64715@alavus.fi>, Message-ID: <1612978454807.45773@alavus.fi> Thank you, it works now! -mikko ________________________________________ L?hett?j?: john heasley L?hetetty: 9. helmikuuta 2021 19:24 Vastaanottaja: Peltokangas Mikko Kopio: john heasley; Craig Hopkins; rancid-discuss at www.shrubbery.net Aihe: Re: VS: [rancid] Problem after Ubuntu-upgrade Tue, Feb 09, 2021 at 12:37:49PM +0000, Peltokangas Mikko: > Hi, > I have read error, but when I do the cleanup, it gives me > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present > > So I can't remove locks. And it appeared after I upgraded the system. You probably need a clean working copy. cd mv .old svn co `(cd .old; svn info --show-item url)` > But thanks, I think that I look that error from SVN then. > > -mikko > > > ________________________________________ > L?hett?j?: john heasley > L?hetetty: 8. helmikuuta 2021 19:58 > Vastaanottaja: Craig Hopkins > Kopio: Peltokangas Mikko > Aihe: Re: [rancid] Problem after Ubuntu-upgrade > > Mon, Feb 08, 2021 at 01:38:22PM +0000, Craig Hopkins: > > Are you running SVN as your backend? It looks like it just needs a cleanup > > so it can repair the repo. > > exactly, read the error please. It seems that you must have rebooted or > otherwise killed rancid processes while they were performing svn operations. > Rancid does not do this for you, because it could be an indicator that > someone is or has been manipulating the repository. > > for each rancid group: > > cd / > svn cleanup > > > On Mon, 8 Feb 2021, 13:03 Peltokangas Mikko, > > wrote: > > > > > Hi, > > > > > > I just upgraded from 18.04 to 20.04 and now my rancid wont update configs > > > anymore. > > > > > > Rancid version is 3.11 > > > > > > > > > When I run rancid-run there appear these lines to /var/log/rancid/*.log > > > > > > > > > starting: Mon 08 Feb 2021 05:00:01 AM EET > > > > > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' > > > for details) > > > svn: warning: W155010: Pristine text > > > '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present > > > svn: warning: W155010: Pristine text > > > '6b27c723e02bda804e8a6ce3a52e034ef2451297' not present > > > svn: warning: W155010: Pristine text > > > '4480b8a56f2cc852fe5bf1f26911d0cc6513b5db' not present > > > > > > And when I run it with Observium, it gives these lines too: > > > > > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not > > > present > > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' > > > for details) > > > svn: E155004: Commit failed (details follow): > > > svn: E155004: Working copy '/var/lib/rancid/observium' locked. > > > svn: E155004: '/var/lib/rancid/observium' is already locked. > > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not > > > present > > > > > > ending: Mon 08 Feb 2021 05:09:28 AM EET > > > > > > Any advices? From heas at shrubbery.net Thu Feb 11 21:08:18 2021 From: heas at shrubbery.net (john heasley) Date: Thu, 11 Feb 2021 21:08:18 +0000 Subject: [rancid] lenovo switches In-Reply-To: <898527420.45707089.1612951161315.JavaMail.root@zimbra63-e11.priv.proxad.net> References: <1736386549.45592175.1612949582994.JavaMail.root@zimbra63-e11.priv.proxad.net> <898527420.45707089.1612951161315.JavaMail.root@zimbra63-e11.priv.proxad.net> Message-ID: Wed, Feb 10, 2021 at 10:59:21AM +0100, krashoverride at free.fr: > Good morning list, > > Has any of you successfully backed-up a Lenovo switch config ? > I'm trying to figure out what's not working, starting from Cisco templates and adjusting here and there, however it does not work. > Basically i've created my own "lenovo" manufacturer that only forces a terminal length, then show run commands > I'm always stuck with this > > Getting missed routers: round 2. > IP: End of run not found > end > IP: End of run not found > end > > I've tried a lot of debugs things like manually starting my script i.e /usr/local/rancid/bin/ibmclogin -t 90 -c"show vlan;show running-config" IP > The output shows the commands requested, but always finishes with an End of run not found (while my show run ends with an "end" marker) > > So if anyone already has done a template for lenovo that works (or advices!) i'm interrested! Section 4 of the rancid FAQ has some useful notes about adding support for new platforms. The specific error you have there means that the end of the config in the output from the device was either not seen or the function that you are using to process the config did not recognize it as the end of the config. The IOS and IOS XR configs end with "^end" and you will find the function matches on that. I have no Lenovo switches to compare. From brad.bendy at gmail.com Sat Feb 13 23:07:25 2021 From: brad.bendy at gmail.com (Brad Bendy) Date: Sat, 13 Feb 2021 16:07:25 -0700 Subject: [rancid] Issues with Brocade/Foundry and missing commands Message-ID: Hi, I've got a rancid 3.7 box and having issues with Brocade ICX 6610s and some older FESX switches. flogin works fine and shows all the commands being ran and dumps all data with zero issues. Soon as I run rancid-run or rancid manually I am getting "missed cmd(s): show flash" which is the first command, and no configs get saved obviously. I am not sure what else to try since the commands manually show fine with no issues. I have seen some mailing list posts about Brocade/Foundry stopped working in later releases but then see some that say they work fine. Any pointers would be appreciated. Thanks! From c.o.hopkins at gmail.com Sat Feb 13 23:10:31 2021 From: c.o.hopkins at gmail.com (Craig Hopkins) Date: Sat, 13 Feb 2021 23:10:31 +0000 Subject: [rancid] Issues with Brocade/Foundry and missing commands In-Reply-To: References: Message-ID: Do you have them as the foundry type in your router.db? I've run rancid against netiron and turboiron boxes without issue. ICX should be the same. Craig On Sat, 13 Feb 2021, 23:07 Brad Bendy, wrote: > Hi, > > I've got a rancid 3.7 box and having issues with Brocade ICX 6610s and > some older FESX switches. flogin works fine and shows all the commands > being ran and dumps all data with zero issues. Soon as I run > rancid-run or rancid manually I am getting "missed cmd(s): show flash" > which is the first command, and no configs get saved obviously. > > I am not sure what else to try since the commands manually show fine > with no issues. I have seen some mailing list posts about > Brocade/Foundry stopped working in later releases but then see some > that say they work fine. > > Any pointers would be appreciated. > > Thanks! > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at www.shrubbery.net > https://www.shrubbery.net/mailman/listinfo/rancid-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad.bendy at gmail.com Sat Feb 13 23:15:19 2021 From: brad.bendy at gmail.com (Brad Bendy) Date: Sat, 13 Feb 2021 16:15:19 -0700 Subject: [rancid] Issues with Brocade/Foundry and missing commands In-Reply-To: References: Message-ID: Yup. Tried SSH/telnet as well. It seems to me like some EOL thing not working, but then again when flogin runs it executes all the commands so if it was seeing EOL and the prompt it would not issue the next set of commands. On Sat, Feb 13, 2021 at 4:10 PM Craig Hopkins wrote: > > Do you have them as the foundry type in your router.db? I've run rancid against netiron and turboiron boxes without issue. ICX should be the same. > > Craig > > On Sat, 13 Feb 2021, 23:07 Brad Bendy, wrote: >> >> Hi, >> >> I've got a rancid 3.7 box and having issues with Brocade ICX 6610s and >> some older FESX switches. flogin works fine and shows all the commands >> being ran and dumps all data with zero issues. Soon as I run >> rancid-run or rancid manually I am getting "missed cmd(s): show flash" >> which is the first command, and no configs get saved obviously. >> >> I am not sure what else to try since the commands manually show fine >> with no issues. I have seen some mailing list posts about >> Brocade/Foundry stopped working in later releases but then see some >> that say they work fine. >> >> Any pointers would be appreciated. >> >> Thanks! >> >> _______________________________________________ >> Rancid-discuss mailing list >> Rancid-discuss at www.shrubbery.net >> https://www.shrubbery.net/mailman/listinfo/rancid-discuss From danm at prime.gushi.org Tue Feb 16 18:12:37 2021 From: danm at prime.gushi.org (Dan Mahoney (Gushi)) Date: Tue, 16 Feb 2021 10:12:37 -0800 (PST) Subject: [rancid] Quieting cisco filesystem size flap Message-ID: Hey there, Under IOS-XR we have a stupid logfile (ce_switch.log) that we cannot turn off, which constantly logs the setting of an LED, which causes our filesystem to fluctuate, leading to regular reports like this: - !Flash: harddisk: 6 GB total (70% free) + !Flash: harddisk: 6 GB total (69% free) ! Would it be possible to smooth the rounding that gives us the "6GB" thing to the math that also gives us the percentage? (i.e. that round(usage) / round (total) = percent? I mean, yes, this would still get annoying if we were fluctuating between 5GB and 6GB for the same reasons. ALternatively, is there a way to make it so we only get the report if the delta is more than 1%? -Dan -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC FB: fb.com/DanielMahoneyIV LI: linkedin.com/in/gushi Site: http://www.gushi.org ---------------------------