yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62431
[Bug 1673334] [NEW] min_ttl variable is not being honoured when adding records
You have been subscribed to a public bug:
Currently using Designate version 2.0.0-1 (el7) with Mitaka.
Designate is not honouring min_ttl variable when records are created.
An example from our setup:
$ grep min_ttl /etc/designate/designate.conf
min_ttl = 300
$ designate record-create --name test.matt-ttl-test.com. --ttl 100 --type A --data 101.0.101.10 c1dada84-7500-4a4d-b2ea-f415b75cf61c
+-------------+--------------------------------------+
| Field | Value |
+-------------+--------------------------------------+
| description | None |
| type | A |
| created_at | 2017-03-16T05:46:56.000000 |
| updated_at | None |
| domain_id | c1dada84-7500-4a4d-b2ea-f415b75cf61c |
| priority | None |
| ttl | 100 |
| data | 101.0.101.10 |
| id | 2a55e1d6-51b2-402e-b943-917a0ff23a90 |
| name | test.matt-ttl-test.com. |
+-------------+--------------------------------------+
Also, specifying a value which is not in range as specified within
domain.json (ie. 1 to 2147483647) will fail, however if you don't
specify a '-ttl', it'll add with a null value:
$ designate record-create --name testa.matt-ttl-test.com. --type A --data 101.0.101.10 c1dada84-
+-------------+--------------------------------------+
| Field | Value |
+-------------+--------------------------------------+
| description | None |
| type | A |
| created_at | 2017-03-16T05:49:00.000000 |
| updated_at | None |
| domain_id | c1dada84-7500-4a4d-b2ea-f415b75cf61c |
| priority | None |
| ttl | None |
| data | 101.0.101.10 |
| id | 71003363-02b4-40b1-87e9-dd88d6326c44 |
| name | testa.matt-ttl-test.com. |
+-------------+--------------------------------------+
This is also the same case with adding records via Horizon.
** Affects: horizon
Importance: Undecided
Status: New
--
min_ttl variable is not being honoured when adding records
https://bugs.launchpad.net/bugs/1673334
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).