DNS: generate named config outside contrail-dns

Bug #1501268 reported by Hari Prasad Killi
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Released
Medium
Nipa

Bug Description

Currently, contrail-dns generates the configuration file for contrail-named. This necessitates a change in contrail-dns and consequently a new package is required for any change required in the named config.

This can be avoided by taking out the named configuration generation to a script. Contrail-dns provides input to this script either in XML or any other text format and kicks the script to regenerate named configuration.

Tags: vdns
Nipa (nipak)
Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → Nipa (nipak)
Revision history for this message
Nipa (nipak) wrote :

"contrail-rndc -c /etc/contrail/dns/contrail-rndc.conf reconfig"
can be used to update the contrail-named.conf and apply configs, but these configs
are not saved as we apply add new vdns etc., hence the script so both new configs(i,e views and zones) can be applied and older configurations for under options{} , key {}, logging {}, controls()
stanzas can be replayed on top.

Revision history for this message
Nipa (nipak) wrote :

commit 3e720946a2069a3e24c5d5db35f907579bc002a8
Author: Nipa Kumar <email address hidden>
Date: Thu Aug 25 18:38:03 2016 -0700

    Collector stops sending Discovery Publish Message to Discovery Server.

    Discovery Client is waiting infinetly for the "http client" task to be scheduled which
    periodically sends publish message to Discovery Server.

    Both VncApi object and Discovery Client object uses the same "http client" task and instance.
    Deletion of either of the object does not cleanup with WorkQueue and hence the "http client"
    task scheduled to execute the work on the deleted object does not succeed and waits
    forever. Task Scheduler has a task running with the same task-id and instance and hence
    similar tasks are not scheduled.

    Shutdown the work_qeueue on HttpClient object delete.

    Change-Id: Idb44f8106e250c12da3ee9ed30eb1f0ed576d944
    Closes-Bug:1617112

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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