incubator-cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sheng Yang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-1488) Ipv6 - When Vm is deployed as part of multiple networks, one of the IPV6 address assigned to guest VM is lost.
Date Wed, 06 Mar 2013 23:04:15 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sheng Yang resolved CLOUDSTACK-1488.
------------------------------------

    Resolution: Won't Fix

It's guest OS issue.

The dhclient of guest OS failed to renew the IP. In any case, dhcp server of cloudstack already
return the correct lifetime.

Here is the tcpdump:

22:55:34.950274 IP6 (hlim 1, next-header UDP (17) payload length: 101) fe80::422:b4ff:fe00:30.dhcpv6-client
> ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 confirm (xid=110b55 (client-ID hwaddr type
1 0622b4000030) (option-request DNS-name Client-FQDN DNS NTP-Server) (elapsed-time 0) (Client-FQDN)
(IA_NA IAID:3019898928 T1:0 T2:0 (IA_ADDR sc1 pltime:0 vltime:0) (opt_0) (opt_0) (opt_0)))
22:55:34.950496 IP6 (class 0xc0, hlim 64, next-header UDP (17) payload length: 64) fe80::466:16ff:fe00:2f.dhcpv6-server
> fe80::422:b4ff:fe00:30.dhcpv6-client: [udp sum ok] dhcp6 reply (xid=110b55 (client-ID
hwaddr type 1 0622b4000030) (server-ID hwaddr/time type 1 time 415925073 06661600002f) (status-code
not on-link))
22:55:35.622167 IP6 (hlim 1, next-header UDP (17) payload length: 73) fe80::422:b4ff:fe00:30.dhcpv6-client
> ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=a4ecfc (client-ID hwaddr type
1 0622b4000030) (option-request DNS-name Client-FQDN DNS NTP-Server) (elapsed-time 0) (Client-FQDN)
(IA_NA IAID:3019898928 T1:3600 T2:5400))
22:55:35.622403 IP6 (class 0xc0, hlim 64, next-header UDP (17) payload length: 198) fe80::466:16ff:fe00:2f.dhcpv6-server
> fe80::422:b4ff:fe00:30.dhcpv6-client: [udp sum ok] dhcp6 advertise (xid=a4ecfc (client-ID
hwaddr type 1 0622b4000030) (server-ID hwaddr/time type 1 time 415925073 06661600002f) (IA_NA
IAID:3019898928 T1:4294967295 T2:4294967295 (IA_ADDR sc1 pltime:4294967295 vltime:4294967295)
(status-code success) (preference 0)[|dhcp6ext]) (preference 0) (DNS r-4-VM 2001:4860:4860::8888
2001:4860:4860::8844) (Client-FQDN))
22:55:36.673519 IP6 (hlim 1, next-header UDP (17) payload length: 119) fe80::422:b4ff:fe00:30.dhcpv6-client
> ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 request (xid=7e70d3 (client-ID hwaddr type
1 0622b4000030) (server-ID hwaddr/time type 1 time 415925073 06661600002f) (option-request
DNS-name Client-FQDN DNS NTP-Server) (elapsed-time 0) (Client-FQDN) (IA_NA IAID:3019898928
T1:3600 T2:5400 (IA_ADDR sc1 pltime:7200 vltime:7500) (opt_0) (opt_0) (opt_0)))
22:55:36.673699 IP6 (class 0xc0, hlim 64, next-header UDP (17) payload length: 198) fe80::466:16ff:fe00:2f.dhcpv6-server
> fe80::422:b4ff:fe00:30.dhcpv6-client: [udp sum ok] dhcp6 reply (xid=7e70d3 (client-ID
hwaddr type 1 0622b4000030) (server-ID hwaddr/time type 1 time 415925073 06661600002f) (IA_NA
IAID:3019898928 T1:3600 T2:6300 (IA_ADDR sc1 pltime:7200 vltime:7200) (status-code success)
(preference 0)[|dhcp6ext]) (preference 0) (DNS r-4-VM 2001:4860:4860::8888 2001:4860:4860::8844)
(Client-FQDN))
22:55:36.692116 IP6 (hlim 1, next-header Options (0) payload length: 56) fe80::422:b4ff:fe00:30
> ff02::16: HBH (rtalert: 0x0000) (padn)[icmp6 sum ok] ICMP6, multicast listener report
v2, length 48, 2 group record(s) [gaddr ff02::1:ff14:9a to_ex { }] [gaddr ff02::1:ff00:30
to_ex { }]
22:55:37.140270 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ff14:9a:
[icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has sc1


You can see that dhcp-server can provide infinite lifetime:

> (IA_ADDR sc1 pltime:4294967295 vltime:4294967295) 

But dhcp-client ask for only 7200:

> (IA_ADDR sc1 pltime:7200 vltime:7500) 

Then dhcp-server approve it.

If dhclient itself fail to renew the lease, nothing dhcp-server can do about it. From your
log you can see that dhcp-server didn't receive any renew request later.
                
> Ipv6 - When Vm is deployed as part of multiple networks, 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

Mime
View raw message