User and Database List in Instance Creation Not Fully Validated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Undecided
|
Auston McReynolds |
Bug Description
Example:
POST /instances
{
"instance": {
"name": "my_db",
{
}
],
"users": [
{
],
}
],
...
}
}
Every database in instance.
In the example above, the guest will attempt to grant privileges for "sampleuser" to access "otherdb", but "otherdb" does not exist (only "sampledb" does).
Fix: Add validation in the API to assert that all instance.
Addendum: The API should validate for duplicate users as well (same name and host).
Note: instance.
Changed in trove: | |
assignee: | nobody → Auston McReynolds (amcreynolds) |
status: | New → In Progress |
summary: |
- User's Database List in Instance Creation Request Not Validated + User and Database List in Instance Creation Not Fully Validated |
description: | updated |
Changed in trove: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in trove: | |
milestone: | icehouse-1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/44978
Review: https:/