[openstack|tests] fix deprecation warnings

This is intended to be a semi-long-running pull request to fix/cleanup/add openstack tests. The first commit just fixes some deprecated calls. More soon.