[rancid] Unable to figure out "end of run not found"

Kevin Morales kevin.moralez at gmail.com
Fri Jul 5 13:16:35 UTC 2019


Thanks John!

The configuration finish in some case with:

!</static>
ZXR10-01#

$
!</isis>
ZXR10-02#

$
!</pcep>
ZXR10-03#

and sorry, I don't have experience with programation..,

Thanks!

On Wed, Jul 3, 2019 at 6:10 PM john heasley <heas at shrubbery.net> wrote:

> Wed, Jul 03, 2019 at 02:53:14PM -0600, Kevin Morales:
> > Yes, my Router is ZTE and I am using CISCO type, because the command is
> the
> > same to see the configuration..show running-config
>
> I have no idea what ZTE is; does it behave *exactly* the same as IOS?
> It seems not.
>
> > > > > found end means that it found the end of the config; for type
> cisco,
> > > > > that means "^end".
>
> Does it's config end with:
>
> "
> end
> "?
>
> > > > > clean run means that it found the cli logout; for type cisco, that
> > > > > means "prompt[>#] exit$"
>
> in your .raw file, does the last prompt where clogin exited the cli, match
> the regex
>
> "prompt[>#] exit$"
> ?
>
> clearly these sanity checks are not working with your ZTE device.  You
> need to figure-out why and correct it, likely by creating your own
> rancid module for ZTE with a customized inloop() function.  you can
> probably use the parsing functions from the ios module, like the
> 'ciscoshtech' example that comes with rancid uses 2 modules.
>
> > On Wed, Jul 3, 2019 at 2:52 PM Piegorsch, Weylin William <weylin at bu.edu>
> > wrote:
> >
> > > Hi Kevin,
> > >
> > > I think you said this is a ZTE device, but that you’re using -t cisco.
> is
> > > ZTE a cisco device?
> > >
> > > weylin
> > >
> > >
> > >
> > > *From: *Kevin Morales <kevin.moralez at gmail.com>
> > > *Date: *Wednesday, July 3, 2019 at 3:18 PM
> > > *To: *john heasley <heas at shrubbery.net>
> > > *Cc: *Weylin Piegorsch <weylin at bu.edu>, Nick Nauwelaerts <
> > > nick.nauwelaerts at aquafin.be>, "rancid-discuss at shrubbery.net" <
> > > rancid-discuss at shrubbery.net>
> > > *Subject: *Re: [rancid] Unable to figure out "end of run not found"
> > >
> > >
> > >
> > > I am sorry, I dont get you, What do you want I do?
> > >
> > >
> > >
> > > on my Rancid Server I execute:
> > >
> > > [rancid at localhost bin]$ NOPIPE=yes ./rancid -d -t  cisco 172.17.1.6
> > >
> > >
> > >
> > > On Wed, Jul 3, 2019 at 12:43 PM john heasley <heas at shrubbery.net>
> wrote:
> > >
> > > Wed, Jul 03, 2019 at 11:33:08AM -0600, Kevin Morales:
> > > > Thanks Piegorsh,
> > > >
> > > > I did it..
> > > >
> > > > NOPIPE=yes ./rancid -d -t cisco 172.17.1.6
> > > >
> > > > but in the two file 172.17.1.6.new and 172.17.1.6.raw don't see
> anything
> > > > about this error. both show the correct command output.
> > >
> > > correct command output and matching the criteria that i described below
> > > for type cisco are not necessarily the same thing.  read it again.
> > >
> > > > On Wed, Jul 3, 2019 at 11:29 AM Piegorsch, Weylin William <
> weylin at bu.edu
> > > >
> > > > wrote:
> > > > > > *172.17.1.6 <http://172.17.1.6>: End of run not found*
> > > > > > 172.17.1.6: clean_run is false
> > > > > > 172.17.1.6: found_end is false
> > > > > > !</isis>
> > > > >
> > > > > found end means that it found the end of the config; for type
> cisco,
> > > > > that means "^end".
> > > > >
> > > > > clean run means that it found the cli logout; for type cisco, that
> > > > > means "prompt[>#] exit$"
>


-- 
*Kevin Morales*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20190705/5cb6aaa6/attachment.html>


More information about the Rancid-discuss mailing list