No validation for session-persistance when creating a VIP.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Roman Prykhodchenko |
Bug Description
LBaaS API specification contains wrong validation rule for VIPs' session-
'session_
The rule specifies the only constraint for a supplied value to be a dictionary. However, the schema of the database defines strict constraints for SessionPersistence objects:
type = sa.Column(
According to the constraint above 'type' is mandatory for SessionPersistence objects and it has to be equal to "SOURCE_IP", "HTTP_COOKIE" or "APP_COOKIE". The extension, however, does not check whether type is specified in the request and is equal to one of the allowed values. This causes an IntergityError to be thrown by the database and a user gets an Internal server error, if wrong type was specified.
description: | updated |
description: | updated |
description: | updated |
Changed in quantum: | |
assignee: | nobody → Avishay Balderman (avishayb) |
Changed in quantum: | |
milestone: | none → grizzly-3 |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | grizzly-3 → 2013.1 |
If those constaraints could be defined ONLY ONCE we could skip this bug and more bugs from this 'family' in the future.