[Owncloud] OC6 RC2: using openstack (rackspace) as a backend
Sean Boran
sean at boran.com
Wed Dec 4 09:57:14 UTC 2013
Hi,
I'd like to test using Openstack object storage as a backend. Since I don't
have an openstack available myself, setting up a rackspace account seemed
like a good idea.
A rackspace account was setup and under a Cloud Files 'container1' created.
On the owncloud side the external storage was enabled and a new "OpenStack
Object Storage" added. Now the issue is find he right parameters here :-)
Aside from (rackspace) username and password,
Bucket: container1
Region, Timeout: empty
API key: pasted from the racksapce account
Tenant name: set to username
URL https://auth.api.rackspacecloud.com/ (also tried
https://identity.api.rackspacecloud.com/v2.0/)
Service: left empty , also tried 'cloudFiles'.
The GUI shows 'red' and nothing appearing in the logs after setting
loglevel to 3 and define('DEBUG',true); in config.php.
Googling turned up http://wiki.interi.org/OwnCloud, but that is for v5
which had a different set of parameters.
Looking though the v6 code, apps/files_external/lib/swift.php calls the
library apps/files_external/3rdparty/php-opencloud. That library is
actually from rackspace, so there should be a good chance of it working.
Swift.php cannls the library like this:
$this->anchor = new \OpenCloud\OpenStack($params['url'],
$settings);
...
$this->connection =
$this->anchor->ObjectStore($params['service_name'], $params['region'],
'publicURL');
Any configuration suggestions/example please? Or any suggestions on how to
troubleshoot?
Regards,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20131204/4f273f4f/attachment.html>
More information about the Owncloud
mailing list