Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-2017

FIWARE.Request.Tech.Cloud.ObjectStorage.cdmiAccessNotWorking

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      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@iki.fi
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Tero Vuorela <tero.vuorela@iki.fi>]

      1. signature.asc
        0.2 kB
        Daniele Santoro

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        57d 20h 25m 1 Kalman Meth 23/Mar/15 12:09 PM
        In Progress In Progress Closed Closed
        1m 10s 1 Kalman Meth 23/Mar/15 12:11 PM

          People

          • Assignee:
            meth Kalman Meth
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: