obs scheduler crashes; log unhelpful...

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

obs scheduler crashes; log unhelpful...

Troy Telford (Groups)
I run a few OBS systems...

one of them is now not running the x86_64 scheduler.

The log isn't overly helpful:

starting build service scheduler
cold start, scanning all projects
getting data for all projects from http://foo.bar.com:5352
calculating project dependencies...
sorting projects and repositories...
exiting (with complete info)...
bye.

How do I increase the verbosity so I can see why the scheduler is quitting?
--
Troy Telford


--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: obs scheduler crashes; log unhelpful...

Srinidhi B
Troy Telford <[hidden email]> wrote:

>I run a few OBS systems...
>
>one of them is now not running the x86_64 scheduler.
>
>The log isn't overly helpful:
>
>starting build service scheduler
>cold start, scanning all projects
>getting data for all projects from http://foo.bar.com:5352
>calculating project dependencies...
>sorting projects and repositories...
>exiting (with complete info)...
>bye.
>

Looks like you have some shutdown events queued up. Start the scheduler manually:

# cd /usr/lib/obs/server
# ./bs_sched x86_64

Continue to start this every time it stops with "exiting (with compete info)".

Srinidhi.

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: obs scheduler crashes; log unhelpful...

Adrian Schröter
On Donnerstag, 2. Mai 2013, 03:51:55 wrote B S Srinidhi:

> Troy Telford <[hidden email]> wrote:
>
> >I run a few OBS systems...
> >
> >one of them is now not running the x86_64 scheduler.
> >
> >The log isn't overly helpful:
> >
> >starting build service scheduler
> >cold start, scanning all projects
> >getting data for all projects from http://foo.bar.com:5352
> >calculating project dependencies...
> >sorting projects and repositories...
> >exiting (with complete info)...
> >bye.

You have a left over exit event.

Do not restart the scheduler via "restart" but via "start" in this situation.

>
> Looks like you have some shutdown events queued up. Start the scheduler manually:
>
> # cd /usr/lib/obs/server
> # ./bs_sched x86_64
>
> Continue to start this every time it stops with "exiting (with compete info)".


--
Adrian Schroeter
SUSE Linux Products GmbH
email: [hidden email]

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: obs scheduler crashes; log unhelpful...

Adrian Schröter
On Donnerstag, 2. Mai 2013, 06:50:50 wrote Adrian Schröter:

> On Donnerstag, 2. Mai 2013, 03:51:55 wrote B S Srinidhi:
> > Troy Telford <[hidden email]> wrote:
> >
> > >I run a few OBS systems...
> > >
> > >one of them is now not running the x86_64 scheduler.
> > >
> > >The log isn't overly helpful:
> > >
> > >starting build service scheduler
> > >cold start, scanning all projects
> > >getting data for all projects from http://foo.bar.com:5352
> > >calculating project dependencies...
> > >sorting projects and repositories...
> > >exiting (with complete info)...
> > >bye.
>
> You have a left over exit event.
>
> Do not restart the scheduler via "restart" but via "start" in this situation.

Just added some code that exit events will be ignored on first start in future.
Will be part of OBS 2.4.1 and will avoid this situation in future.

bye
adrian

--
Adrian Schroeter
SUSE Linux Products GmbH
email: [hidden email]

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]