Fix : #1341. Up state dor a host generates a recovery if necessary
Enh : #1341. Test cases for fix