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

FIWARE.Request.Lab.Budapest.CLONE - Problem with Budapest instance authentication

    Details

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

      Description

      Reporting a question from CEED Tech team:

      _I'm not able to manage them [VMs] using the command line open stack tools. I found a pdf (FIWARE Lab for developers) and followed the instructions (setting up the environment variables according to it), but I'm getting a 401 "The request you have made requires authentication.".

      I've even tried just using the keystoneclient, also as a library, plainly for doing an authentication request and nothing else. The credentials are sent to the server, but the response I get is as above. I suspect it's a configuration error or a documentation bug and indeed by following the documentation I end up using the wrong parameters. Here's what I'm trying:

      • the OS_ variables are set to:
        OS_AUTH_URL=http://cloud.lab.fi-ware.org:4730/v2.0
        OS_PASSWORD='***'
        OS_REGION_NAME=Budapest2
        OS_TENANT_NAME=00000000000000000000000000009481
        OS_USERNAME=filab@atleta.hu
      • the actual json content that goes out (when trying from the python shell):
        {'auth':
        Unknown macro: {'tenantName'}

        }

      • the response I get (the content of the http response):
        {u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}}_

        Issue Links

          Activity

          Hide
          consoft_coach Marco Terrinoni added a comment -

          Good afternoon Sandor,

          Well, actually they are still waiting for a response...
          In my last comment I forwarded you the output of the command you sent, in order to identify the problem.
          Are you able to get the information you need from my previous comment?
          If not, I can establish a communication between you and the team, in order to speed-up the process.

          Thank you very much for your attention and cooperation.

          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - Good afternoon Sandor, Well, actually they are still waiting for a response... In my last comment I forwarded you the output of the command you sent, in order to identify the problem. Are you able to get the information you need from my previous comment? If not, I can establish a communication between you and the team, in order to speed-up the process. Thank you very much for your attention and cooperation. Best regards, Marco
          Hide
          consoft_coach Marco Terrinoni added a comment -

          I would like to add that since the Budapest node was facing some instabilities we decided to migrate to Spain2 node, but the Startup's team was still unable to access the command line.
          I just sent an email to the Startup, in order to understand if they are still stick with the authentication or if they already solved the problem by asking to the lab-help mailing list.
          Since their account should now be allocated in Spain2 node, I can suggest to close this ticket (or at least assign it to Spain node team), but for the moment, please, stand by; I will send a notification through this issue page.

          Again, thank you very much for your attention and cooperation.

          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - I would like to add that since the Budapest node was facing some instabilities we decided to migrate to Spain2 node, but the Startup's team was still unable to access the command line. I just sent an email to the Startup, in order to understand if they are still stick with the authentication or if they already solved the problem by asking to the lab-help mailing list. Since their account should now be allocated in Spain2 node, I can suggest to close this ticket (or at least assign it to Spain node team), but for the moment, please, stand by; I will send a notification through this issue page. Again, thank you very much for your attention and cooperation. Best regards, Marco
          Hide
          WIGNER Budapest Node Helpdesk added a comment -

          looking at the ENV variables it seems to me OS_TENANT_NAME is used instead of OS_TENANT_ID

          for me cli work withe following set
          export OS_TENANT_NAME=jozsef-steger
          export OS_TENANT_ID=00000000000000000000000000003796
          export OS_USERNAME=steger.jozsef@wigner.mta.hu
          export OS_PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
          export OS_AUTH_URL=http://cloud.lab.fiware.org:4730/v2.0/
          export OS_AUTH_STRATEGY=keystone
          export OS_REGION_NAME=Budapest2

          hope it helps,
          Józsi

          Show
          WIGNER Budapest Node Helpdesk added a comment - looking at the ENV variables it seems to me OS_TENANT_NAME is used instead of OS_TENANT_ID for me cli work withe following set export OS_TENANT_NAME=jozsef-steger export OS_TENANT_ID=00000000000000000000000000003796 export OS_USERNAME=steger.jozsef@wigner.mta.hu export OS_PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX export OS_AUTH_URL= http://cloud.lab.fiware.org:4730/v2.0/ export OS_AUTH_STRATEGY=keystone export OS_REGION_NAME=Budapest2 hope it helps, Józsi
          Hide
          sandor Sándor Laki added a comment -

          Can we close this issue?

          Best,
          Sandor

          Show
          sandor Sándor Laki added a comment - Can we close this issue? Best, Sandor
          Hide
          consoft_coach Marco Terrinoni added a comment -

          I didn't get any answer from the Startup, so I assume they already solved their problem.
          Please, proceed.

          Thanks.

          BR,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - I didn't get any answer from the Startup, so I assume they already solved their problem. Please, proceed. Thanks. BR, Marco

            People

            • Assignee:
              WIGNER Budapest Node Helpdesk
              Reporter:
              consoft_coach Marco Terrinoni
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: