[Bug 1764824] [NEW] [FFE] 'netplan try' feature in netplan 0.35

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Tue Apr 17 18:27:59 UTC 2018


Public bug reported:

netplan 0.35 would include an additional command:

 netplan try

This would be used to allow users to automatically attempt to apply any
config that can be safely programmatically revert in the case of
failure, and presenting the user with a prompt to acknowledge the
changes. The prompt is intended as a way to ensure the user still has
access to the system when the settings are applied. In the event the
user can't approve the changes, they are backed out after a timeout (120
seconds by default to give the network time to converge).

Settings that can't be backed out are limited to custom bridge and bond
settings that tweak behavior of these devices, since networkd does not
necessarily update these settings when bond devices are changed (only
when they are being created).

'netplan try' is already available as a separate tree in git:
https://github.com/CanonicalLtd/netplan/pull/15/files

This FFE is to make sure the community is aware of these changes so late
in the cycle, and to ensure those are acceptable to land right now,
being leaf changes, fully covered by unit tests and autopkgtests (along
with manual testing). Only users consciously making the decision to use
the command would run into this code path.

The changes are limited to some terminal mangling to allow for the
prompt and timeout; everything else is handled directly in the existing
'netplan apply' code with minimal change to allow this code to be
executed from another "command".

This FFE request seeks pre-approval before merging the "try-command"
branch that incldues this new feature into netplan master to proceed
with the release of netplan 0.35.

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1764824

Title:
  [FFE] 'netplan try' feature in netplan 0.35

Status in netplan.io package in Ubuntu:
  New

Bug description:
  netplan 0.35 would include an additional command:

   netplan try

  This would be used to allow users to automatically attempt to apply
  any config that can be safely programmatically revert in the case of
  failure, and presenting the user with a prompt to acknowledge the
  changes. The prompt is intended as a way to ensure the user still has
  access to the system when the settings are applied. In the event the
  user can't approve the changes, they are backed out after a timeout
  (120 seconds by default to give the network time to converge).

  Settings that can't be backed out are limited to custom bridge and
  bond settings that tweak behavior of these devices, since networkd
  does not necessarily update these settings when bond devices are
  changed (only when they are being created).

  'netplan try' is already available as a separate tree in git:
  https://github.com/CanonicalLtd/netplan/pull/15/files

  This FFE is to make sure the community is aware of these changes so
  late in the cycle, and to ensure those are acceptable to land right
  now, being leaf changes, fully covered by unit tests and autopkgtests
  (along with manual testing). Only users consciously making the
  decision to use the command would run into this code path.

  The changes are limited to some terminal mangling to allow for the
  prompt and timeout; everything else is handled directly in the
  existing 'netplan apply' code with minimal change to allow this code
  to be executed from another "command".

  This FFE request seeks pre-approval before merging the "try-command"
  branch that incldues this new feature into netplan master to proceed
  with the release of netplan 0.35.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1764824/+subscriptions



More information about the foundations-bugs mailing list