Handle exceptions after refactoring of the openstack driver.