Details
Description
The Cloud Files storage driver assumes the service catalog will have an endpoint for ORD. Some Cloud Files accounts have endpoints in DFW instead of ORD. Trying to list containers gives the following error for those accounts:
File "/Users/ggreer/code/libcloud/libcloud/storage/drivers/cloudfiles.py", line 229, in list_containers
response = self.connection.request('')
File "/Users/ggreer/code/libcloud/libcloud/storage/drivers/cloudfiles.py", line 149, in request
self._populate_hosts_and_request_paths()
File "/Users/ggreer/code/libcloud/libcloud/common/openstack.py", line 471, in _populate_hosts_and_request_paths
(self.host, self.port, self.secure, self.request_path) = self._tuple_from_url(self._ex_force_base_url or self.get_endpoint())
File "/Users/ggreer/code/libcloud/libcloud/storage/drivers/cloudfiles.py", line 136, in get_endpoint
raise LibcloudError('Could not find specified endpoint')
libcloud.common.types.LibcloudError: <LibcloudError in None 'Could not find specified endpoint'>