[Owncloud] OC6 RC2: using openstack (rackspace) as a backend
Sean Boran
sean at boran.com
Thu Dec 5 13:44:34 UTC 2013
FYI, Found a solution:
1. Enable "External Storage" plugin
2. Go to the admin panel
3. In the external storage panel create a new storage with "Open Stack
Object Storage"
4. Enter these values:
Folder rname: "Any name, shown in owncloud"
Username: "Your username"
Bucket: "Name of your container, in our case: container1"
Region: "Not sure if needed, you see the region in you Rackspace account
where your containers are listed, in our case IAD (Northern Virginia)"
API Key: "Your rackspace API key"
Tenantcname: "Leave empty for rackspace"
Password: "Your password"
ServiceName: "cloudFiles"
URL: "https://identity.api.rackspacecloud.com/v2.0"
Timeout: "Leave empty"
User: "Add user or groups"
5. The icon in front should get green and you should see the folder in
your files.
However, it is really slow, not really usable :-(
Sean
On 4 December 2013 10:57, Sean Boran <sean at boran.com> wrote:
> 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/20131205/5c126683/attachment.html>
More information about the Owncloud
mailing list