bug in gocept.zeoraid:server recipe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gocept.zeoraid |
Confirmed
|
Low
|
Christian Theune |
Bug Description
I think the same problem affects zc.zodbrecipes:
So, I have the following section:
[zeoraid1]
recipe = gocept.
zeo.conf =
<zeo>
address 127.0.0.1:8200
</zeo>
%import gocept.zeoraid
<raidstorage main>
<zeoclient 1>
server localhost:8100
storage 1
</raidstorage>
Steps to reproduce:
1. start the zeoraid server
2. edit the above config
3. run bin/buildout
4. attempt to stop the zeoraid server
Because step 3 blows away the part directory, the .pid file is lost and step 4 fails because the control script no longer thinks zeoraid is running.
How do I get this recipe to put its .pid files somewhere less volatile?
(The bug is that neither gocept.
Changed in gocept.zeoraid: | |
assignee: | nobody → Christian Theune (ct-gocept) |
status: | Fix Committed → Fix Released |
Changed in gocept.zeoraid: | |
importance: | Undecided → Medium |
status: | In Progress → Confirmed |
Changed in gocept.zeoraid: | |
importance: | Medium → Low |
On 10/30/2009 12:50 AM, ChrisW wrote: server, but since the zeoraid: server zeoraid: server nor zc.zodbrecipes: server do this by default)
> Public bug reported:
>
> I think the same problem affects zc.zodbrecipes:
> problem I bumped into with was with the zeoraid recipe, I'll report
> here...
>
> So, I have the following section:
>
> [zeoraid1]
> recipe = gocept.
> zeo.conf =
> <zeo>
> address 127.0.0.1:8200
> </zeo>
> %import gocept.zeoraid
> <raidstorage main>
> <zeoclient 1>
> server localhost:8100
> storage 1
> </zeoclient>
> </raidstorage>
>
> Steps to reproduce:
>
> 1. start the zeoraid server
>
> 2. edit the above config
>
> 3. run bin/buildout
>
> 4. attempt to stop the zeoraid server
>
> Because step 3 blows away the part directory, the .pid file is lost and
> step 4 fails because the control script no longer thinks zeoraid is
> running.
>
> How do I get this recipe to put its .pid files somewhere less volatile?
> (The bug is that neither gocept.
That can be achieved using deployment recipes, the two I've used before are:
zc.recipe. deployment recipe. deploymentsandb ox
gocept.
Does that work for you?
Christian
Status: Feedback required
Importance: Normal
-- gocept. com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Christian Theune · <email address hidden>
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://
Zope and Plone consulting and development