* Get ResourceManager when runtime to resolve cycle dependence temp. * Fix Ut problem. * Rollback changes for ClusterControllerTest * Fix UT problem.