Mailing List Archive

Problem after Ubuntu-upgrade
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@alavus.fi
Re: Problem after Ubuntu-upgrade [ In reply to ]
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, <Mikko.Peltokangas@alavus.fi>
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@alavus.fi
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss@www.shrubbery.net
> https://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
Re: Problem after Ubuntu-upgrade [ In reply to ]
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 <heas@shrubbery.net>
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 <rancid dir>/<rancid group>
svn cleanup

> On Mon, 8 Feb 2021, 13:03 Peltokangas Mikko, <Mikko.Peltokangas@alavus.fi>
> 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@alavus.fi
> >
> >
> > _______________________________________________
> > Rancid-discuss mailing list
> > 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


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: Problem after Ubuntu-upgrade [ In reply to ]
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 <rancid dir>
mv <rancid group> <rancid group>.old
svn co `(cd <rancid group>.old; svn info --show-item url)`

> But thanks, I think that I look that error from SVN then.
>
> -mikko
>
>
> ________________________________________
> L?hett?j?: john heasley <heas@shrubbery.net>
> 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 <rancid dir>/<rancid group>
> svn cleanup
>
> > On Mon, 8 Feb 2021, 13:03 Peltokangas Mikko, <Mikko.Peltokangas@alavus.fi>
> > 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?

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: Problem after Ubuntu-upgrade [ In reply to ]
Thank you, it works now!

-mikko


________________________________________
L?hett?j?: john heasley <heas@shrubbery.net>
L?hetetty: 9. helmikuuta 2021 19:24
Vastaanottaja: Peltokangas Mikko
Kopio: john heasley; Craig Hopkins; rancid-discuss@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 <rancid dir>
mv <rancid group> <rancid group>.old
svn co `(cd <rancid group>.old; svn info --show-item url)`

> But thanks, I think that I look that error from SVN then.
>
> -mikko
>
>
> ________________________________________
> L?hett?j?: john heasley <heas@shrubbery.net>
> 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 <rancid dir>/<rancid group>
> svn cleanup
>
> > On Mon, 8 Feb 2021, 13:03 Peltokangas Mikko, <Mikko.Peltokangas@alavus.fi>
> > 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?

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