← Back to team overview

kernel-packages team mailing list archive

[Bug 1506521] Re: [Hyper-V] hv_set_ifconfig issues on Wily 15.10

 

@chris -- as the initial bits of this have now gone out (the conversion
to python3) if there is a remaining issue with netmask handing that is
likely separate issue.  Either way could you please create a new bug for
me and link it from here (and if you are able let us know the number of
#ubuntu-kernel), and include the ifcfg-eth0.

If I am reading that right you have a NETMASK0 in there which sounds
like something we would not be expecting.  All the parameters are like
FOO, FOO1, FOO2, so NETMASK0 I think we are expecting to be NETMASK.
Though regardless it would be possible to support both.  Do attach the
generated ifcfg-eth0 to that new bug for completeness.

-- 
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:
  Fix Released
Status in linux source package in Wily:
  Confirmed
Status in linux source package in Xenial:
  Fix Released

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


References