2016-11-08 10:10:09 |
Yonatan Amir |
bug |
|
|
added bug |
2016-11-08 10:10:09 |
Yonatan Amir |
attachment added |
|
Report.patch https://bugs.launchpad.net/bugs/1640109/+attachment/4774357/+files/Report.patch |
|
2016-11-08 10:25:48 |
Yonatan Amir |
description |
When trying to configure DHCP with no IPv6 addresses, a configuration file similar to the following is generated:
HWADDR=XX:YY:ZZ
DEVICE=eth0
BOOTPROTO=dhcp
When running the hv_set_ifconfig script with this script as an argument, it fails with the following stderr (stderr is muted, the script must be edited to retrieve this information, so the line number is offset):
File "hv_set_ifconfig", line 171, in <module>
output = ["auto "+" ".join(autolist)] + output
NameError: name 'autolist' is not defined
Editing the script so that autolist is defined in all flows resolves the issue and the script successfully sets the interface to use DHCP
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-cloud-tools-virtual 4.4.0.45.48
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
AlsaDevices:
total 0
crw-rw----+ 1 root audio 116, 1 Nov 7 16:50 seq
crw-rw----+ 1 root audio 116, 33 Nov 7 16:50 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Mon Nov 7 17:21:05 2016
HibernationDevice: RESUME=UUID=c9cdd190-7007-4e48-9833-1790d9a80017
InstallationDate: Installed on 2016-10-13 (25 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Microsoft Corporation Virtual Machine
PciMultimedia:
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SHELL=/bin/bash
ProcFB: 0 hyperv_fb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-45-generic root=UUID=fa675999-88b8-495e-9153-3621a2b3dce1 ro
RelatedPackageVersions:
linux-restricted-modules-4.4.0-45-generic N/A
linux-backports-modules-4.4.0-45-generic N/A
linux-firmware 1.157.4
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
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: 1923-5120-7734-2680-0264-8714-27
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 |
When trying to configure a virtual NIC to DHCP with no IPv6 addresses using Hyper-V's integration services, a configuration file similar to the following is generated:
HWADDR=XX:YY:ZZ
DEVICE=eth0
BOOTPROTO=dhcp
When running the hv_set_ifconfig script with this script as an argument (executed by IS, most likely the KVP daemon; I ran it manually in order to debug), it fails with the following stderr (stderr is muted, the script must be edited to retrieve this information, so the line number is offset):
File "hv_set_ifconfig", line 171, in <module>
output = ["auto "+" ".join(autolist)] + output
NameError: name 'autolist' is not defined
Editing the script so that autolist is defined in all flows resolves the issue and the script successfully sets the interface to use DHCP
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-cloud-tools-virtual 4.4.0.45.48
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
AlsaDevices:
total 0
crw-rw----+ 1 root audio 116, 1 Nov 7 16:50 seq
crw-rw----+ 1 root audio 116, 33 Nov 7 16:50 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Mon Nov 7 17:21:05 2016
HibernationDevice: RESUME=UUID=c9cdd190-7007-4e48-9833-1790d9a80017
InstallationDate: Installed on 2016-10-13 (25 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Microsoft Corporation Virtual Machine
PciMultimedia:
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SHELL=/bin/bash
ProcFB: 0 hyperv_fb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-45-generic root=UUID=fa675999-88b8-495e-9153-3621a2b3dce1 ro
RelatedPackageVersions:
linux-restricted-modules-4.4.0-45-generic N/A
linux-backports-modules-4.4.0-45-generic N/A
linux-firmware 1.157.4
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
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: 1923-5120-7734-2680-0264-8714-27
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 |
|
2016-11-08 10:26:48 |
Yonatan Amir |
tags |
amd64 apport-bug xenial |
amd64 apport-bug hyperv xenial |
|
2016-11-08 10:27:56 |
Yonatan Amir |
tags |
amd64 apport-bug hyperv xenial |
amd64 apport-bug hyper-v hyperv xenial |
|
2016-11-08 10:30:12 |
Brad Figg |
linux (Ubuntu): status |
New |
Confirmed |
|
2016-11-08 12:29:29 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug hyper-v hyperv xenial |
amd64 apport-bug hyper-v hyperv patch xenial |
|
2016-11-08 12:29:31 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Joseph Salisbury |
2016-11-09 08:47:19 |
Andy Whitcroft |
nominated for series |
|
Ubuntu Xenial |
|
2016-11-09 08:47:19 |
Andy Whitcroft |
bug task added |
|
linux (Ubuntu Xenial) |
|
2016-11-09 08:47:19 |
Andy Whitcroft |
nominated for series |
|
Ubuntu Zesty |
|
2016-11-09 08:47:19 |
Andy Whitcroft |
bug task added |
|
linux (Ubuntu Zesty) |
|
2016-11-09 08:47:19 |
Andy Whitcroft |
nominated for series |
|
Ubuntu Yakkety |
|
2016-11-09 08:47:19 |
Andy Whitcroft |
bug task added |
|
linux (Ubuntu Yakkety) |
|
2016-11-09 08:47:30 |
Andy Whitcroft |
linux (Ubuntu Yakkety): status |
New |
Confirmed |
|
2016-11-09 08:47:34 |
Andy Whitcroft |
linux (Ubuntu Xenial): status |
New |
Confirmed |
|
2016-11-09 08:47:38 |
Andy Whitcroft |
linux (Ubuntu Zesty): importance |
Undecided |
Medium |
|
2016-11-09 08:47:41 |
Andy Whitcroft |
linux (Ubuntu Yakkety): importance |
Undecided |
Medium |
|
2016-11-09 08:47:44 |
Andy Whitcroft |
linux (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2016-11-09 08:47:47 |
Andy Whitcroft |
linux (Ubuntu Zesty): assignee |
|
Andy Whitcroft (apw) |
|
2016-11-09 08:47:49 |
Andy Whitcroft |
linux (Ubuntu Yakkety): assignee |
|
Andy Whitcroft (apw) |
|
2016-11-09 08:47:52 |
Andy Whitcroft |
linux (Ubuntu Xenial): assignee |
|
Andy Whitcroft (apw) |
|
2016-11-14 11:45:40 |
Luis Henriques |
linux (Ubuntu Yakkety): status |
Confirmed |
Fix Committed |
|
2016-11-14 11:45:44 |
Luis Henriques |
linux (Ubuntu Xenial): status |
Confirmed |
Fix Committed |
|
2016-12-09 16:09:24 |
Brad Figg |
tags |
amd64 apport-bug hyper-v hyperv patch xenial |
amd64 apport-bug hyper-v hyperv patch verification-needed-yakkety xenial |
|
2016-12-14 11:35:20 |
Luis Henriques |
tags |
amd64 apport-bug hyper-v hyperv patch verification-needed-yakkety xenial |
amd64 apport-bug hyper-v hyperv patch verification-needed-xenial verification-needed-yakkety xenial |
|
2016-12-20 18:52:13 |
Launchpad Janitor |
linux (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2016-12-20 18:52:13 |
Launchpad Janitor |
cve linked |
|
2016-4568 |
|
2016-12-20 18:52:13 |
Launchpad Janitor |
cve linked |
|
2016-6213 |
|
2016-12-20 18:52:13 |
Launchpad Janitor |
cve linked |
|
2016-7039 |
|
2016-12-20 18:52:13 |
Launchpad Janitor |
cve linked |
|
2016-8630 |
|
2016-12-20 18:52:13 |
Launchpad Janitor |
cve linked |
|
2016-8666 |
|
2016-12-20 18:54:31 |
Launchpad Janitor |
linux (Ubuntu Yakkety): status |
Fix Committed |
Fix Released |
|
2017-03-24 21:46:58 |
Launchpad Janitor |
linux (Ubuntu Zesty): status |
Confirmed |
Fix Released |
|