retrieve data in openstack environment
remove socket error message
adapt for virtual env