• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Can't add OpenStack storage

Status
Not open for further replies.

Kenny2606

Chevereto Member
Hi,

I'm trying to setup the RunAbove object storage by following this link https://chevereto.com/docs/storages#runabove but i got "Can't verify storage credentials."

And i've this in my error_log

Code:
16-Jul-2015 14:55:30 Europe/Paris] exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response
[status code] 401
[reason phrase] Unauthorized
[url] https://auth.runabove.io/v2.0/tokens' in /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php:43
Stack trace:
#0 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Request.php(145): Guzzle\Http\Exception\BadResponseException::factory(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Message\Response))
#1 [internal function]: Guzzle\Http\Message\Request::onRequestError(Object(Guzzle\Common\Event), 'request.error', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#2 /home/picsup/public_html/app/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func(Array, Object(Guzzle\Common\Event), 'request.error', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#3 /home/picsup/public_html/app/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'request.error', Object(Guzzle\Common\Event))
#4 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Request.php(589): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('request.error', Object(Guzzle\Common\Event))
#5 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Request.php(378): Guzzle\Http\Message\Request->processResponse(Array)
#6 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Message/EntityEnclosingRequest.php(49): Guzzle\Http\Message\Request->setState('complete', Array)
#7 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(303): Guzzle\Http\Message\EntityEnclosingRequest->setState('complete', Array)
#8 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(257): Guzzle\Http\Curl\CurlMulti->processResponse(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array)
#9 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(240): Guzzle\Http\Curl\CurlMulti->processMessages()
#10 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(224): Guzzle\Http\Curl\CurlMulti->executeHandles()
#11 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(111): Guzzle\Http\Curl\CurlMulti->perform()
#12 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMultiProxy.php(94): Guzzle\Http\Curl\CurlMulti->send()
#13 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php(284): Guzzle\Http\Curl\CurlMultiProxy->send()
#14 /home/picsup/public_html/app/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Request.php(198): Guzzle\Http\Client->send(Object(Guzzle\Http\Message\EntityEnclosingRequest))
#15 /home/picsup/public_html/app/vendor/rackspace/php-opencloud/lib/OpenCloud/Identity/Service.php(181): Guzzle\Http\Message\Request->send()
#16 /home/picsup/public_html/app/vendor/rackspace/php-opencloud/lib/OpenCloud/OpenStack.php(391): OpenCloud\Identity\Service->generateToken('{"auth":{"passw...')
#17 /home/picsup/public_html/app/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Service/CatalogService.php(210): OpenCloud\OpenStack->authenticate()
#18 /home/picsup/public_html/app/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Service/CatalogService.php(96): OpenCloud\Common\Service\CatalogService->findEndpoint()
#19 /home/picsup/public_html/app/vendor/rackspace/php-opencloud/lib/OpenCloud/ObjectStore/Service.php(51): OpenCloud\Common\Service\CatalogService->__construct(Object(OpenCloud\OpenStack), NULL, 'swift', 'SBG-1', 'publicURL')
#20 /home/picsup/public_html/app/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Service/ServiceBuilder.php(51): OpenCloud\ObjectStore\Service->__construct(Object(OpenCloud\OpenStack), NULL, 'swift', 'SBG-1', 'publicURL')
#21 /home/picsup/public_html/app/vendor/rackspace/php-opencloud/lib/OpenCloud/OpenStack.php(480): OpenCloud\Common\Service\ServiceBuilder::factory(Object(OpenCloud\OpenStack), 'OpenCloud\\Objec...', Array)
#22 /home/picsup/public_html/app/lib/classes/class.storage.php(563): OpenCloud\OpenStack->objectStoreService('swift', 'SBG-1', 'publicURL')
#23 /home/picsup/public_html/app/lib/classes/class.storage.php(107): CHV\Storage::requireAPI(Array)
#24 /home/picsup/public_html/app/lib/classes/class.storage.php(341): CHV\Storage::uploadFiles(Array, Array)
#25 /home/picsup/public_html/app/lib/classes/class.storage.php(466): CHV\Storage::test(Array)
#26 /home/picsup/public_html/app/routes/route.json.php(508): CHV\Storage::update('2', Array)
#27 /home/picsup/public_html/lib/G/classes/class.handler.php(216): G\Handler->{closure}(Object(G\Handler))
#28 /home/picsup/public_html/lib/G/classes/class.handler.php(120): G\Handler->processRequest()
#29 /home/picsup/public_html/app/loader.php(377): G\Handler->__construct(Array)
#30 /home/picsup/public_html/index.php(20): include_once('/home/picsup/pu...')
#31 {main}

Can you help me ?

Thanks !
 
401 error means that the provided credentials are wrong. Try checking that.
 
Thanks for reply,

I retry by verifying step by step and now i got this error:

Code:
[16-Jul-2015 16:09:38 Europe/Paris] exception 'OpenCloud\Common\Exceptions\RuntimeException' with message 'No method OpenCloud\ObjectStore\Service::mkdirRecursive()' in /home/picsup/public_html/app/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Base.php:90
Stack trace:
#0 /home/picsup/public_html/app/lib/classes/class.storage.php(171): OpenCloud\Common\Base->__call('mkdirRecursive', Array)
#1 /home/picsup/public_html/app/lib/classes/class.storage.php(171): OpenCloud\ObjectStore\Service->mkdirRecursive(NULL)
#2 /home/picsup/public_html/app/lib/classes/class.storage.php(341): CHV\Storage::uploadFiles(Array, Array)
#3 /home/picsup/public_html/app/lib/classes/class.storage.php(466): CHV\Storage::test(Array)
#4 /home/picsup/public_html/app/routes/route.json.php(508): CHV\Storage::update('2', Array)
#5 /home/picsup/public_html/lib/G/classes/class.handler.php(216): G\Handler->{closure}(Object(G\Handler))
#6 /home/picsup/public_html/lib/G/classes/class.handler.php(120): G\Handler->processRequest()
#7 /home/picsup/public_html/app/loader.php(377): G\Handler->__construct(Array)
#8 /home/picsup/public_html/index.php(20): include_once('/home/picsup/pu...')
#9 {main}
 
Can you post a picture of the form with the values you are providing? You can hide sensitive data if you want.
 
Just logged in your website and add it without any issues. Weird thing is that OpenStack doesn't call the mkdirRecursive method, that is FTP's. Most likely the form was being cached or something like that and the storage was being sent as FTP and not OpenStack.
 
Status
Not open for further replies.
Back
Top