← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2025587] [NEW] neutron request body or parameters cause "Internal Server Error"

 

Public bug reported:

Specific parameters will trigger a 500 error.

Preconditions: Openstack queens

Example request/response:
1、GET http://192.168.27.41:9696/v2.0/routers?
Query: id=fuzzstring&tenant_id=fuzzstring&project_id=fuzzstring&name=fuzzstring&description=fuzzstring&admin_state_up=true&revision_number=1&sort_dir=fuzzstring&sort_key=fuzzstring&tags=fuzzstring&%Adx&tags-any=fuzzstring&not-tags=fuzzstring&not-tags-any=fuzzstring&fields=fuzzstring
reponse:
500 Internal Server Error
{
    "NeutronError": {
        "message": "Request Failed: internal server error while processing your request.",
        "type": "HTTPInternalServerError",
        "detail": ""
    }
}

2、GET http://192.168.27.41:9696/v2.0/address-scopes?
Query: id=fuzzstring&name=fuzzstring&tenant_id=+-9:w8*m:(XfKrt.?RSciILQ'0%%EbvL|kJ4>oWp:34xTAG&<&project_id=fuzzstring&ip_version=1&shared=true&sort_key=fuzzstring&fields=fuzzstring
reponse:
500 Internal Server Error
{
    "NeutronError": {
        "message": "Request Failed: internal server error while processing your request.",
        "type": "HTTPInternalServerError",
        "detail": ""
    }
}

3、GET http://192.168.27.41:9696/v2.0/floatingips
Query: id=fuzzstring&router_id=fuzzstring&status=fuzzstring&tenant_id=fuzzstring&project_id=fuzzstring&revision_number=1&description=fuzzstring&distributed=true&floating_network_id=fuzzstring&fixed_ip_address=fuzzstring&floating_ip_address=fuzzstring&port_id=x?+0ED%BC5\nQd{/CjQwi1|:_\x0cYTBmVS~B/&sort_dir=fuzzstring&sort_key =fixed_ip_address&tags=fuzzstring&tags-any=fuzzstring&not-tags=fuzzstring&not-tags-any=fuzzstring&fields=fuzzstring
reponse:
500 Internal Server Error
{
    "NeutronError": {
        "message": "Request Failed: internal server error while processing your request.",
        "type": "HTTPInternalServerError",
        "detail": ""
    }
}

4、POST http://192.168.27.41:9696/v2.0/networks
Application/json:
{"network":{"segments":["666666666666666666666666666666"]}}
reponse:
500 Internal Server Error
{
    "NeutronError": {
        "message": "Request Failed: internal server error while processing your request.",
        "type": "HTTPInternalServerError",
        "detail": ""
    }
}

5、GET http://192.168.27.41:9696/v2.1/networks
Application/json:
{"network":false}
reponse:
500 Internal Server Error
{
    "NeutronError": {
        "message": "Request Failed: internal server error while processing your request.",
        "type": "HTTPInternalServerError",
        "detail": ""
    }
}
 
6、POST http://192.168.27.41:9696/v2.0/address-scopes
Application/json:
{"address_scope":false}
reponse:
500 Internal Server Error
{
    "NeutronError": {
        "message": "Request Failed: internal server error while processing your request.",
        "type": "HTTPInternalServerError",
        "detail": ""
    }
}

7、POST http://192.168.27.41:9696/v2.0/floatingips
Application/json:
{"floatingip":false}
reponse:
500 Internal Server Error
{
    "NeutronError": {
        "message": "Request Failed: internal server error while processing your request.",
        "type": "HTTPInternalServerError",
        "detail": ""
    }
}

8、POST http://192.168.27.41:9696/v2.0/routers
Application/json:
{"router":false}
response:
500 Internal Server Error
{
    "NeutronError": {
        "message": "Request Failed: internal server error while processing your request.",
        "type": "HTTPInternalServerError",
        "detail": ""
    }
}

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: api

** Attachment added: "error details.rar"
   https://bugs.launchpad.net/bugs/2025587/+attachment/5683471/+files/error%20details.rar

** Project changed: cinder => neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2025587

Title:
  neutron request body or parameters cause "Internal Server Error"

Status in neutron:
  New

Bug description:
  Specific parameters will trigger a 500 error.

  Preconditions: Openstack queens

  Example request/response:
  1、GET http://192.168.27.41:9696/v2.0/routers?
  Query: id=fuzzstring&tenant_id=fuzzstring&project_id=fuzzstring&name=fuzzstring&description=fuzzstring&admin_state_up=true&revision_number=1&sort_dir=fuzzstring&sort_key=fuzzstring&tags=fuzzstring&%Adx&tags-any=fuzzstring&not-tags=fuzzstring&not-tags-any=fuzzstring&fields=fuzzstring
  reponse:
  500 Internal Server Error
  {
      "NeutronError": {
          "message": "Request Failed: internal server error while processing your request.",
          "type": "HTTPInternalServerError",
          "detail": ""
      }
  }

  2、GET http://192.168.27.41:9696/v2.0/address-scopes?
  Query: id=fuzzstring&name=fuzzstring&tenant_id=+-9:w8*m:(XfKrt.?RSciILQ'0%%EbvL|kJ4>oWp:34xTAG&<&project_id=fuzzstring&ip_version=1&shared=true&sort_key=fuzzstring&fields=fuzzstring
  reponse:
  500 Internal Server Error
  {
      "NeutronError": {
          "message": "Request Failed: internal server error while processing your request.",
          "type": "HTTPInternalServerError",
          "detail": ""
      }
  }

  3、GET http://192.168.27.41:9696/v2.0/floatingips
  Query: id=fuzzstring&router_id=fuzzstring&status=fuzzstring&tenant_id=fuzzstring&project_id=fuzzstring&revision_number=1&description=fuzzstring&distributed=true&floating_network_id=fuzzstring&fixed_ip_address=fuzzstring&floating_ip_address=fuzzstring&port_id=x?+0ED%BC5\nQd{/CjQwi1|:_\x0cYTBmVS~B/&sort_dir=fuzzstring&sort_key =fixed_ip_address&tags=fuzzstring&tags-any=fuzzstring&not-tags=fuzzstring&not-tags-any=fuzzstring&fields=fuzzstring
  reponse:
  500 Internal Server Error
  {
      "NeutronError": {
          "message": "Request Failed: internal server error while processing your request.",
          "type": "HTTPInternalServerError",
          "detail": ""
      }
  }

  4、POST http://192.168.27.41:9696/v2.0/networks
  Application/json:
  {"network":{"segments":["666666666666666666666666666666"]}}
  reponse:
  500 Internal Server Error
  {
      "NeutronError": {
          "message": "Request Failed: internal server error while processing your request.",
          "type": "HTTPInternalServerError",
          "detail": ""
      }
  }

  5、GET http://192.168.27.41:9696/v2.1/networks
  Application/json:
  {"network":false}
  reponse:
  500 Internal Server Error
  {
      "NeutronError": {
          "message": "Request Failed: internal server error while processing your request.",
          "type": "HTTPInternalServerError",
          "detail": ""
      }
  }
   
  6、POST http://192.168.27.41:9696/v2.0/address-scopes
  Application/json:
  {"address_scope":false}
  reponse:
  500 Internal Server Error
  {
      "NeutronError": {
          "message": "Request Failed: internal server error while processing your request.",
          "type": "HTTPInternalServerError",
          "detail": ""
      }
  }

  7、POST http://192.168.27.41:9696/v2.0/floatingips
  Application/json:
  {"floatingip":false}
  reponse:
  500 Internal Server Error
  {
      "NeutronError": {
          "message": "Request Failed: internal server error while processing your request.",
          "type": "HTTPInternalServerError",
          "detail": ""
      }
  }

  8、POST http://192.168.27.41:9696/v2.0/routers
  Application/json:
  {"router":false}
  response:
  500 Internal Server Error
  {
      "NeutronError": {
          "message": "Request Failed: internal server error while processing your request.",
          "type": "HTTPInternalServerError",
          "detail": ""
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2025587/+subscriptions



Follow ups