Discussion:
[rancid] Re: Alcatel Omniswitch and Rancid
Davíð Örn Jóhannsson
2010-02-24 10:53:42 UTC
Permalink
Hi Alex,

Doing some googling gave you away, I saw that you had modified rancid and clogin to being able to support Alcatel routers in Rancid, did you publish your modification anywhere where I could take a look at them?

I'm trying to be able to use Rancid for Alcatel SR7750 and any help would be apreciated.

Kveðja,

Davíð Örn Jóhannsson
Sérfræðingur
Stjórnkerfi

Sími +354 897 7463
Fax +354

[cid:***@01CAB53F.5B246780]

Síminn - Ármúli 25 - 108 Reykjavík - Iceland - siminn.is

Ábyrgð þín varðandi tölvupóst.<http://www.siminn.is/um-simann/almennt/tolvupostur/>
Chance Delome
2011-02-03 23:48:25 UTC
Permalink
I'm also having problems with 7750s and Rancid.
Nick Buraglio
2011-02-04 01:58:40 UTC
Permalink
I had this working on the alu boxes we used at SC10 but i do have to admit
that the logout was what i had the most trouble with.
I no longer have access to any alu boxes to help troubleshoot but I'll chime
in if i can help since i wrote the initial port.
What is the error you're seeing?

nb

On Feb 3, 2011, at 5:50 PM, "Chance Delome" <***@lus.org> wrote:

I’m also having problems with 7750s and Rancid.
Chance Delome
2011-02-04 17:44:47 UTC
Permalink
I've edited the last few lines of alurancid to see more of the last entries:



if (!$clean_run || !$found_end) {

print STDOUT "$host: End of run not found prompt was $prompt \n";

printf(STDERR "$host: clean_run $clean_run\n") if ($debug);

printf(STDERR "$host: found_end $found_end\n") if ($debug);

print STDERR "$host: End of run not found \n" if ($debug);

#system("/usr/bin/tail -1 $host.new");

à system("/usr/bin/tail -3 $host.new");





This is the output from the log:

10.128.1.4: End of run not found

Last Boot Env Sync Time : 02/03/2011 02:57:08

===============================================================================

!A:LFTHEDDR01#logout Connection closed by foreign host.





All commands are being executed as "Last Boot Env Sync Time " is from show redundancy sync.
Chance Delome
2011-02-10 19:25:06 UTC
Permalink
When I run a debug from rancid on an Alcatel SR 7750, this is the end of the debug logging. (I've edited and thrown in a few print stdout statements).



HIT COMMAND:A:LFTHEDDR01# show redundancy synchronization

In ShowRedSync: A:LFTHEDDR01# show redundancy synchronization

10.128.1.4: End of run not found clean run is 0 and Found_end is 5 ;prompt was A:LFTHEDDR01#

10.128.1.4: clean_run 0

10.128.1.4: found_end 5

10.128.1.4: End of run not found

!A:LFTHEDDR01#logout Connection closed by foreign host.





Also, the debug file that is generated that shows all the commands and outputs looks just fine. So, it's not a problem with htting or missing any commands, just a problem with parsing and detecting the end which would $clean_run = 1;





Boot/Config Sync Mode : Boot Environment

Boot/Config Sync Status : All boot environment synchronized

Last Config File Sync Time : 04/28/2010 03:03:40

Last Boot Env Sync Time : 02/10/2011 02:57:07

===============================================================================

!A:LFTHEDDR01#logout Connection closed by foreign host.



Thoughts?







Chance

= [mailto:] On Behalf Of Dav=ED=F0 = =D6rn J=F3hannsson
1970-01-01 00:00:00 UTC
Permalink
Any suggestions?







Chance Delome



Chief Communication Systems Operator

Lafayette Utilities System / LUS Fiber

234 Distribution Drive

Lafayette, LA 70507



***@lus.org

Office: 337-291-5851

Cell: 337-319-8472





From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Davíð Örn Jóhannsson
Sent: Wednesday, February 24, 2010 4:54 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: Alcatel Omniswitch and Rancid



Hi Alex,



Doing some googling gave you away, I saw that you had modified rancid and clogin to being able to support Alcatel routers in Rancid, did you publish your modification anywhere where I could take a look at them?



I'm trying to be able to use Rancid for Alcatel SR7750 and any help would be apreciated.



Kveðja,

Davíð Örn Jóhannsson
Sérfræðingur

Stjórnkerfi

Sími +354 897 7463
Fax +354



Síminn - Ármúli 25 - 108 Reykjavík - Iceland - siminn.is

Ábyrgð þín varðandi tölvupóst. <http://www.siminn.is/um-simann/almennt/tolvupostur/>






------_=_NextPart_002_01CBC3FC.DB661F79
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="3074" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>I&#8217;m also having problems with 7750s and Rancid.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>
Nick Buraglio [mailto:]=20
1970-01-01 00:00:00 UTC
Permalink
=20

The 7750 stays on the same line =E0 A:LFTHEDDR01#logout Connection =
closed by foreign host.

=20

The 7450 generates a new line =E0 *A:LFTHEDSW1# logout=20

=
Connection to 10.128.1.2 closed.

=20

=20

Nick's version of aluRancid has no problems running on 7450s as it runs =
brillitantly.

=20

Thoughts?

=20

=20

Chance Delome

=20

Chief Communication Systems Operator

Lafayette Utilities System / LUS Fiber

234 Distribution Drive

Lafayette, LA 70507

=20

***@lus.org

Office: 337-291-5851

Cell: 337-319-8472

=20

=20

From: Nick Buraglio [mailto:***@buraglio.com]=20
Sent: Thursday, February 03, 2011 7:59 PM
To: Chance Delome
Cc: Dav=ED=F0 =D6rn J=F3hannsson; <rancid-***@shrubbery.net>
Subject: Re: [rancid] Alcatel Omniswitch and Rancid

=20

I had this working on the alu boxes we used at SC10 but i do have to =
admit that the logout was what i had the most trouble with.=20

I no longer have access to any alu boxes to help troubleshoot but I'll =
chime in if i can help since i wrote the initial port.=20

What is the error you're seeing?

nb


On Feb 3, 2011, at 5:50 PM, "Chance Delome" <***@lus.org> wrote:

I'm also having problems with 7750s and Rancid.
Loading...