You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Dag Sonstebo (JIRA)" <ji...@apache.org> on 2017/11/30 19:19:00 UTC
[jira] [Updated] (CLOUDSTACK-10168) VR does not housekeep DNS
entries, allowing for duplicates
[ https://issues.apache.org/jira/browse/CLOUDSTACK-10168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dag Sonstebo updated CLOUDSTACK-10168:
--------------------------------------
Description:
Steps to recreate:
* Create VM on isolated network.
* Delete the VM
* Create a new VM with same name.
Result:
* DNS entries are not housekept, allowing for multiples.
* Name resolution also returns multiple entries.
* /etc/hosts:
{code}
root@r-15-VM:~# cat /etc/hosts
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
10.1.1.230 R4VM1
10.1.1.208 R4VM2
::1 localhost ip6-localhost ip6-loopback
10.1.1.166 R4VM2
10.1.1.1 r-15-VM data-server
10.1.1.24 R4VM2
10.1.1.221 R4VM2
127.0.0.1 localhost r-15-VM
{code}
* Name resolving the R4VM2 name:
{code}
[root@R4VM1 ~]# nslookup r4vm2
Server: 10.1.1.1
Address: 10.1.1.1#53
Name: r4vm2.cs2cloud.internal
Address: 10.1.1.221
Name: r4vm2.cs2cloud.internal
Address: 10.1.1.208
Name: r4vm2.cs2cloud.internal
Address: 10.1.1.166
Name: r4vm2.cs2cloud.internal
Address: 10.1.1.24
{code}
was:
Steps to recreate:
* Create VM on isolated network.
* Delete the VM
* Create a new VM with same name.
Result:
* DNS entries are not housekept, allowing for multiples.
* Name resolution also returns multiple entries.
* /etc/hosts:
<code>
root@r-15-VM:~# cat /etc/hosts
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
10.1.1.230 R4VM1
10.1.1.208 R4VM2
::1 localhost ip6-localhost ip6-loopback
10.1.1.166 R4VM2
10.1.1.1 r-15-VM data-server
10.1.1.24 R4VM2
10.1.1.221 R4VM2
127.0.0.1 localhost r-15-VM
<code>
* Name resolving the R4VM2 name:
<code>
[root@R4VM1 ~]# nslookup r4vm2
Server: 10.1.1.1
Address: 10.1.1.1#53
Name: r4vm2.cs2cloud.internal
Address: 10.1.1.221
Name: r4vm2.cs2cloud.internal
Address: 10.1.1.208
Name: r4vm2.cs2cloud.internal
Address: 10.1.1.166
Name: r4vm2.cs2cloud.internal
Address: 10.1.1.24
<code>
> VR does not housekeep DNS entries, allowing for duplicates
> ----------------------------------------------------------
>
> Key: CLOUDSTACK-10168
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10168
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Affects Versions: 4.9.3.0
> Environment: * ACS4.9.3 / CentOS7
> * KVM / ACS 4.9.3 / CentOS7
> * Isolated networks
> Reporter: Dag Sonstebo
>
> Steps to recreate:
> * Create VM on isolated network.
> * Delete the VM
> * Create a new VM with same name.
> Result:
> * DNS entries are not housekept, allowing for multiples.
> * Name resolution also returns multiple entries.
> * /etc/hosts:
> {code}
> root@r-15-VM:~# cat /etc/hosts
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> 10.1.1.230 R4VM1
> 10.1.1.208 R4VM2
> ::1 localhost ip6-localhost ip6-loopback
> 10.1.1.166 R4VM2
> 10.1.1.1 r-15-VM data-server
> 10.1.1.24 R4VM2
> 10.1.1.221 R4VM2
> 127.0.0.1 localhost r-15-VM
> {code}
> * Name resolving the R4VM2 name:
> {code}
> [root@R4VM1 ~]# nslookup r4vm2
> Server: 10.1.1.1
> Address: 10.1.1.1#53
>
> Name: r4vm2.cs2cloud.internal
> Address: 10.1.1.221
> Name: r4vm2.cs2cloud.internal
> Address: 10.1.1.208
> Name: r4vm2.cs2cloud.internal
> Address: 10.1.1.166
> Name: r4vm2.cs2cloud.internal
> Address: 10.1.1.24
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)