Support for all OpenStack object storage providers (Rackspace, SoftLayer, etc.) #402

Closed
wants to merge 1 commit into
from

1 participant

@benmccann

Update the README and code comments to make it clear that the cloud files backup method can be used for any OpenStack endpoint

@benmccann benmccann Update the README and code comments to make it clear that the cloud f…
…iles backup method can be used for any OpenStack endpoint
8dac6b5
@ghost

Backup's CloudFiles Storage uses the fog gem's rackspace provider.
The fog gem also has a openstack provider.
While these two are similar, and the rackspace provider may work with other OpenStack based storage providers,
there are some differences.
https://github.com/fog/fog/blob/master/lib/fog/rackspace/storage.rb
https://github.com/fog/fog/blob/master/lib/fog/openstack/storage.rb
The rackspace provider supports Rackspace's ServiceNet option, while openstack does not.
Also, openstack has some additional options that affect authentication.

I'd rather see Backup gain a OpenStack Storage.

@benmccann

Makes sense. The OpenStack storage provider is not released yet, which is why I didn't use it. It'll be in the next version of fog that's released. Would you want to create an OpenStack provider as a new provider in addition to the Rackspace provider or update the Rackspace provider to be a more generic OpenStack provider?

@benmccann

Hey Brian, fog 1.10 is out now. If we upgrade to 1.10 then I can use the OpenStack fog provider in this pull request as you've suggested.

@ghost

Sure, I'm game. Like I said, this should be a new Storage though. Backup::Storage::OpenStack
Won't be much different than the current CloudFiles Storage, other than the new options.
Also, we'll want to do the same with the Syncer. Backup::Syncer::Cloud::OpenStack :)
And, yeah, we'll have to bump fog to ~> 1.10.

@ghost

@benmccann If you want to work on this new Storage/Syncer, you should create a local branch and just bump the versions there. fog ~>1.10.0, and now excon ~>0.19.0. You may still run into some issues. Fog is a very active project :)

@benmccann benmccann closed this Mar 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment