Sam Corbett created BROOKLYN-372:
------------------------------------

             Summary: BasicStartable does not recover from the failure of its 
children
                 Key: BROOKLYN-372
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-372
             Project: Brooklyn
          Issue Type: Bug
            Reporter: Sam Corbett


If a BasicStartable's children fail it permanently enters the ON_FIRE state.

To demonstrate, run {{touch /tmp/killflag}} and then deploy this blueprint:

{code}
location: localhost
services:
- type: org.apache.brooklyn.entity.stock.BasicStartableImpl
  brooklyn.children:
  - type: org.apache.brooklyn.entity.nosql.redis.RedisStore
    brooklyn.config:
      postLaunchCommand: "(test -f /tmp/killflag && (ps aux | grep redis | grep 
-v grep | awk '{ print $2 }' | xargs kill -15)) || true"
{code}

The {{BasicStartable}} will be on fire because the Redis entity is on fire. 
Delete {{/tmp/killflag}} and use the `restart' effector on the Redis entity. 
The Redis entity will be running but the startable remains on fire.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to