kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #56992
[Bug 1311070] Re: hyper-v:IP Injection on Ubuntu 13.10 guest during Failover and Test Failover is corrupting the existing entries
Marked several bugs as duplicates. Please do not file multiple bugs for
the same issue, as it add confusion to the issue at hand.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1311070
Title:
hyper-v:IP Injection on Ubuntu 13.10 guest during Failover and Test
Failover is corrupting the existing entries
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
[HyperV Replica :: http://technet.microsoft.com/en-us/library/jj134172.aspx]
[Guest IP Injection :: http://blogs.technet.com/b/virtualization/archive/2012/05/29/inject-ip-address-into-the-vm-during-failover.aspx]
hv_set_ifconfig script is corrupting the last entry inside
/etc/network/interfaces.
It is creating 2 entries for eth1 Leading to failure of IP Injection.
1) Create Ubuntu 13.10 virtual machine.
2) Attach network adapters 'Network Adapter' and 'Adapter2' on primary and configured via DHCP.
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
3) Enable Replication.
4) Set Failover IP settings on second adapter (Adapter2)
Set-VMNetworkAdapterFailoverConfiguration -ComputerName $computerName -VMName $vmname -IPv4Address 192.168.100.10 -IPv4SubnetMask 255.255.0.0 -IPv4PreferredDNSServer 192.168.100.101 -IPv4AlternateDNSServer 192.168.100.102 -IPv4DefaultGateway 192.168.100.1 -VMNetworkAdapterName 'Adapter2'
5) Do Failover
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
iface eth1 inet dhcp
# The following stanza(s) added by hv_set_ifconfig
auto eth1
iface eth1 inet static
address 192.168.100.10
netmask 255.255.0.0
gateway 192.168.100.1
dns-nameservers 192.168.100.101 192.168.100.102
#End of hv_set_ifconfig stanzas
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1311070/+subscriptions
References