kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #140135
[Bug 1506521] [NEW] [Hyper-V] hv_set_ifconfig issues on Wily 15.10
Public bug reported:
Hello,
It seems that during the Wily development, some changes have occurred that broke the hv_set_ifconfig script.
Please see the below details and update the script accordingly.
>From my understanding the changes in python versioning on 15.10 are causing this, and when running hv_set_ifconfig with Python v3, it will give some code errors.
This has been verified with the daily build from Oct 12, kernel
4.2.0-16-generic and the matching linux-cloud-tools/common are
installed.
# whereis hv_set_ifconfig
hv_set_ifconfig: /usr/sbin/hv_set_ifconfig
# /usr/sbin/hv_set_ifconfig
/usr/bin/env: python: No such file or directory
Indeed there is no python executable by default, only python3.
Modifying the header for hv_set_ifconfig to use python3, returns the
below:
~# /usr/sbin/hv_set_ifconfig
File "/usr/sbin/hv_set_ifconfig", line 130
print "==================================="
^
SyntaxError: Missing parentheses in call to 'print'
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: hyper-v
** Description changed:
Hello,
It seems that during the Wily development, some changes have occurred that broke the hv_set_ifconfig script.
Please see the below details and update the script accordingly.
From my understanding the changes in python versioning on 15.10 are causing this, and when running hv_set_ifconfig with Python v3, it will give some code errors.
+
+ This has been verified with the daily build from Oct 12, kernel
+ 4.2.0-16-generic and the matching linux-cloud-tools/common are
+ installed.
# whereis hv_set_ifconfig
hv_set_ifconfig: /usr/sbin/hv_set_ifconfig
# /usr/sbin/hv_set_ifconfig
/usr/bin/env: python: No such file or directory
Indeed there is no python executable by default, only python3.
Modifying the header for hv_set_ifconfig to use python3, returns the
below:
~# /usr/sbin/hv_set_ifconfig
- File "/usr/sbin/hv_set_ifconfig", line 130
- print "==================================="
- ^
+ File "/usr/sbin/hv_set_ifconfig", line 130
+ print "==================================="
+ ^
SyntaxError: Missing parentheses in call to 'print'
--
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/1506521
Title:
[Hyper-V] hv_set_ifconfig issues on Wily 15.10
Status in linux package in Ubuntu:
New
Bug description:
Hello,
It seems that during the Wily development, some changes have occurred that broke the hv_set_ifconfig script.
Please see the below details and update the script accordingly.
From my understanding the changes in python versioning on 15.10 are causing this, and when running hv_set_ifconfig with Python v3, it will give some code errors.
This has been verified with the daily build from Oct 12, kernel
4.2.0-16-generic and the matching linux-cloud-tools/common are
installed.
# whereis hv_set_ifconfig
hv_set_ifconfig: /usr/sbin/hv_set_ifconfig
# /usr/sbin/hv_set_ifconfig
/usr/bin/env: python: No such file or directory
Indeed there is no python executable by default, only python3.
Modifying the header for hv_set_ifconfig to use python3, returns the
below:
~# /usr/sbin/hv_set_ifconfig
File "/usr/sbin/hv_set_ifconfig", line 130
print "==================================="
^
SyntaxError: Missing parentheses in call to 'print'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1506521/+subscriptions
Follow ups
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Launchpad Bug Tracker, 2016-03-14
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Launchpad Bug Tracker, 2016-03-14
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Chris Valean, 2016-03-03
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Brad Figg, 2016-02-25
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Brad Figg, 2016-02-25
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Brad Figg, 2016-02-19
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-17
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-09
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-09
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-09
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Chris Valean, 2016-02-09
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-09
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-09
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-09
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-09
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Chris Valean, 2016-02-01
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-02-01
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Launchpad Bug Tracker, 2016-02-01
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Chris Valean, 2016-01-29
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Ovidiu Rusu, 2016-01-29
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-01-28
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-01-28
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-01-28
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Andy Whitcroft, 2016-01-28
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Joshua R. Poulson, 2015-12-15
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Joseph Salisbury, 2015-12-11
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Joseph Salisbury, 2015-10-15
-
[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10
From: Chris Valean, 2015-10-15
-
[Bug 1506521] Missing required logs.
From: Brad Figg, 2015-10-15