added logic for a failed state..
added logic for a failed state..

markvoelker/refstack,openstack/refstack,stackforge/refstack,stackforge/refstack,stackforge/refstack,openstack/refstack,markvoelker/refstack,stackforge/refstack,markvoelker/refstack,openstack/refstack,markvoelker/refstack,openstack/refstack