Correct, using V2. Also, to trigger the bug, you need to use an incorrect datetime stamp. So the datetime should look something like the tempest test uses (https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_list_servers_negative.py#L115). Your curl command would need to look more like:
curl -g -i --cacert "/data/PKIcerts/certs/cacert.pem" -X GET https://x.x.x.x:8774/v2/8423bc83177f4d28a1f2ba2b557345de/servers?changes-since=2011/01/01 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: a9ef755a33e244f2ad5d1abe389df8f5"
When this incorrect datetime format comes through, the server is supposed to gracefully handle it and return a 400, but instead an uncaught exception is raised, causing the server to return a 500.
Correct, using V2. Also, to trigger the bug, you need to use an incorrect datetime stamp. So the datetime should look something like the tempest test uses (https:/ /github. com/openstack/ tempest/ blob/master/ tempest/ api/compute/ servers/ test_list_ servers_ negative. py#L115). Your curl command would need to look more like:
curl -g -i --cacert "/data/ PKIcerts/ certs/cacert. pem" -X GET https:/ /x.x.x. x:8774/ v2/8423bc83177f 4d28a1f2ba2b557 345de/servers? changes- since=2011/ 01/01 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: a9ef755a33e244f 2ad5d1abe389df8 f5"
When this incorrect datetime format comes through, the server is supposed to gracefully handle it and return a 400, but instead an uncaught exception is raised, causing the server to return a 500.