CONF.default_ttl value in zones sqlalchemy table doesn't use designate.conf value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
High
|
Unassigned |
Bug Description
Essentially, the /etc/designate/
I think this is due to the reorganisation of the sql stuff between antelope and bobcat, but in cmd/central.py I think it gets imported by the line "from designate import service". This ultimately imports designate.
I think this affects all the CONF values in that table:
zones = Table('zones', metadata,
...
Column('ttl', Integer, default=
Column(
# The refresh interval is randomized by _generate_
Column(
Column('retry', Integer, default=
Column(
Column(
I think the solution is to either move the CONF reading prior to the import of designate.service, or make the definition of the SQLA zones Table lazy and happen when it is first used.
Changed in designate: | |
status: | New → Confirmed |
Changed in designate: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. opendev. org/c/openstack /designate/ +/900106
Review: https:/