Hi all,

I am using OpenContrail R3.2. I am trying to create a setup with a tenant VM 
which uses DNS in tenant mode. I have read in Contrail-feature-guide about 
configuring DNS tenant mode and below are my steps:


1.       I know that I have to associate IPAM with tenant DNS. Because default 
IPAM does not appear in IP Address Management tab, I have created an IPAM named 
"myipam".
"myipam" has "Tenant DNS" method and Tenant DNS Server IPs "8.8.8.8" in IPAM 
tab.
"myipam" has "Read", "Write", "Refer" as Owner and Global Share permissions. 
Also, in "Share list", I have selected "admin" project with "Read", "Write", 
"Refer" permissions.


2.       Afterwards, I have created a network named "mynetwork" and I tried to 
assign a subnet to this network.

In "Edit Network" window, in "Subnets" field, I have selected "myipam", added 
CIDR and Allocation Pool, checked DNS and DHCP and hit "Save".



3.       Then I have opened again "Edit Network" window, for "mynetwork".  In 
"Subnets" field, IPAM was changed to "default-ipam" instead of "myipam". IPAM 
drop-down list is deactivated (so I cannot choose again "myipam").

I have modified CIDR, Allocation Pool, DNS, DHCP saved "Edit Network" and 
reopened it but I got the same result.

I have booted a VM using nova boot and as I expected, in /etc/resolv.conf was 
not the DNS server I have configured in "myipam".

Can you please let me know how can I configure DNS in tenant mode?

Thanks,
Anda

_______________________________________________
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to