python-designateclient does not require email on a primary zone create
Bug #2064129 reported by
Omer Schwartz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-designateclient |
New
|
Undecided
|
Unassigned |
Bug Description
When creating a zone, "email" appears under optional arguments:
$ openstack zone create --help | grep optional -A2
optional arguments:
-h, --help show this help message and exit
--email EMAIL Zone Email
According to the Designate API v2, email should be a positional argument on a zone create: https:/
(It is used in the SOA record which is created automatically for the zone)
affects: | designate → python-designateclient |
summary: |
- python-designateclient does not require email on zone create + python-designateclient does not require email on a primary zone create |
To post a comment you must log in.
The help message is correct, as the email is only required if the created zone has type=PRIMARY. for type=SECONDARY, the email parameter is ignored. Actually it should generate an error if the parameter is specified in that case, but that doesn't seem to happen.
So the error or inconsistency lies in the API reference, but I'm not sure how to best describe the constraints.