Tempest tests passing wrong request body to compute action API.
Bug #1836187 reported by
Ghanshyam Mann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Ghanshyam Mann |
Bug Description
Most of the compute Action API accept request body with action name and null value. For exmaple: {'unshelve': null}.
But Tempest pass the empty dict instead of null- {'unshelve': {}}. This is the wrong usage of API. This does not give any error as Compute API does not check the value is null or anything else. Nova does not have schema also for those request bodies. Those request body are used to call the corresponding API action only.
Let's fix this wrong usage and pass the correct null value there.
Changed in tempest: | |
status: | New → Triaged |
assignee: | nobody → Ghanshyam Mann (ghanshyammann) |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/670287
Review: https:/