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

        Hide
        danieles Daniele Santoro added a comment -

        Dear,

        I’ve forwarded your request to second level support which will be able to give a detailed help on this topic.

        Regards,
        Daniele

        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fi-ware.org
        https://lists.fi-ware.org/listinfo/fiware-lab-help

        Show
        danieles Daniele Santoro added a comment - Dear, I’ve forwarded your request to second level support which will be able to give a detailed help on this topic. Regards, Daniele _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        meth Kalman Meth added a comment -

        Forwarded to John Kennedy to address.

        Show
        meth Kalman Meth added a comment - Forwarded to John Kennedy to address.
        Hide
        jmk John M. Kennedy (Inactive) added a comment -

        Hello. I have tested the python and it is storing and retrieving text for me. It is possible that the resources issues in the Spain region in recent weeks may have been causing your problems with writes failing. Can you recheck the python against the Spanish region please?

        Regarding using the CDMI API against other regions, it appears there is an issue at the moment. Possibly a firewall issue. We are investigating further.

        Thank you,

        • John.
        Show
        jmk John M. Kennedy (Inactive) added a comment - Hello. I have tested the python and it is storing and retrieving text for me. It is possible that the resources issues in the Spain region in recent weeks may have been causing your problems with writes failing. Can you recheck the python against the Spanish region please? Regarding using the CDMI API against other regions, it appears there is an issue at the moment. Possibly a firewall issue. We are investigating further. Thank you, John.
        Hide
        meth Kalman Meth added a comment -

        CDMI support is being phased out.
        The new Object Store will use the standard Swift interface.

        Show
        meth Kalman Meth added a comment - CDMI support is being phased out. The new Object Store will use the standard Swift interface.
        Hide
        meth Kalman Meth added a comment -

        We are migrating to use the standard Swift interface.
        The partner that supported the CDMI interface is no longer on the project.
        CDMI will no longer be supported.

        Show
        meth Kalman Meth added a comment - We are migrating to use the standard Swift interface. The partner that supported the CDMI interface is no longer on the project. CDMI will no longer be supported.

          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: