Ask Your Question

Error using PHPOpenCloud - OpenStack

asked 2014-05-05 08:04:36 -0500

mani619cash gravatar image

updated 2014-05-05 08:50:57 -0500

I have installed OpenStack using DevStack script on single machine.

I want to make use of Swift services via OpenCloud SDK.

require_once 'vendor/autoload.php';
use OpenCloud\OpenStack;

$client = new OpenStack('', array(
      'username' => 'admin',
        'password' => 'devstack',
        'tenant' => 'admin'));
     $objectStoreService = 
     catch (Guzzle\Http\Exception\ClientErrorResponseException $e) {
     echo $e->getResponse(); 

And getting error as shown in below image.

Some one said it is only for RackSpace cloud. True? Or I can use PHPOpenCloud for my locally deployed OpenStack cloud?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-08-12 03:09:34 -0500

Hamzoz gravatar image

Hi ! You can use php opencloud for your Openstack cloud. the official documentation is here : (http://php-opencloudopenstack.readthe...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-05-05 08:04:36 -0500

Seen: 160 times

Last updated: Aug 12 '16