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

FIWARE.Request.Lab.Poznan.FIWARE Lab Assistance.

    Details

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

      Description

      We have a problem in the Poznan node.

      We are trying to create a container inside in order to test how the
      Object Storage works, but when I create one I only receive the
      confirmation that it is created but I cannot see it. I am attaching a
      photo so you can see.

      We are also trying to test the object storage capabilities by targeting
      the fiware lab and using the script (Example Python) provided in this
      link:
      https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide
      The only thing we changed in that script is the username and password
      but the only thing we managed to do is obtain the token and the correct
      tennant ID, all other methods dont seem to work. The errors we get
      include: server error, time out and so on.

      Milos Vranic
      Developer, PANONIT d.o.o.


      This email has been checked for viruses by Avast antivirus software.
      https://www.avast.com/antivirus

      _______________________________________________
      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: Milos Vranic <milos.vranic@panonit.com>]

        Activity

        Hide
        gcossu Giuseppe Cossu added a comment -

        Hello,
        I’ve forwarded your request to the Poznan node support.

        Best Regards,
        Giuseppe

        On Sat, Aug 8, 2015 at 11:41 AM, Milos Vranic <milos.vranic@panonit.com>

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

        Show
        gcossu Giuseppe Cossu added a comment - Hello, I’ve forwarded your request to the Poznan node support. Best Regards, Giuseppe On Sat, Aug 8, 2015 at 11:41 AM, Milos Vranic <milos.vranic@panonit.com> _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        PSNC Poznan Node Helpdesk added a comment - - edited

        Hello,

        to answer the second part of your question:

        The script you have linked to (https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide) does not connect to the Poznan Object Storage instance, it connects to a random one (actually, to the second one returned by the auth server in the service catalogue listing). You can see that in the following code around line 157:

        # extract authentication string required for addressing users resources
        for i in auth_response['access']['serviceCatalog']:
          if i['name'] == 'swift':
            # may take here any of the available entries that works
            auth_url = i['endpoints'][1]['publicURL']
            break
        
        logger.info('auth_url is: ' + auth_url)
        

        If you want to connect to the Poznan Object Storage instance specifically, you should do something like:

        # extract authentication string required for addressing users resources
        for i in auth_response['access']['serviceCatalog']:
          if i['name'] == 'swift':
            for j in i['endpoints']:
              if j['region'] == 'Poznan':
                auth_url = j['publicURL']
                break
            break
        
        logger.info('auth_url is: ' + auth_url)
        

        regards,
        Sergiusz Zieliński
        Poznań Supercomputing and Networking Center

        Show
        PSNC Poznan Node Helpdesk added a comment - - edited Hello, to answer the second part of your question: The script you have linked to ( https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide ) does not connect to the Poznan Object Storage instance, it connects to a random one (actually, to the second one returned by the auth server in the service catalogue listing). You can see that in the following code around line 157: # extract authentication string required for addressing users resources for i in auth_response['access']['serviceCatalog']: if i['name'] == 'swift': # may take here any of the available entries that works auth_url = i['endpoints'][1]['publicURL'] break logger.info('auth_url is: ' + auth_url) If you want to connect to the Poznan Object Storage instance specifically, you should do something like: # extract authentication string required for addressing users resources for i in auth_response['access']['serviceCatalog']: if i['name'] == 'swift': for j in i['endpoints']: if j['region'] == 'Poznan': auth_url = j['publicURL'] break break logger.info('auth_url is: ' + auth_url) regards, Sergiusz Zieliński Poznań Supercomputing and Networking Center

          People

          • Assignee:
            PSNC Poznan Node Helpdesk
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: