Clean up operations

1. set stack to FAILED when resource creation fails in during
converge resource.
2. Fixed get_ready_nodes query
3. Initialized resource state to DELETE INIT before starting deletion