neutron request body or parameters cause "Internal Server Error"

Bug #2025587 reported by Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

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": ""
    }
}

Tags: api
Revision history for this message
Chen (danielle-chen) wrote :
affects: cinder → neutron
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello Chen:

Queens is an EOL release. Can you provide the same information with a newer version?

Regards.

Changed in neutron:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.