Proposal for test plan:

Setup of environment
1. Install two identical computers (A,B) with Ubuntu 18.04 with the same 
configuration
2. On computer B installed the patched version of network manager
3. Try to make the network conditions the same on both computers by connecting 
the computers two the same switch. This makes sure they are connected to the 
same subnet/dhcp-server.

Tests steps (the same on both computers). Execute 5 days.
1. check network state (ipv4/ipv6)
2. if ipv6 does not come up
2.a stop network manager
sudo service network-manager stop
2.b delete lease files
sudo rm /var/lib/NetworkManager/dhclient6*
2.c restart network manager
sudo service network-manager start
3. save network manager log to file for later reference:
   journalctl -u NetworkManager.service
4. disconnect network cable
5. shutdown computer
6. wait at least 12 hours (maximum lease time in current dhcp setup) to make 
lease expire
7. start computer
8. GOTO 1

Expected outcome:
Computer A should sometime fail in getting an IPv6 address
Computer B should always succeed in getting an IPv6 address

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1969901

Title:
  network-manager fails to renew ipv6 address

Status in network-manager package in Ubuntu:
  Fix Released
Status in network-manager source package in Bionic:
  Incomplete

Bug description:
  [Impact]

   * This affects Ubuntu 18.04 where Network Manager version 1.10.6 is
  used.

   * Network manager might kill dhclient(6) and fail to start it again
     causing the IPv6 address to be lost on a network that uses mixed
     IPv4/IPV6.
     The network status will still be seen as online in gnome since ipv4
     is still active.
     The user then have to manually remove the dhcpv6 lease files and
     restart ipv6 connection/restart network manager to regain IPv6
     connectivity.

   * This is a cherry-pick from Network manager 1.10.8 (Ubuntu's version
     is based on 1.10.6):
     
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/7fbbe7ebee99785e38d39c37e515a64a28edef0f

   * Upstream bug:
     https://bugzilla.gnome.org/show_bug.cgi?id=783391

  [Test Plan]

   * The exact conditions for reproducing this bug on mixed IPv4/IPv6
     networks are not known but includes using both IPv4 and IPv6,
     both using dhcp.

  [Where problems could occur]

   * The change is in the dchp lease expiration handling so verify that
  there is no regression in dhcp renewals on different type of
  configuration include IPv6

  [Other Info]
   * We have tested this patch on a couple of clients where we have seen this
     this problem. If this patch is feasible to include in Ubuntu 18.04 we
     could request more users to test.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1969901/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to