Sangeetha Hariharan created CLOUDSTACK-1488: -----------------------------------------------
Summary: Ipv6 - When Vm is deployed as part of multiple networks, sometimes one of the IPV6 address assigned to guest VM is lost. Key: CLOUDSTACK-1488 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1488 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Management Server Affects Versions: 4.1.0 Environment: Latest build from networkrefactor branch Reporter: Sangeetha Hariharan Assignee: Sheng Yang Fix For: 4.1.0 Ipv6 - When Vm is deployed as part of multiple networks, sometimes one of the IPV6 address assigned to guest VM is lost. I have a Vm that is part of a dual network and ipv6 network. I had IPV6 addresses assigned to eth0 and eth1 network. After about 2 hours , when i logged in to the same Vm , I see that the ipv6 address of eth0 is lost. At 3:30 pm sangeetha@ubuntu-123:~$ ifconfig eth0 Link encap:Ethernet HWaddr 06:b0:14:00:00:52 inet addr:10.223.137.75 Bcast:10.223.137.127 Mask:255.255.255.192 inet6 addr: fc00:3:1371:0:2f17:d569:ae3b:c143/64 Scope:Global inet6 addr: fe80::4b0:14ff:fe00:52/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1704 errors:0 dropped:0 overruns:0 frame:0 TX packets:1158 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:170363 (170.3 KB) TX bytes:182254 (182.2 KB) eth1 Link encap:Ethernet HWaddr 06:d3:f8:00:00:a1 inet6 addr: fc00:3:1382:0:39b3:993a:bb4b:926/64 Scope:Global inet6 addr: fe80::4d3:f8ff:fe00:a1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1430 errors:0 dropped:0 overruns:0 frame:0 TX packets:437 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:354316 (354.3 KB) TX bytes:118971 (118.9 KB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) sangeetha@ubuntu-123:~$ ls tam-dual-ipv6-2 sangeetha@ubuntu-123:~$ sangeetha@ubuntu-123:/var/lib/dhcp$ cat dhclient6.leases default-duid "\000\001\000\001\030\304\212S\006\206@\000\000\032"; lease6 { interface "eth1"; ia-na 40:00:00:1a { starts 1362218453; renew 3600; rebind 6300; iaaddr fc00:3:1370:0:258e:36dd:15d6:8da5 { starts 1362218453; preferred-life 7200; max-life 7200; } option dhcp6.status-code success "Oh hai from dnsmasq"; } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "san890.hello1370"; option fqdn.hostname "san890"; option fqdn.domainname ".hello1370"; option dhcp6.client-id 0:3:0:1:6:86:40:0:0:1a; option dhcp6.server-id 0:1:0:1:18:c4:89:36:6:7b:92:0:0:13; option dhcp6.name-servers fc00:3:1370:0:a659:ce38:85fe:a024; } lease6 { interface "eth0"; ia-na d2:00:00:55 { starts 1362218907; renew 3600; rebind 6300; iaaddr fc00:3:1371:0:344e:a3b1:d5a0:2586 { starts 1362218907; preferred-life 7200; max-life 7200; } option dhcp6.status-code success "Oh hai from dnsmasq"; } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "san890.hello1371"; option fqdn.hostname "san890"; option fqdn.domainname ".hello1371"; option dhcp6.client-id 0:3:0:1:6:90:d2:0:0:55; option dhcp6.server-id 0:1:0:1:18:c4:89:33:6:4f:42:0:0:49; option dhcp6.name-servers fc00:3:1371:0:6a19:fed0:1932:3626; ===================== At ~6:45 --> when i logged into this Vm , i see the ipv6 address is lost sangeetha@ubuntu-123:~$ ifconfig eth0 Link encap:Ethernet HWaddr 06:b0:14:00:00:52 inet addr:10.223.137.75 Bcast:10.223.137.127 Mask:255.255.255.192 inet6 addr: fe80::4b0:14ff:fe00:52/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2612 errors:0 dropped:0 overruns:0 frame:0 TX packets:2154 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:260929 (260.9 KB) TX bytes:364635 (364.6 KB) eth1 Link encap:Ethernet HWaddr 06:d3:f8:00:00:a1 inet6 addr: fc00:3:1382:0:39b3:993a:bb4b:926/64 Scope:Global inet6 addr: fe80::4d3:f8ff:fe00:a1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2799 errors:0 dropped:0 overruns:0 frame:0 TX packets:621 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:605875 (605.8 KB) TX bytes:175024 (175.0 KB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ==================== sangeetha@ubuntu-123:/var/lib/dhcp$ cat dhclient6.leases default-duid "\000\001\000\001\030\304=\343\006\260\024\000\000R"; lease6 { interface "eth0"; ia-na 14:00:00:52 { starts 1362206090; renew 3600; rebind 6300; iaaddr fc00:3:1371:0:2f17:d569:ae3b:c143 { starts 1362206090; preferred-life 7200; max-life 7200; } option dhcp6.status-code success "Oh hai from dnsmasq"; } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2.hello1371"; option fqdn.hostname "tam-dual-ipv6-2"; option fqdn.domainname ".hello1371"; option dhcp6.client-id 0:3:0:1:6:b0:14:0:0:52; option dhcp6.server-id 0:1:0:1:18:c4:15:40:6:4f:42:0:0:49; option dhcp6.name-servers fc00:3:1371:0:6a19:fed0:1932:3626; } lease6 { interface "eth1"; ia-na f8:00:00:a1 { starts 1362209622; renew 3600; rebind 6300; iaaddr fc00:3:1382:0:39b3:993a:bb4b:926 { starts 1362209622; preferred-life 7200; max-life 7200; } option dhcp6.status-code success "Oh hai from dnsmasq"; } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2.hello1382"; option fqdn.hostname "tam-dual-ipv6-2"; option fqdn.domainname ".hello1382"; option dhcp6.client-id 0:3:0:1:6:d3:f8:0:0:a1; option dhcp6.server-id 0:1:0:1:18:c4:15:42:6:48:88:0:0:83; option dhcp6.name-servers fc00:3:1382:0:ff2b:1c9e:278c:48c7; } lease6 { interface "eth1"; ia-na f8:00:00:a1 { starts 1362213222; renew 4294967295; rebind 4294967295; iaaddr fc00:3:1382:0:39b3:993a:bb4b:926 { starts 1362213222; preferred-life 0; max-life 0; } } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2"; option fqdn.hostname "tam-dual-ipv6-2"; option dhcp6.client-id 0:3:0:1:6:d3:f8:0:0:a1; option dhcp6.server-id 0:1:0:1:18:c4:15:42:6:48:88:0:0:83; option dhcp6.name-servers fc00:3:1382:0:ff2b:1c9e:278c:48c7; } lease6 { interface "eth1"; ia-na f8:00:00:a1 { starts 1362213224; renew 3600; rebind 6300; iaaddr fc00:3:1382:0:39b3:993a:bb4b:926 { starts 1362213224; preferred-life 7200; max-life 7200; } option dhcp6.status-code success "Oh hai from dnsmasq"; } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2.hello1382"; option fqdn.hostname "tam-dual-ipv6-2"; option fqdn.domainname ".hello1382"; option dhcp6.client-id 0:3:0:1:6:d3:f8:0:0:a1; option dhcp6.server-id 0:1:0:1:18:c4:15:42:6:48:88:0:0:83; option dhcp6.name-servers fc00:3:1382:0:ff2b:1c9e:278c:48c7; } lease6 { interface "eth1"; ia-na f8:00:00:a1 { starts 1362216824; renew 4294967295; rebind 4294967295; iaaddr fc00:3:1382:0:39b3:993a:bb4b:926 { starts 1362216824; preferred-life 0; max-life 0; } } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2"; option fqdn.hostname "tam-dual-ipv6-2"; option dhcp6.client-id 0:3:0:1:6:d3:f8:0:0:a1; option dhcp6.server-id 0:1:0:1:18:c4:15:42:6:48:88:0:0:83; option dhcp6.name-servers fc00:3:1382:0:ff2b:1c9e:278c:48c7; } lease6 { interface "eth1"; ia-na f8:00:00:a1 { starts 1362216826; renew 3600; rebind 6300; iaaddr fc00:3:1382:0:39b3:993a:bb4b:926 { starts 1362216826; preferred-life 7200; max-life 7200; } option dhcp6.status-code success "Oh hai from dnsmasq"; } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2.hello1382"; option fqdn.hostname "tam-dual-ipv6-2"; option fqdn.domainname ".hello1382"; option dhcp6.client-id 0:3:0:1:6:d3:f8:0:0:a1; option dhcp6.server-id 0:1:0:1:18:c4:15:42:6:48:88:0:0:83; option dhcp6.name-servers fc00:3:1382:0:ff2b:1c9e:278c:48c7; } lease6 { interface "eth1"; ia-na f8:00:00:a1 { starts 1362220426; renew 4294967295; rebind 4294967295; iaaddr fc00:3:1382:0:39b3:993a:bb4b:926 { starts 1362220426; preferred-life 0; max-life 0; } } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2"; option fqdn.hostname "tam-dual-ipv6-2"; option dhcp6.client-id 0:3:0:1:6:d3:f8:0:0:a1; option dhcp6.server-id 0:1:0:1:18:c4:15:42:6:48:88:0:0:83; option dhcp6.name-servers fc00:3:1382:0:ff2b:1c9e:278c:48c7; } lease6 { interface "eth1"; ia-na f8:00:00:a1 { starts 1362220429; renew 3600; rebind 6300; iaaddr fc00:3:1382:0:39b3:993a:bb4b:926 { starts 1362220429; preferred-life 7200; max-life 7200; } option dhcp6.status-code success "Oh hai from dnsmasq"; } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2.hello1382"; option fqdn.hostname "tam-dual-ipv6-2"; option fqdn.domainname ".hello1382"; option dhcp6.client-id 0:3:0:1:6:d3:f8:0:0:a1; option dhcp6.server-id 0:1:0:1:18:c4:15:42:6:48:88:0:0:83; option dhcp6.name-servers fc00:3:1382:0:ff2b:1c9e:278c:48c7; } ============================= sangeetha@ubuntu-123:/var/lib/dhcp$ cat dhclient6.eth0.leases default-duid "\000\001\000\001\030\301\343V\006\373\320\000\000("; lease6 { interface "eth0"; ia-na 14:00:00:52 { starts 1362188577; renew 3600; rebind 6300; iaaddr fc00:3:1371:0:2f17:d569:ae3b:c143 { starts 1362188577; preferred-life 7200; max-life 7200; } option dhcp6.status-code success "Oh hai from dnsmasq"; } option fqdn.encoded true; option fqdn.server-update true; option fqdn.no-client-update true; option fqdn.fqdn "tam-dual-ipv6-2.hello1371"; option fqdn.hostname "tam-dual-ipv6-2"; option fqdn.domainname ".hello1371"; option dhcp6.client-id 0:3:0:1:6:b0:14:0:0:52; option dhcp6.server-id 0:1:0:1:18:c4:15:40:6:4f:42:0:0:49; option dhcp6.name-servers fc00:3:1371:0:6a19:fed0:1932:3626; } sangeetha@ubuntu-123:/var/lib/dhcp$ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira