Fix wait for solr cache in osd deploy