[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-05-02 Thread Launchpad Bug Tracker
This bug was fixed in the package lxd - 1:0.4.2 --- lxd (1:0.4.2) cosmic; urgency=medium [ Balint Reczey ] * Fix error message on missing snap. (LP: #1821924) lxd (1:0.4.1) cosmic; urgency=medium [ Balint Reczey ] * Allow skipping snap installation when LXD was never used

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-30 Thread Balint Reczey
Autopkgtest is failing in cosmic but it passed for me locally in qemu. Looks like an infra issue on amd64. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821924 Title: LXD Deb->snap transition

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-30 Thread Balint Reczey
Verified 1:0.4.2 on Cosmic: 1. ubuntu@DESKTOP-V4DDKSS:~$ sudo do-release-upgrade Checking for a new Ubuntu release Get:1 Upgrade tool signature [819 B]

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-24 Thread Francis Ginther
** Tags added: id-5cc028d1039e9572f93b3f1e -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821924 Title: LXD Deb->snap transition fails in WSL due to snap command not working (yet) To manage

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-23 Thread Brian Murray
Hello Balint, or anyone else affected, Accepted lxd into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lxd/1:0.4.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-11 Thread Balint Reczey
Tested 1:0.4.1 on Cosmic: Skipping the snap installation on upgrade works, but the installed command does not print an nice error message. ubuntu@DESKTOP-V4DDKSS:~$ sudo do-release-upgrade Checking for a new Ubuntu release Get:1 Upgrade tool signature [819 B]

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-10 Thread Francis Ginther
** Tags added: id-5cad1e2aa0db9c596d15215d -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821924 Title: LXD Deb->snap transition fails in WSL due to snap command not working (yet) To manage

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-08 Thread Łukasz Zemczak
Hello Balint, or anyone else affected, Accepted lxd into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lxd/1:0.4.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-06 Thread Balint Reczey
** Description changed: + [Impact] + + * Upgrading .deb-packaged lxd to the lxd .deb package that just + installs the snap fails when the lxd snap can't be installed. + + * This breaks package upgrades and specifically do-release-upgrade in + the middle of the release upgrade. + + * The fix

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-05 Thread Launchpad Bug Tracker
This bug was fixed in the package lxd - 1:0.6 --- lxd (1:0.6) disco; urgency=medium * Tweak debconf messages a bit. lxd (1:0.5) disco; urgency=medium [ Balint Reczey ] * Allow skipping snap installation when LXD was never used (LP: #1821924) [ Stéphane Graber ] *

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-05 Thread Stéphane Graber
Upload to disco and cosmic. @Balint can you make sure this bug has the suitable SRU paperwork sorted? ** Changed in: lxd (Ubuntu Cosmic) Status: New => Triaged ** Changed in: lxd (Ubuntu Cosmic) Status: Triaged => In Progress ** Changed in: lxd (Ubuntu Cosmic) Assignee:

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-05 Thread Balint Reczey
Please SRU to Cosmic as well. ** Also affects: lxd (Ubuntu Cosmic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821924 Title: LXD Deb->snap

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-05 Thread Balint Reczey
The proposed fix: https://github.com/lxc/lxd-pkg-ubuntu/pull/33 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821924 Title: LXD Deb->snap transition fails in WSL due to snap command not working

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-03 Thread Balint Reczey
I'm working towards stripping the WSL image a bit, and the first step is adding ubuntu-wsl package (LP: #1822341) to pull back things when needed. The lxd client can be very useful for WSL users, since they can connect to remote LXD servers without the need for a VM or an other machine. -- You

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-03 Thread Stéphane Graber
It feels like a lot of this pain comes from the fact that we are pushing an Ubuntu Cloud image to those users when large parts of that image are not going to be functional due to lack of systemd or some kernel APIs. A better option would be to strip the WSL image down to a set of package that's

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-03 Thread Stéphane Graber
Yeah, so that's going to be a bit of an issue for some users as without snapd working in this environment, they'll actually loose the lxd client as part of the upgrade. Whether that's an actual issue when the lxd client works natively on Windows, I don't really know. -- You received this bug

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-04-03 Thread Dimitri John Ledkov
lxd client is usable; the lxd server is not under wsl, so it wouldn't be possible to complete lxd init under wsl. do-release-upgrade should be usable under wsl; as it's no different to a chroot or like something like virtuozzo sans ability to run systemd. -- You received this bug notification

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-03-28 Thread Balint Reczey
** Description changed: Upgrading from Bionic to Cosmic (or later) is not possible in WSL - (https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) fails since - when lxd package upgrade (with the deb -> snap transition) starts it - can't be completed successfully. The package upgrade can

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-03-28 Thread Francis Ginther
** Tags added: id-5c536653f083fd53e3c3deaf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821924 Title: LXD Deb->snap transition fails in WSL due to snap command not working (yet) To manage

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-03-28 Thread Francis Ginther
** Tags added: id-5c9b7900c475da3728353b23 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821924 Title: LXD Deb->snap transition fails in WSL due to snap command not working (yet) To manage

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-03-27 Thread Stéphane Graber
Re-opened as low as in the case where LXD is unused, we could indeed skip the migration and just complain loudly about not being able to install the snap. The definition of "unused" here would be whether LXD was ever activated since only the migration tool can properly analyse the database to

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-03-27 Thread Stéphane Graber
We still wouldn't be using the lxd-installer, instead the built-in command wrappers for lxc and lxd should just be made to fail with an error indicating that LXD should be manually installed. Automatic installation on first use is something that's unlikely to be very supportable as it wouldn't

Re: [Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-03-27 Thread Balint Reczey
On Wed, Mar 27, 2019 at 7:25 PM Stéphane Graber wrote: > > I don't believe that dist-upgrading WSL is officially supported as it's > an Ubuntu installation which does not run a supported Ubuntu kernel. As Please note that to work towards the possibility of offering "official support" first we

[Bug 1821924] Re: LXD Deb->snap transition fails in WSL due to snap command not working (yet)

2019-03-27 Thread Stéphane Graber
I don't believe that dist-upgrading WSL is officially supported as it's an Ubuntu installation which does not run a supported Ubuntu kernel. As you point out, LXD cannot work in such an environment and so it's reasonable for its upgrade to similarly fail. The lxd-installer proposal also isn't