Mailing List Archive

Rancid and Mikrotik OS 7.1 stable
Hello everyone,

It looks like with the “stable” release of version 7.1 for Mikrotik that rancid is no longer able to parse the config. Below is what the logs show. The commands that mtrancid runs all are valid and work. I suspect that they may have put some non-printable characters in the login screen that may be tripping this up, but has anyone else ran into this?

Best,

-Troy

Trying to get all of the configs.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
=====================================
Getting missed routers: round 1.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
=====================================
Getting missed routers: round 2.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
=====================================
Getting missed routers: round 3.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
=====================================
Getting missed routers: round 4.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
Re: Rancid and Mikrotik OS 7.1 stable [ In reply to ]
Yeah, it's an annoying change.

A workaround has been proposed -
https://forum.mikrotik.com/viewtopic.php?p=885246#p885616

Cheers,

Craig

On Fri, 31 Dec 2021 at 22:07, Troy Beisigl <troy@i2bnetworks.com> wrote:

> Hello everyone,
>
> It looks like with the “stable” release of version 7.1 for Mikrotik that
> rancid is no longer able to parse the config. Below is what the logs show.
> The commands that mtrancid runs all are valid and work. I suspect that they
> may have put some non-printable characters in the login screen that may be
> tripping this up, but has anyone else ran into this?
>
> Best,
>
> -Troy
>
> Trying to get all of the configs.
> xxxc-mikrotik: missed cmd(s): all commands
> xxxc-mikrotik: End of run not found
> #
> =====================================
> Getting missed routers: round 1.
> xxxc-mikrotik: missed cmd(s): all commands
> xxxc-mikrotik: End of run not found
> #
> =====================================
> Getting missed routers: round 2.
> xxxc-mikrotik: missed cmd(s): all commands
> xxxc-mikrotik: End of run not found
> #
> =====================================
> Getting missed routers: round 3.
> xxxc-mikrotik: missed cmd(s): all commands
> xxxc-mikrotik: End of run not found
> #
> =====================================
> Getting missed routers: round 4.
> xxxc-mikrotik: missed cmd(s): all commands
> xxxc-mikrotik: End of run not found
> #
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss@www.shrubbery.net
> https://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
Re: Rancid and Mikrotik OS 7.1 stable [ In reply to ]
Is this no longer working on 7.1+? https://github.com/haussli/rancid/issues/31

-----Original Message-----
From: Rancid-discuss <rancid-discuss-bounces@www.shrubbery.net> On Behalf Of Craig Hopkins
Sent: Saturday, 1 January 2022 8:13 AM
To: Troy Beisigl <troy@i2bnetworks.com>
Cc: rancid-discuss@shrubbery.net
Subject: Re: [rancid] Rancid and Mikrotik OS 7.1 stable

Yeah, it's an annoying change.

A workaround has been proposed - https://forum.mikrotik.com/viewtopic.php?p=885246#p885616

Cheers,

Craig

On Fri, 31 Dec 2021 at 22:07, Troy Beisigl <troy@i2bnetworks.com <mailto:troy@i2bnetworks.com> > wrote:


Hello everyone,

It looks like with the “stable” release of version 7.1 for Mikrotik that rancid is no longer able to parse the config. Below is what the logs show. The commands that mtrancid runs all are valid and work. I suspect that they may have put some non-printable characters in the login screen that may be tripping this up, but has anyone else ran into this?

Best,

-Troy

Trying to get all of the configs.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
=====================================
Getting missed routers: round 1.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
=====================================
Getting missed routers: round 2.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
=====================================
Getting missed routers: round 3.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#
=====================================
Getting missed routers: round 4.
xxxc-mikrotik: missed cmd(s): all commands
xxxc-mikrotik: End of run not found
#


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net <mailto:Rancid-discuss@www.shrubbery.net>
https://www.shrubbery.net/mailman/listinfo/rancid-discuss


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: Rancid and Mikrotik OS 7.1 stable [ In reply to ]
Fri, Dec 31, 2021 at 11:31:50PM +0000, Tim Warnock:
> Is this no longer working on 7.1+? https://github.com/haussli/rancid/issues/31

https://github.com/haussli/rancid/issues/32

This is the commit that I expect will fix the collection:

https://github.com/haussli/rancid/commit/fef0b6ec166ae2892e8fc6e6a3d0f2de82379c29

Please let me know if it does not.

Still would be great to have confirmation that this also works:
https://github.com/haussli/rancid/issues/25
https://github.com/haussli/rancid/tree/routeros67

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: Rancid and Mikrotik OS 7.1 stable [ In reply to ]
Looks like that corrected the issue. Thanks everyone for the quick reply.

Best,

-Troy

> On Jan 1, 2022, at 9:20 AM, heasley <heas@shrubbery.net> wrote:
>
> Fri, Dec 31, 2021 at 11:31:50PM +0000, Tim Warnock:
>> Is this no longer working on 7.1+? https://github.com/haussli/rancid/issues/31
>
> https://github.com/haussli/rancid/issues/32
>
> This is the commit that I expect will fix the collection:
>
> https://github.com/haussli/rancid/commit/fef0b6ec166ae2892e8fc6e6a3d0f2de82379c29
>
> Please let me know if it does not.
>
> Still would be great to have confirmation that this also works:
> https://github.com/haussli/rancid/issues/25
> https://github.com/haussli/rancid/tree/routeros67

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss