<div dir="ltr">Hi,<div><br></div><div>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.</div><div>
<br></div><div>A rackspace account was setup and under a Cloud Files 'container1' created.</div><div><br></div><div>On the owncloud side the external storage was enabled and a new "<span style="background-color:rgb(248,248,248);color:rgb(85,85,85);font-family:'Helvetica Neue',Helvetica,Arial,FreeSans,sans-serif;font-size:13px;line-height:20.46875px;white-space:nowrap">OpenStack Object Storage" added. Now the issue is find he right parameters here :-)</span></div>
<div><br></div>Aside from (rackspace) username and password, <br>Bucket: container1    <br>Region, Timeout: empty<br>API key: pasted from the racksapce account <br>Tenant name: set to username<br>URL <a href="https://auth.api.rackspacecloud.com/">https://auth.api.rackspacecloud.com/</a>  (also tried <a href="https://identity.api.rackspacecloud.com/v2.0/">https://identity.api.rackspacecloud.com/v2.0/</a>)<br>
Service: left empty , also tried 'cloudFiles'.<div><br></div><div>The GUI shows 'red' and nothing appearing in the logs after setting loglevel to 3 and define('DEBUG',true); in config.php.</div><div>
<br><div>Googling turned up <a href="http://wiki.interi.org/OwnCloud">http://wiki.interi.org/OwnCloud</a>, but that is for v5 which had a different set of parameters.</div><div><br></div><div>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.</div>
<div>Swift.php cannls the library like this:</div><div><div>                $this->anchor = new \OpenCloud\OpenStack($params['url'], $settings);</div><div>...</div><div>                $this->connection = $this->anchor->ObjectStore($params['service_name'], $params['region'], 'publicURL');</div>
</div><div><br></div><div>Any configuration suggestions/example please? Or any suggestions on how to troubleshoot?</div><div><br></div><div>Regards,</div><div><br>Sean</div><div><br></div><div><br></div></div></div>