API returns incorrect response when a pool has multiple ns records
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Critical
|
Endre Karlson |
Bug Description
To reproduce:
Update a zone's pool to have multiple different NS records:
PATCH /v2/pools/
{
"ns_records": [{
"hostname": "ns1.example.com.",
"priority": 1
},{
"hostname": "ns2.example.com.",
"priority": 1
},{
"hostname": "ns3.example.com.",
"priority": 1
}]
}
Then fetch the NS records for a zone:
GET /v2/zones/
{
"recordsets": [
{
...
"records": [
],
"type": "NS",
...
}
...
}
The API returns the right number of NS records, but all of the records are the same when they should match the ns_records list for the pool.
Other notes:
- Querying the nameserver(s) will return the correct NS records
- This doesn't seem to be a problem with zone exports. An exported zone will have the correct NS records based on the pool.
Changed in designate: | |
milestone: | none → liberty-rc1 |
Changed in designate: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in designate: | |
assignee: | nobody → Federico Ceratto (federico-ceratto) |
Changed in designate: | |
assignee: | Federico Ceratto (federico-ceratto) → nobody |
Changed in designate: | |
assignee: | nobody → Endre Karlson (endre-karlson) |
status: | Triaged → In Progress |
Changed in designate: | |
status: | Fix Committed → Fix Released |
Changed in designate: | |
milestone: | liberty-rc1 → 1.0.0 |
Fix proposed to branch: master /review. openstack. org/226317
Review: https:/