group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #08790
[Bug 1640109] Re: hv_set_ifconfig script parsing fails for certain configuration
** Also affects: linux (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Zesty)
Importance: Undecided
Status: Confirmed
** Also affects: linux (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu Yakkety)
Status: New => Confirmed
** Changed in: linux (Ubuntu Xenial)
Status: New => Confirmed
** Changed in: linux (Ubuntu Zesty)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Yakkety)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Xenial)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Zesty)
Assignee: (unassigned) => Andy Whitcroft (apw)
** Changed in: linux (Ubuntu Yakkety)
Assignee: (unassigned) => Andy Whitcroft (apw)
** Changed in: linux (Ubuntu Xenial)
Assignee: (unassigned) => Andy Whitcroft (apw)
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1640109
Title:
hv_set_ifconfig script parsing fails for certain configuration
Status in linux package in Ubuntu:
Confirmed
Status in linux source package in Xenial:
Confirmed
Status in linux source package in Yakkety:
Confirmed
Status in linux source package in Zesty:
Confirmed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1640109/+subscriptions