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

FIWARE.Request.Tech.Cloud.CloudPortal.FIWARE Lab Assistance

    Details

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

      Description

      Hi,
      I'm having some issues creating and getting files onto the Object Storage
      GE while on a trial account.

      The first issue that I can't see the name of the container in the web
      interface as shown below. Inspecting the page I get that I receive request
      with the container name. But I'm also unable to delete the container.[image:
      Inline images 1]
      The second issue is that I can't upload files to the container. I'm trying
      to do it on node.js with help of the npm package fiware-object-storage
      <http://s.bl-1.com/h/vM1DbvZ?url=https://github.com/arvidkahl/fiware-object-storage>.
      I get a socket hang-up error. I include my configuration for that gets
      passed to fiware-object-storage and the debug log. As my account region is
      set to Spain2 through a stack overflow discussion
      <http://s.bl-1.com/h/vM1DgKc?url=http://stackoverflow.com/questions/31571651/fiware-object-storage-no-tenants-available/31808805#31808805>
      found the object storage url for Spain2.

      Is this a library specific issue? Due to the first issue I'm having or some
      trial account limitation or something?

      [image: Inline images 3]

      [image: Inline images 2]

      Regards,
      Renārs Vilnis

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help
      [Created via e-mail received from: =?UTF-8?Q?Ren=C4=81rs_Vilnis?= <renars.vilnis@gmail.com>]

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Will try to rewrite the npm library for WAY cleaner and modern code, as I
        require more functionality out of the library. Is the python example at to
        bottom of the page
        <http://s.bl-1.com/h/vMFxHZM?url=https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide>
        up-to-date for using storage? Will try to convert it to node.js/

        Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
        Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fiware.org
        https://lists.fiware.org/listinfo/fiware-lab-help

        Show
        fw.ext.user FW External User added a comment - Will try to rewrite the npm library for WAY cleaner and modern code, as I require more functionality out of the library. Is the python example at to bottom of the page < http://s.bl-1.com/h/vMFxHZM?url=https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide > up-to-date for using storage? Will try to convert it to node.js/ Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost. Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one. _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fiware.org https://lists.fiware.org/listinfo/fiware-lab-help
        Hide
        fw.ext.user FW External User added a comment -

        Hi,
        me again. Little status update, have successfully rewritten the library
        work with the container, have couple of questions about structuring it and
        configuration.

        1. Haven't got much experience with writing api libraries and managing
        expiring tokens. Should I need to worry about token expiring? I presume it
        is not needed to make a new authentification, everytime we interact with
        storage. The authentification should happen once when server is starting-up
        (we create a instance) and it internally keeps it. Should I implement some
        kind of mechanism that refreshes the token?

        2. Does the tenant id change? From the quote below I presume that getting a
        tenant I just a one time deal.

        source

        3. From a response list of tenants (as shown in the picture below) how
        should I select the "right" one? For now i'm just taking the first one.
        [image: Inline images 1]

        4. Is it true that a object storage container belongs to only a single
        region? Now when initiating the storage library the passed in config object
        requires an region key. For my trial account it's locked to Spain2.

        Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
        Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fiware.org
        https://lists.fiware.org/listinfo/fiware-lab-help

        Show
        fw.ext.user FW External User added a comment - Hi, me again. Little status update, have successfully rewritten the library work with the container, have couple of questions about structuring it and configuration. 1. Haven't got much experience with writing api libraries and managing expiring tokens. Should I need to worry about token expiring? I presume it is not needed to make a new authentification, everytime we interact with storage. The authentification should happen once when server is starting-up (we create a instance) and it internally keeps it. Should I implement some kind of mechanism that refreshes the token? 2. Does the tenant id change? From the quote below I presume that getting a tenant I just a one time deal. source 3. From a response list of tenants (as shown in the picture below) how should I select the "right" one? For now i'm just taking the first one. [image: Inline images 1] 4. Is it true that a object storage container belongs to only a single region? Now when initiating the storage library the passed in config object requires an region key. For my trial account it's locked to Spain2. Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost. Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one. _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fiware.org https://lists.fiware.org/listinfo/fiware-lab-help
        Hide
        aalonsog Alvaro Alonso added a comment -

        Hi,

        regarding the issue it the Cloud Portal, it is fixed. So you should now view your containers there.

        Regarding the nodejs library you are using, I recommend you to talk with its owner. I cannot help there. If you have issues with objects upload in a region, please report the issue to the specific region. It could be a problem with the infrastructure.

        BR

        Show
        aalonsog Alvaro Alonso added a comment - Hi, regarding the issue it the Cloud Portal, it is fixed. So you should now view your containers there. Regarding the nodejs library you are using, I recommend you to talk with its owner. I cannot help there. If you have issues with objects upload in a region, please report the issue to the specific region. It could be a problem with the infrastructure. BR

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: