Fix for node states during deployment process

Closes-Bug:#1290874

Change-Id: I3ffec6c66ea6475ef0db97f6cb68ca72b9873789
Merge "Fix for node states during deployment process"