kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #79023
[Bug 1360580] Re: [Hyper-V] IP injection does not occur on Ubuntu 14.10
The IP injection issue on 14.10 is resolved as tested successfully using
the daily build from Sept 2nd.
There is one small glitch in how hv_set_ifconfig runs, as after several
runs it keeps adding the line “# The following stanza(s) added by
hv_set_ifconfig” for every pass.
This is the setip execution output:
PS C:\Users\Administrator\Desktop> .\setip.ps1
-------------------------------------------------------------------------
SetGuestNetworkAdapterConfiguration
-------------------------------------------------------------------------
Msvm_GuestNetworkAdapterConfiguration before update .. please make sure
that VM is running ...
IPAddresses: : {10.100.20.108, fe80::215:5dff:fe01:6c76}
ProtocolIFType: : 4098
DHCPEnabled: : True
InstanceID: : Microsoft:GuestNetwork\9ADF60A7-E268-4039-88B0-372D3F2703D1\1A2B0CAB-5074-4551-88A8-EE39EC094A26
Subnets: : {255.255.255.0, /64}
DNSServers: : {8.8.8.8}
DefaultGateways: : {10.100.20.1}
SetGuestNetworkAdapterConfiguration
SetGuestNetworkAdapterConfiguration success.
Msvm_GuestNetworkAdapterConfiguration After update .. please make sure VM is running ...
IPAddresses: : {10.100.20.208, fe80::215:5dff:fe01:6c76}
ProtocolIFType: : 4098
DHCPEnabled: : False
InstanceID: : Microsoft:GuestNetwork\9ADF60A7-E268-4039-88B0-372D3F2703D1\1A2B0CAB-5074-4551-88A8-EE39EC094A26
Subnets: : {255.0.0.0, /64}
DNSServers: : {8.8.8.8, 8.8.4.4}
DefaultGateways: : {10.100.20.1}
Sample interfaces file content after running the script 3 times:
root@ubuntu1410:~# 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
# The following stanza(s) added by hv_set_ifconfig
# The following stanza(s) added by hv_set_ifconfig
# The following stanza(s) added by hv_set_ifconfig
auto eth0
iface eth0 inet static
address 10.100.20.108
gateway 10.100.20.1
dns-nameservers 8.8.4.4
#End of hv_set_ifconfig stanzas
--
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/1360580
Title:
[Hyper-V] IP injection does not occur on Ubuntu 14.10
Status in “linux” package in Ubuntu:
In Progress
Status in “linux” source package in Utopic:
In Progress
Bug description:
System details:
Linux ubuntu 3.16.0-9-generic #14-Ubuntu SMP Fri Aug 15 15:03:57 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu Server 14.10 Daily build from 19th Aug (first build picked up for testing)
Ubuntu 3.16.0-9.14-generic 3.16.1
IP injection is not working in 14.10 and no changes have been made on
the LIS side. There are also no logged error messages to identify the
issue. IP injection has been fixed and was working in previous
releases.
Repro steps:
1) Create an Ubuntu 14.10 VM in a HA cluster Hyper-V environment.
2) Attach a synthetic NIC and set it with DHCP mode. Other test was
done with a statically assigned IP.
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
3) Enable Replication.
4) Set Failover IP settings like for eg:
Set-VMNetworkAdapterFailoverConfiguration -ComputerName $computerName -VMName $vmname -IPv4Address 192.168.100.10 -IPv4SubnetMask 255.255.0.0 -IPv4PreferredDNSServer 192.168.100.101 -IPv4DefaultGateway 192.168.100.1
5) Simulating the IP injection shows the following behavior:
a. /etc/network/interfaces remains unchanged.
b. no messages/errors are recorded in dmesg.
The testing script used shows that the IP remains the same:
IPAddresses: : {192.168.100.107, 2001:4898:e0:f35b:215:5dff:fe3b:7210, fe80::215:5dff:fe3b:7210}
ProtocolIFType: : 4098
DHCPEnabled: : True
InstanceID: : Microsoft:GuestNetwork\6EBA4425-BB01-4BDE-A1FC-403389B9B6DC\0CBB124B-3102-4473-A3BD-8FF02B5879F2
Subnets: : {255.255.254.0, /64, /64}
DNSServers: : {8.8.4.4, OTHER DNS}
DefaultGateways: : {192.168.100.1, fe80::c262:6bff:feb0:9ddf, fe80::c262:6bff:feb1:6217}
SetGuestNetworkAdapterConfiguration
Msvm_GuestNetworkAdapterConfiguration After update .. please make sure VM is running ...
IPAddresses: : {192.168.100.107, 2001:4898:e0:f35b:215:5dff:fe3b:7210, fe80::215:5dff:fe3b:7210}
ProtocolIFType: : 4098
DHCPEnabled: : True
InstanceID: : Microsoft:GuestNetwork\6EBA4425-BB01-4BDE-A1FC-403389B9B6DC\0CBB124B-3102-4473-A3BD-8FF02B5879F2
Subnets: : {255.255.254.0, /64, /64}
DNSServers: : {same as above}
DefaultGateways: : {192.168.100.1, fe80::c262:6bff:feb0:9ddf, fe80::c262:6bff:feb1:6217}
---
ApportVersion: 2.14.6-0ubuntu1
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=/dev/mapper/ubuntu--vg-swap_1
InstallationDate: Installed on 2014-08-19 (3 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Alpha amd64 (20140819)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
virbr0 no wireless extensions.
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: Microsoft Corporation Virtual Machine
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 hyperv_fb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-9-generic root=/dev/mapper/hostname--vg-root ro crashkernel=128M@64M
ProcVersionSignature: Ubuntu 3.16.0-9.14-generic 3.16.1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.16.0-9-generic N/A
linux-backports-modules-3.16.0-9-generic N/A
linux-firmware 1.132
RfKill:
Tags: utopic
Uname: Linux 3.16.0-9-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 05/23/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 090006
dmi.board.name: Virtual Machine
dmi.board.vendor: Microsoft Corporation
dmi.board.version: 7.0
dmi.chassis.asset.tag: 1037-8395-2404-3263-1476-7555-72
dmi.chassis.type: 3
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.version: 7.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr090006:bd05/23/2012:svnMicrosoftCorporation:pnVirtualMachine:pvr7.0:rvnMicrosoftCorporation:rnVirtualMachine:rvr7.0:cvnMicrosoftCorporation:ct3:cvr7.0:
dmi.product.name: Virtual Machine
dmi.product.version: 7.0
dmi.sys.vendor: Microsoft Corporation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1360580/+subscriptions
References