| 752 | } |
| 753 | |
| 754 | gboolean |
| 755 | stage0(pe_working_set_t * data_set) |
| 756 | { |
| 757 | xmlNode *cib_constraints = get_object_root(XML_CIB_TAG_CONSTRAINTS, data_set->input); |
| 758 | |
| 759 | if (data_set->input == NULL) { |
| 760 | return FALSE; |
| 761 | } |
| 762 | |
| 763 | if (is_set(data_set->flags, pe_flag_have_status) == FALSE) { |
| 764 | crm_trace("Calculating status"); |
| 765 | cluster_status(data_set); |
| 766 | } |
| 767 | |
| 768 | set_alloc_actions(data_set); |
| 769 | apply_system_health(data_set); |
| 770 | unpack_constraints(cib_constraints, data_set); |
| 771 | |
| 772 | return TRUE; |
| 773 | } |
| 774 | |
| 775 | static void |
| 776 | wait_for_probe(resource_t * rsc, const char *action, action_t * probe_complete, |
no test coverage detected