netplan has no migrate command

Bug #1772893 reported by George Shuklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netplan.io (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Many documentation pages (including https://wiki.ubuntu.com/MigratingToNetplan) notice migrate-ifupdown or just 'migrate' command. netplan itself has a source code for migration (/usr/share/netplan/netplan/cli/commands/migrate.py) but this command is not available in netplan utility.

$ netplan migrate
error: argument : invalid choice: 'migrate'

$netplan migrate-ifupdown
error: argument : invalid choice: 'migrate-ifupdown'

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: netplan.io 0.36.1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Wed May 23 14:07:17 2018
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-06-22 (335 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
SourcePackage: netplan.io
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
George Shuklin (george-shuklin) wrote :
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

The migrate command was deemed not mature enough to be enabled everywhere; documentation was updated where necessary to not point to the feature.

https://wiki.ubuntu.com/MigratingToNetplan is special in that it's a specification for something that we wanted to do; it's only valid inasmuch as whether a specification is implemented.

We're happy to have you test the feature and help making it better, but for now it's considered unsupported (thus disabled), because it doesn't cover quite enough of the different things that might be migrated from ifupdown.

To test the command, you can use:

ENABLE_TEST_COMMANDS=1 netplan migrate

Changed in netplan.io (Ubuntu):
status: New → Won't Fix
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Marking Won't Fix for now, since enabling it isn't in the plans for the near future.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.