18 questions
0
votes
1
answer
182
views
php-opencloud openstack download image but unable to save it in a local file
Using php-opencloud, I manage to connect to trigger the download of my images. Large files (20, 30, or 50 GB).
Following the doc, with
$image = $service->getImage($image_id);
$stream = $image->...
0
votes
1
answer
106
views
PHP SDK Opencloud/Openstack - How to add X-Storage-Policy in header?
I am using php sdk openstack v1 for opencloud and I would like to know while creating container I want to add custom header for "X-Storage-Policy" then how can i add custom header?
1
vote
1
answer
349
views
Rackspace open cloud library Guzzle error
I am using OpenCloud library for Rackspace cloud files. Is there any updated library to use for Rackspace cloud files?
The current library works OK but gives the following error on composer:
Package ...
0
votes
0
answers
53
views
mysql explain result just have DATA_NODE and SQL
after executing explain in mysql client, the result is:
mysql> explain select * from tbl_demo;
+-----------+------------------------+
| DATA_NODE | SQL |
+-----------+----------...
3
votes
1
answer
706
views
How to access and upload files into folders on rackspace open cloud container using PHP?
I am using composer package 'rackspace/php-opencloud' installed with
composer require rackspace/php-opencloud
and trying to upload and get the list of files inside the folder
included the autoload ...
1
vote
1
answer
883
views
PHP OpenCloud/OpenStack how to create container for public access
Using Laravel with OpenCloud/OpenStack, I can create a container using the createContainer function but it creates a private container by default and I would like to create a container with public ...
1
vote
1
answer
393
views
Php-opencloud Object Storage download file, GuzzleStream, how to>
How do I download my object using Php-opencloud?
http://docs.os.php-opencloud.com/en/latest/services/object-store/v1/objects.html
In the documentation I see.
$stream = $openstack->objectStoreV1()
...
1
vote
1
answer
827
views
Connecting to softlayer object storage using openstack API library php-opencloud
Is there someone tried to connect to softlayer object storage using the php-opencloud library?
I got 400 bad response when the library trying to make authentication.
From what I see inside the php-...
3
votes
1
answer
117
views
serverList() only returns 100 results
I'm trying to write a bit of code to inventory our OpenStack deployment, and I've run into an issue where serverList() only ever returns 100 results instead of the 600+ I'm expecting. I've reviewed ...
0
votes
1
answer
691
views
How to get folder size from folder inside Rackspace Cloud Files container using PHP?
Basically I have created a container inside Rackspace Cloud Files, lets say work. Inside work I have so many folders by username (dynamic folders as new users register and allocate 1 GB of space). ...
0
votes
1
answer
376
views
How do you create / delete containers with laravel-rackspace-opencloud?
I'm using the laravel-rackspace-opencloud package to manage files on RackSpace's cloud files platform. Is it possible to use this library to create / delete file containers? I've not been able to find ...
1
vote
1
answer
354
views
uploading large object to Cloudfiles returns different md5
So I have this code and I'm trying to upload large files as per https://github.com/rackspace/php-opencloud/blob/master/docs/userguide/ObjectStore/Storage/Object.md to Rackspace:
$src_path = '...
2
votes
2
answers
659
views
Rackspace php-opencloud how do I create a folder
When I upload a file using $container->uploadObjects($files) I can include the directory path in the name to make a new folder. If I use Cyberduck I can see the new folder.
But if I try and get an ...
0
votes
1
answer
658
views
using open cloud api without composer
I am trying to use the rackspace php SDK to update to the new API since the old one has been deprecated for a while. I am trying to use the SDK without using composer since we cannot install composer ...
1
vote
1
answer
325
views
List rackspace CDN-enabled containers with php-opencloud
The documentation states
To list CDN-only containers, follow the same operation for Storage which lists all containers. The only difference is which service object you execute the method on.
But ...
1
vote
1
answer
351
views
Rackspace php-opencloud API calls - can't get importCredentials() to work
I am using the php-opencloud / Rackspace SDK.
I only have one user connecting to the API, which is the entire site that is running.
By default it will make an authentication request before every API ...
4
votes
1
answer
1k
views
PHP OpenCloud\Rackspace Problems
I am having problems trying to get the Rackspace Opencloud API to work as expected (particularly the cloud files).
I have been following these guides:
https://github.com/rackspace/php-opencloud/...
0
votes
3
answers
9k
views
Unable to include "vendor/autoload.php" after installing Composer on Ubuntu
I'm just getting familiar with Linux servers and I'm trying to install Composer on my Ubuntu server. I think everything installed correctly except when I try to include Composer's autoloader I get a ...