← Back to team overview

kernel-packages team mailing list archive

[Bug 1540586] Re: [Hyper-V] Netmask value is not parsed by hv_set_ifconfig - IP injection

 

Note that this bug was spawned out of Bug #1506521 and the fix for this
should be released with that.

** Also affects: linux (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Trusty)
       Status: New => In Progress

** Changed in: linux (Ubuntu Trusty)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Trusty)
     Assignee: (unassigned) => Andy Whitcroft (apw)

** Changed in: linux (Ubuntu Wily)
     Assignee: (unassigned) => Andy Whitcroft (apw)

** Changed in: linux (Ubuntu Xenial)
     Assignee: (unassigned) => Andy Whitcroft (apw)

** Changed in: linux (Ubuntu Xenial)
   Importance: Medium => High

** Changed in: linux (Ubuntu Wily)
       Status: Confirmed => In Progress

** Changed in: linux (Ubuntu Xenial)
       Status: Confirmed => Fix Committed

-- 
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/1540586

Title:
  [Hyper-V] Netmask value is not parsed by hv_set_ifconfig - IP
  injection

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Trusty:
  In Progress
Status in linux source package in Wily:
  In Progress
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  This bug is a continuation to bug ID 1506521 - the refreshed
  hv_set_ifconfig script in Python3.

  On a Wily system with the new script, doing an IP injection does change the IP on the VM, however the netmask value is not parsed and gets ignored.
  It gets set to a default of 255.0.0.0.

  Kernel: 4.2.0-23-generic

  Attaching generated ifcfg-eth0 file that is used by this script.

  syslog doesn't record any related events to the netmask, and also
  manually executing hv_set_ifconfig against the generated ifcfg works
  with no errors.

  The interfaces files gets modified to this:
  iface eth0 inet static
          address 10.123.120.199
          gateway 10.123.119.1
          dns-nameservers anything_changed

  #End of hv_set_ifconfig stanzas

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540586/+subscriptions


References