fix a timing bug if nova-api was restarted immediately before this
cleanups to apache configs