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

FIWARE.Request.Tech.Cloud.CloudPortal.OpenStackapi

    Details

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

      Description

      Hello

      I got a confusing behaviour while using the OpenStack Api in the Lannion region:

      • I ask for the listing of instances: I receive an empty list
      • I boot a new instance in adequacy with my quota: I got a 503 error
      • I retry the previous request: I got a 413 error saying I am excessing my quota
      • With my browser I go to the the fiware lab portal and my instance has been created and is running (id: 7b6d41eb-2c2d-4da7-9e29-0f5fd31b9a7f)

      I am not sure if I did something wrong but should I treat every error code as a possible success ?, if so: is this change compatible with the other regions ?.

      Thanks
      Geoffroy

      -------------------------------------------

      Remote Address:130.206.82.10:443
      Request URL:https://cloud.lab.fiware.org/Lannion/compute/v2/00000000000000000000000000003273/servers/detail
      Request Method:GET
      Response Headers
      Access-Control-Allow-Credentials:true
      Access-Control-Allow-Headers:origin, content-type, X-Auth-Token, Tenant-ID, x-image-meta-is_public, x-image-meta-name
      Access-Control-Allow-Methods:HEAD, PUT, POST, GET, OPTIONS, DELETE
      Access-Control-Allow-Origin:https://193.1.202.229
      Connection:keep-alive
      Content-Length:15
      Content-Type:application/json
      Date:Wed, 08 Apr 2015 08:13:18 GMT
      Server:nginx/1.1.19
      x-compute-request-id:req-a504d31e-f9e7-408f-98a2-260a8dd53599
      X-Powered-By:Express
      Status Code:200 OK

      {"servers": []}

      Remote Address:130.206.82.10:443
      Request URL:https://cloud.lab.fiware.org/Lannion/compute/v2/00000000000000000000000000003273/os-volumes_boot
      Request Method:POST
      Request Payload
      {"server":{"name":"_dhub_generated_panamax","imageRef":"510259ec-b196-4b57-9260-130462128cc2","flavorRef":"3","key_name":null,"user_data":"I2Nsb3VkLWNvbmZp...QifV19fQ==","block_device_mapping":"","security_groups":[

      {"name":"14ccdfbb-b910-44e5-9071-9e7036e45a3a"}

      ],"min_count":1,"max_count":1,"availability_zone":"","networks":[

      {"uuid":"7edf4710-70d1-47dc-bac5-387c46f2bcfa"}

      ]}}
      Response Headers
      HTTP/1.1 503 Service Unavailable
      Server: nginx/1.1.19
      Date: Wed, 08 Apr 2015 08:13:36 GMT
      Transfer-Encoding: chunked
      Connection: keep-alive
      X-Powered-By: Express
      Access-Control-Allow-Origin: https://193.1.202.229
      Access-Control-Allow-Methods: HEAD, PUT, POST, GET, OPTIONS, DELETE
      Access-Control-Allow-Headers: origin, content-type, X-Auth-Token, Tenant-ID, x-image-meta-is_public, x-image-meta-name
      Access-Control-Allow-Credentials: true
      Status Code:503 Service Unavailable

      Remote Address:130.206.82.10:443
      Request URL:https://cloud.lab.fiware.org/Lannion/compute/v2/00000000000000000000000000003273/os-volumes_boot
      Request Method:POST
      Request Payload
      {"server":{"name":"_dhub_generated_panamax","imageRef":"510259ec-b196-4b57-9260-130462128cc2","flavorRef":"3","key_name":null,"user_data":"I2Nsb3VkLWNvbmZp...QifV19fQ==","block_device_mapping":"","security_groups":[

      {"name":"14ccdfbb-b910-44e5-9071-9e7036e45a3a"}

      ],"min_count":1,"max_count":1,"availability_zone":"","networks":[

      {"uuid":"7edf4710-70d1-47dc-bac5-387c46f2bcfa"}

      ]}}
      Response Headers
      Access-Control-Allow-Credentials:true
      Access-Control-Allow-Headers:origin, content-type, X-Auth-Token, Tenant-ID, x-image-meta-is_public, x-image-meta-name
      Access-Control-Allow-Methods:HEAD, PUT, POST, GET, OPTIONS, DELETE
      Access-Control-Allow-Origin:https://193.1.202.229
      Connection:keep-alive
      Content-Length:135
      Content-Type:text/html; charset=utf-8
      Date:Wed, 08 Apr 2015 08:13:37 GMT
      Server:nginx/1.1.19
      X-Powered-By:Express
      Status Code:413 Request Entity Too Large
      {"overLimit": {"message": "Quota exceeded for ram: Requested 4096, but already used 4096 of 6000 ram", "code": 413, "retryAfter": "0"}}

      nova show 7b6d41eb-2c2d-4da7-9e29-0f5fd31b9a7f
      --------------------------------------------------------------------------------------------------------------+

      Property Value

      --------------------------------------------------------------------------------------------------------------+

      OS-DCF:diskConfig MANUAL
      OS-EXT-AZ:availability_zone nova
      OS-EXT-STS:power_state 1
      OS-EXT-STS:task_state
      OS-EXT-STS:vm_state active
      accessIPv4  
      accessIPv6  
      config_drive  
      created 2015-04-08T08:14:10Z
      flavor m1.medium (3)
      hostId 473ea1eacec2208b710df34073b5e3989e75c18ff05480a049b60cb2
      id 7b6d41eb-2c2d-4da7-9e29-0f5fd31b9a7f
      image panamax_fic2lab_runner (510259ec-b196-4b57-9260-130462128cc2)
      key_name
      metadata {}
      name _dhub_generated_panamax
      node-int-net-01 network 192.168.254.16
      progress 0
      security_groups dhub_sec_group_5695aea0b7ce0116aa7686db5cecb992dc30590a01a2974bcc30cb8e90f824d4
      status ACTIVE
      tenant_id 00000000000000000000000000003273
      updated 2015-04-08T08:14:36Z
      user_id geoffroy

      --------------------------------------------------------------------------------------------------------------+

      [@@ THALES GROUP INTERNAL @@]

      _______________________________________________
      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: CHOLLON Geoffroy <geoffroy.chollon@thalesgroup.com>]

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: