api v2 update_recordset works improperly when updating 'records'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Critical
|
stanzgy |
Bug Description
See examples below.
Here is a type A recordsets "www.example.net." with records 10.0.0.1 and 10.0.0.2. I want to update records to 10.0.0.3 but got 10.0.0.2 and 10.0.0.3.
$ curl -g -X GET -H "X-Auth-Token: 59abb39c9b11419
{
"recordset": {
"id": "e702d7c1-
"links": {
"self": "http://
},
"name": "www.example.net.",
"records": [
],
"ttl": null,
"type": "A",
"version": 1,
"zone_id": "bc49118c-
}
}
$ curl -g -X PUT -H "X-Auth-Token: 59abb39c9b11419
{
"recordset": {
"id": "e702d7c1-
"links": {
"self": "http://
},
"name": "www.example.net.",
"records": [
],
"ttl": null,
"type": "A",
"version": 2,
"zone_id": "bc49118c-
}
}
Changed in designate: | |
importance: | Undecided → Critical |
milestone: | none → kilo-2 |
Changed in designate: | |
status: | Fix Committed → Fix Released |
Changed in designate: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/148328
Review: https:/