Designate accepts a primary zone with non-empty list of masters

Bug #1498121 reported by Paul Glass
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
High
Endre Karlson

Bug Description

I would expect Designate to 400 on posting a primary zone with a non-empty list of masters:

POST /v2/zones HTTP/1.1
{
    "name": "primary.com.",
    "email": "<email address hidden>",
    "type": "PRIMARY",
    "masters": ["127.0.0.1"]
}

But designate accepts the above request and creates the zone (and subsequent gets on the zone will return an empty list of masters).

Tim Simmons (timsim)
Changed in designate:
milestone: none → liberty-rc1
Changed in designate:
assignee: nobody → Endre Karlson (endre-karlson)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate (master)

Fix proposed to branch: master
Review: https://review.openstack.org/226228

Changed in designate:
status: New → In Progress
Changed in designate:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/226228
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=366b12f5f290cae022d3254e067ef57fef538908
Submitter: Jenkins
Branch: master

commit 366b12f5f290cae022d3254e067ef57fef538908
Author: Endre Karlson <email address hidden>
Date: Tue Sep 22 11:41:48 2015 +0200

    Add zone type specific validators

    Closes-bug: #1498121

    Change-Id: Ie42c64ee8f00c8fb130e7c6494d9e8b2c290beaf

Changed in designate:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in designate:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in designate:
milestone: liberty-rc1 → 1.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.