GitHub user neykov opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/636

    Initialize entity driver on rebind when on-fire

    Don't create the driver only when `SERVICE_STATE_EXPECTED=ON_FIRE` - the 
entity is considered permanently failed in this state. When only 
`SERVICE_STATE_ACTUAL=ON_FIRE` we still should be able to rebind successfully - 
failure was set by attached enrichers.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/neykov/incubator-brooklyn init-driver-rebind

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-brooklyn/pull/636.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #636
    
----
commit ed76233d5180e6a735a8cb1102309272033d8969
Author: Svetoslav Neykov <[email protected]>
Date:   2015-05-11T12:42:50Z

    Initialize driver on rebind when on-fire
    
    Skip driver initialization only when the entity is permanently marked 
failed with SERVICE_STATE_EXPECTED=ON_FIRE. When only 
SERVICE_STATE_ACTUAL=ON_FIRE, but SERVICE_STATE_EXPECTED=RUNNING then the 
entity should still be operational.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to