incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Clift (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DTACLOUD-63) The /etc/init.d/deltacloud-core script for Fedora/RHEL kills *every* deltacloudd processes when shutting down, rather than just its own
Date Fri, 05 Aug 2011 07:05:27 GMT

     [ https://issues.apache.org/jira/browse/DTACLOUD-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Clift updated DTACLOUD-63:
---------------------------------

    Attachment: deltacloud-ec2-us-east-1

Reference working version, from Aeolus 0.3.0, for EC2.

This file looks to have originally been copied from deltacloud-core anyway (as many of the
comments still say that), but then modified to save the PID and only shut down the correct
one.

Probably fairly simple to get the idea from, etc.

> The /etc/init.d/deltacloud-core script for Fedora/RHEL kills *every* deltacloudd processes
when shutting down, rather than just its own
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-63
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-63
>             Project: DeltaCloud
>          Issue Type: Bug
>         Environment: RHEL 6.1
>            Reporter: Justin Clift
>            Assignee: David Lutterkort
>            Priority: Minor
>         Attachments: deltacloud-ec2-us-east-1
>
>
> When shutting down deltacloud-core on a server with several deltacloudd processes (ie
Aeolus 0.3.0 release), the deltacloud-core script blindly kills every deltacloud daemon on
the server instead of just the deltacloud-core one.
> This is because the init.d script is using:
>   stop() {
>       echo -n $"Shutting down $prog: "
>       killproc deltacloudd
> Instead of using the PID of the correct process.
> Something like this should work, if the start() function is updated to save the pid in
PIDFILE:
>       killproc -p $PIDFILE deltacloudd

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message