Virtual DNS external flag cannot be set

Bug #1495108 reported by Filip Pytloun
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Medium
Siva Bavanasi
OpenContrail
Fix Committed
Medium
Siva Bavanasi

Bug Description

External flag cannot be set during creation or update of virtual DNS via UI. Therefore zone can't be visible outside of assigned IPAM - it seems that virtual DNS zones were external by default before R2.20.

It's possible to set external flag when using add_virtual_dns.py tool:
https://github.com/Juniper/contrail-controller/blob/master/src/dns/scripts/add_virtual_dns.py
But when virtual DNS is updated in UI (eg. IPAMs assigned), external flag is set back to false and zone is no longer visible from outside.

Quick and dirty workaround is to comment out condition in named_config.cc to have all zones as external to keep R2.1 behavior:
https://github.com/Juniper/contrail-controller/blob/master/src/dns/bind/named_config.cc#L264

Bug appears in latest build of OpenContrail R2.20 (built on 2015-09-11).

Tags: ui vdns
Filip Pytloun (fpytloun)
description: updated
tags: added: ui
Changed in opencontrail:
assignee: nobody → Rahul (rahuls)
Changed in juniperopenstack:
assignee: nobody → Rahul (rahuls)
importance: Undecided → Medium
Changed in opencontrail:
importance: Undecided → Medium
Rahul (rahuls)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → Siva Bavanasi (kbsiva)
Changed in opencontrail:
assignee: Rahul (rahuls) → Siva Bavanasi (kbsiva)
Revision history for this message
Siva Bavanasi (kbsiva) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
Changed in opencontrail:
status: New → Fix Committed
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.