Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

rancid not keeping the newly created .new file

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


FMALAPEL at bouyguestelecom

Oct 28, 2011, 10:54 AM

Post #1 of 4 (480 views)
Permalink
rancid not keeping the newly created .new file

Hi,

I'm facing a really strange problem.
I have routers A and B; both are 7750 Alcatel routers. Except that router A was a Cisco before, we kept the same name.
I can run the alurancid / alulogin perfectly on both of these.

However when I ran rancid-run only router B has a file with its configuration. Router A still has the cisco config file.
I then created a new group within rancid and started over, this time the conf file of router A is empty!

While rancid-run is running, I can see the routerA.new and routerB.new files.
The configuration of routerA is effectively within the routerA.new file!
But, when rancid-run is done, the routerA conf file remains empty...!

As someone ever experienced this? Can someone help me on this subject? I am actually banging my head against my keyboard :)
Thanks,

Franck

________________________________
L'int?grit? de ce message n'?tant pas assur?e sur internet, la soci?t? exp?ditrice ne peut ?tre tenue responsable de son contenu ni de ses pi?ces jointes. Toute utilisation ou diffusion non autoris?e est interdite. Si vous n'?tes pas destinataire de ce message, merci de le d?truire et d'avertir l'exp?diteur.

The integrity of this message cannot be guaranteed on the Internet. The company that sent this message cannot therefore be held liable for its content nor attachments. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.


heas at shrubbery

Oct 28, 2011, 1:12 PM

Post #2 of 4 (481 views)
Permalink
Re: rancid not keeping the newly created .new file [In reply to]

Fri, Oct 28, 2011 at 07:54:08PM +0200, MALAPELLE, FRANCK:
> Hi,
>
> I'm facing a really strange problem.
> I have routers A and B; both are 7750 Alcatel routers. Except that router A was a Cisco before, we kept the same name.
> I can run the alurancid / alulogin perfectly on both of these.
>
> However when I ran rancid-run only router B has a file with its configuration. Router A still has the cisco config file.
> I then created a new group within rancid and started over, this time the conf file of router A is empty!

the parsing of the received data is probably failing in alurancid. see the
group's logfile and dry alurancid -d hostname.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


FMALAPEL at bouyguestelecom

Nov 2, 2011, 3:13 AM

Post #3 of 4 (442 views)
Permalink
Re: rancid not keeping the newly created .new file [In reply to]

Hi John,

Alurancid is fine, it can log in and create a file of the configuration :
rancid [at] bt1shs0:~/bin$ alurancid -d routerA
executing alulogin -t 90 -c"show chassis environment;show chassis power-supply;admin display-config;show system information;show redundancy synchronization" routerA
PROMPT MATCH: "A:routerA#"
HIT COMMAND:A:routerA# show chassis environment
In ShowHw: A:routerA# show chassis environment
HIT COMMAND:A:routerA# show chassis power-supply
In ShowPwr: A:routerA# show chassis power-supply
HIT COMMAND:A:routerA# admin display-config
In ShowConfig: A:routerA# admin display-config
HIT COMMAND:A:routerA# show system information
In ShowSysinfo: A:routerA# show system information
HIT COMMAND:A:routerA# show redundancy synchronization
In ShowRedSync: A:routerA# show redundancy synchronization

The file is there with all the conf.

However, when I run rancid-run I can see the .new file during the process but it then disappears...
I just can't explain it.

Franck


Fri, Oct 28, 2011 at 07:54:08PM +0200, MALAPELLE, FRANCK:
> Hi,
>
> I'm facing a really strange problem.
> I have routers A and B; both are 7750 Alcatel routers. Except that router A was a Cisco before, we kept the same name.
> I can run the alurancid / alulogin perfectly on both of these.
>
> However when I ran rancid-run only router B has a file with its configuration. Router A still has the cisco config file.
> I then created a new group within rancid and started over, this time the conf file of router A is empty!

the parsing of the received data is probably failing in alurancid. see the
group's logfile and dry alurancid -d hostname.


L'int?grit? de ce message n'?tant pas assur?e sur internet, la soci?t? exp?ditrice ne peut ?tre tenue responsable de son contenu ni de ses pi?ces jointes. Toute utilisation ou diffusion non autoris?e est interdite. Si vous n'?tes pas destinataire de ce message, merci de le d?truire et d'avertir l'exp?diteur.

The integrity of this message cannot be guaranteed on the Internet. The company that sent this message cannot therefore be held liable for its content nor attachments. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


heas at shrubbery

Nov 2, 2011, 12:40 PM

Post #4 of 4 (449 views)
Permalink
Re: rancid not keeping the newly created .new file [In reply to]

Wed, Nov 02, 2011 at 11:13:05AM +0100, MALAPELLE, FRANCK:
> Hi John,
>
> Alurancid is fine, it can log in and create a file of the configuration :
> rancid [at] bt1shs0:~/bin$ alurancid -d routerA
> executing alulogin -t 90 -c"show chassis environment;show chassis power-supply;admin display-config;show system information;show redundancy synchronization" routerA
> PROMPT MATCH: "A:routerA#"
> HIT COMMAND:A:routerA# show chassis environment
> In ShowHw: A:routerA# show chassis environment
> HIT COMMAND:A:routerA# show chassis power-supply
> In ShowPwr: A:routerA# show chassis power-supply
> HIT COMMAND:A:routerA# admin display-config
> In ShowConfig: A:routerA# admin display-config
> HIT COMMAND:A:routerA# show system information
> In ShowSysinfo: A:routerA# show system information
> HIT COMMAND:A:routerA# show redundancy synchronization
> In ShowRedSync: A:routerA# show redundancy synchronization

rancid would end with:
Done : prompt#exit

i don't know if you maintained this behavior in alurancid.

> The file is there with all the conf.
>
> However, when I run rancid-run I can see the .new file during the process but it then disappears...
> I just can't explain it.

alurancid is probably removing it because its not convinced that it got
the full output.

> Franck
>
>
> Fri, Oct 28, 2011 at 07:54:08PM +0200, MALAPELLE, FRANCK:
> > Hi,
> >
> > I'm facing a really strange problem.
> > I have routers A and B; both are 7750 Alcatel routers. Except that router A was a Cisco before, we kept the same name.
> > I can run the alurancid / alulogin perfectly on both of these.
> >
> > However when I ran rancid-run only router B has a file with its configuration. Router A still has the cisco config file.
> > I then created a new group within rancid and started over, this time the conf file of router A is empty!
>
> the parsing of the received data is probably failing in alurancid. see the
> group's logfile and dry alurancid -d hostname.
>
>
> L'int?grit? de ce message n'?tant pas assur?e sur internet, la soci?t? exp?ditrice ne peut ?tre tenue responsable de son contenu ni de ses pi?ces jointes. Toute utilisation ou diffusion non autoris?e est interdite. Si vous n'?tes pas destinataire de ce message, merci de le d?truire et d'avertir l'exp?diteur.
>
> The integrity of this message cannot be guaranteed on the Internet. The company that sent this message cannot therefore be held liable for its content nor attachments. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.