Dear, I’ve forwarded your request to second level support which will be able to give a detailed help on this topic. Regards, Daniele On 24 Jan 2015, at 15:42, Tero Vuorela <tero.vuorela at iki.fi> wrote: > Hi, > > I have tried Object Storage example, especially Python example > https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide#Example_Python > > However it fails to container creation and HTTP response contains > "Internal server error". > > The unmodified example uses Spain IP address. If I check containers > under Spain region I can see that the example script has created a > container. > > If I create manually container using FI-Lab web UI I get "Error: Error > creating container . Cause: undefined" but despite of error container > appears to container list. > > However I'm not able to upload any objects to container. Not with web UI > or using cdmi (python example). On web UI I get success message, but > object doesn't appear to object list. With cdmi interface I get similar > Internal Server Error as with container creation. > > I experimented with Trento region and managed to create container and > upload object using web UI. However ObjectStorage examples are always > using Spain region IP address, and trying other IP address doesn't work > (not response at all, or resource not found). > > I'm able to download an object from a container located at Trento using > swift style access. > > Is it so that only Spain region has cdmi interface installed? > > Querying cmdi_capabilities from Spain region returns ok result: > > INFO:root:--- Object Store capabilties: Status: 200, Reason: OK, Body: { > "completionStatus": "Complete", > "objectName": "cdmi_capabilities/", > "parentURI": "/cdmi/AUTH_00000000000000000000000000007161/", > "capabilities": { > "cdmi_metadata_maxtotalsize": 368640, > "cdmi_metadata_maxitems": 90, > "cdmi_multipart_mime": "true", > "cdmi_dataobjects": "true", > "cdmi_object_copy_from_local": "true" > }, > "childrenRange": "0-2", > "children": [ > "rootcontainer/", > "container/", > "dataobject/" > ], > "objectType": "application/cdmi-capability" > } > > If I compare this response to ObjectStorage webinar material (page 29) I > would expect to see > > "cdmi_list_children": true > "cdmi_create_container": true > > > So could this be a capability / access rights issue? > > > Regards, > Tero Vuorela > > > -- > Tero Vuorela > tero.vuorela at iki.fi > _______________________________________________ > Fiware-lab-help mailing list > Fiware-lab-help at lists.fi-ware.org > https://lists.fi-ware.org/listinfo/fiware-lab-help -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 204 bytes Desc: Message signed with OpenPGP using GPGMail URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150126/3893a30e/attachment.pgp>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy