fix bug 1136495: ensure the order of two namenodes returned by Chef Search API are unchanged during the whole cluster lifecycle