Re: Announce: LXD available as a snap
hi, Am Mittwoch, den 12.10.2016, 06:49 +0500 schrieb Omer Akram: > Fantastic news, I have been craving for this for a while. > > I need to highlight however that on a all-snap system(tried on a RPi > 2) the lxd group cannot be added as /etc/group is ready-only. So lxd > does not work there currently. > sudo groupadd --extrausers lxd will help here ciao oli signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Announce: LXD available as a snap
On Wed, Oct 12, 2016 at 06:49:42AM +0500, Omer Akram wrote: > Fantastic news, I have been craving for this for a while. > > I need to highlight however that on a all-snap system(tried on a RPi 2) the > lxd group cannot be added as /etc/group is ready-only. So lxd does not work > there currently. Yep, that's the first bug linked in my list below. > > Thanks! > > On Wed, Oct 12, 2016 at 4:20 AM, Stéphane Graber > wrote: > > > Hello, > > > > As of a few minutes ago, LXD is now available as a snap in the stable > > channel. > > This has been confirmed to work on both Ubuntu 16.04 and 16.10, provided > > that snapd and snap-confine are perfectly up to date. > > > > If you want to try it, pick a machine that you're NOT using LXD on and do: > > - apt remove --purge lxd lxd-client > > - groupadd --system lxd > > - snap install lxd > > - lxd init > > - lxd.lxc launch ubuntu:16.04 xenial > > > > This will remove your existing LXD to prevent any confusion between the > > snap and packaged version, will ensure that you have a "lxd" group on > > your system and then install LXD. Note that the daemon can take a little > > while to startup on first installation, so you may have to retry the > > "lxd init" step. > > > > And that's it, you've got LXD running with your first container! > > > > The default values in lxd init will get you a ZFS backed storage and a > > working network for your containers. > > > > Our channel setup looks something like: > > - stable (manual, latest release) > > - candidate (semi-automatic, staging area for stable) > > - beta (manual, unused currently) > > - edge (automatic, auto-upload when git master changes) > > > > Note that edge can be updated up to 5-6 times a day (as it was today). > > > > Known limitations (sorted by priority): > > - "lxd" group must exist ahead of time: https://bugs.launchpad.net/ > > snappy/+bug/1606510 > > - Updating the snap restarts all containers: https://bugs.launchpad.net/ > > snappy/+bug/1632508 > > - Can't provide the "lxc" command: https://bugs.launchpad.net/ > > snappy/+bug/1607748 > > - LXD always runs even when unused: https://bugs.launchpad.net/ > > snappy/+bug/1612440 > > - No powerpc build due to lack of snapcraft support: > > https://bugs.launchpad.net/snapcraft/+bug/1632091 > > - Unable to build using a specific commit: https://bugs.launchpad.net/ > > snapcraft/+bug/1632126 > > - Ability to distribute multiple upstream series: > > https://bugs.launchpad.net/snappy/+bug/1611424 > > > > The LXD team will be working with the Snappy team to address the above > > limitations. > > With those sorted, we'll be able to make the LXD snap the best way to > > experience LXD. > > > > > > If you run into issues, please file bugs! > > - For LXD bugs: https://github.com/lxc/lxd/issues > > - For packaging bugs: https://github.com/lxc/lxd-pkg-ubuntu/issues > > - If unsure, file against LXD. > > > > Enjoy! > > > > Stéphane > > > > -- > > Snapcraft mailing list > > Snapcraft@lists.snapcraft.io > > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > > mailman/listinfo/snapcraft > > > > -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: PGP signature -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Announce: LXD available as a snap
Fantastic news, I have been craving for this for a while. I need to highlight however that on a all-snap system(tried on a RPi 2) the lxd group cannot be added as /etc/group is ready-only. So lxd does not work there currently. Thanks! On Wed, Oct 12, 2016 at 4:20 AM, Stéphane Graber wrote: > Hello, > > As of a few minutes ago, LXD is now available as a snap in the stable > channel. > This has been confirmed to work on both Ubuntu 16.04 and 16.10, provided > that snapd and snap-confine are perfectly up to date. > > If you want to try it, pick a machine that you're NOT using LXD on and do: > - apt remove --purge lxd lxd-client > - groupadd --system lxd > - snap install lxd > - lxd init > - lxd.lxc launch ubuntu:16.04 xenial > > This will remove your existing LXD to prevent any confusion between the > snap and packaged version, will ensure that you have a "lxd" group on > your system and then install LXD. Note that the daemon can take a little > while to startup on first installation, so you may have to retry the > "lxd init" step. > > And that's it, you've got LXD running with your first container! > > The default values in lxd init will get you a ZFS backed storage and a > working network for your containers. > > Our channel setup looks something like: > - stable (manual, latest release) > - candidate (semi-automatic, staging area for stable) > - beta (manual, unused currently) > - edge (automatic, auto-upload when git master changes) > > Note that edge can be updated up to 5-6 times a day (as it was today). > > Known limitations (sorted by priority): > - "lxd" group must exist ahead of time: https://bugs.launchpad.net/ > snappy/+bug/1606510 > - Updating the snap restarts all containers: https://bugs.launchpad.net/ > snappy/+bug/1632508 > - Can't provide the "lxc" command: https://bugs.launchpad.net/ > snappy/+bug/1607748 > - LXD always runs even when unused: https://bugs.launchpad.net/ > snappy/+bug/1612440 > - No powerpc build due to lack of snapcraft support: > https://bugs.launchpad.net/snapcraft/+bug/1632091 > - Unable to build using a specific commit: https://bugs.launchpad.net/ > snapcraft/+bug/1632126 > - Ability to distribute multiple upstream series: > https://bugs.launchpad.net/snappy/+bug/1611424 > > The LXD team will be working with the Snappy team to address the above > limitations. > With those sorted, we'll be able to make the LXD snap the best way to > experience LXD. > > > If you run into issues, please file bugs! > - For LXD bugs: https://github.com/lxc/lxd/issues > - For packaging bugs: https://github.com/lxc/lxd-pkg-ubuntu/issues > - If unsure, file against LXD. > > Enjoy! > > Stéphane > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Announce: LXD available as a snap
On Wed, Oct 12, 2016 at 10:21 AM Stéphane Graber wrote: > Hello, > > > > As of a few minutes ago, LXD is now available as a snap in the stable > channel. > > This has been confirmed to work on both Ubuntu 16.04 and 16.10, provided > > that snapd and snap-confine are perfectly up to date. > > > > If you want to try it, pick a machine that you're NOT using LXD on and do: > > - apt remove --purge lxd lxd-client > > - groupadd --system lxd > > - snap install lxd > > - lxd init > > - lxd.lxc launch ubuntu:16.04 xenial > > > > This will remove your existing LXD to prevent any confusion between the > > snap and packaged version, will ensure that you have a "lxd" group on > > your system and then install LXD. Note that the daemon can take a little > > while to startup on first installation, so you may have to retry the > > "lxd init" step. > > > > And that's it, you've got LXD running with your first container! > Excellent! I was just trying this from --beta yesterday but reverted to the apt lxd package. I'll try again today :) -Michael > > > > The default values in lxd init will get you a ZFS backed storage and a > > working network for your containers. > > > > Our channel setup looks something like: > > - stable (manual, latest release) > > - candidate (semi-automatic, staging area for stable) > > - beta (manual, unused currently) > > - edge (automatic, auto-upload when git master changes) > > > > Note that edge can be updated up to 5-6 times a day (as it was today). > > > > Known limitations (sorted by priority): > > - "lxd" group must exist ahead of time: > https://bugs.launchpad.net/snappy/+bug/1606510 > > - Updating the snap restarts all containers: > https://bugs.launchpad.net/snappy/+bug/1632508 > > - Can't provide the "lxc" command: > https://bugs.launchpad.net/snappy/+bug/1607748 > > - LXD always runs even when unused: > https://bugs.launchpad.net/snappy/+bug/1612440 > > - No powerpc build due to lack of snapcraft support: > https://bugs.launchpad.net/snapcraft/+bug/1632091 > > - Unable to build using a specific commit: > https://bugs.launchpad.net/snapcraft/+bug/1632126 > > - Ability to distribute multiple upstream series: > https://bugs.launchpad.net/snappy/+bug/1611424 > > > > The LXD team will be working with the Snappy team to address the above > limitations. > > With those sorted, we'll be able to make the LXD snap the best way to > experience LXD. > > > > > > If you run into issues, please file bugs! > > - For LXD bugs: https://github.com/lxc/lxd/issues > > - For packaging bugs: https://github.com/lxc/lxd-pkg-ubuntu/issues > > - If unsure, file against LXD. > > > > Enjoy! > > > > Stéphane > > -- > > Snapcraft mailing list > > Snapcraft@lists.snapcraft.io > > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Announce: LXD available as a snap
Thank you Stephane and the LXD team. This is fantastic news for machine container aficionados. Its time to start testing this out :) /Manik On Tue, Oct 11, 2016 at 4:20 PM, Stéphane Graber wrote: > Hello, > > As of a few minutes ago, LXD is now available as a snap in the stable > channel. > This has been confirmed to work on both Ubuntu 16.04 and 16.10, provided > that snapd and snap-confine are perfectly up to date. > > If you want to try it, pick a machine that you're NOT using LXD on and do: > - apt remove --purge lxd lxd-client > - groupadd --system lxd > - snap install lxd > - lxd init > - lxd.lxc launch ubuntu:16.04 xenial > > This will remove your existing LXD to prevent any confusion between the > snap and packaged version, will ensure that you have a "lxd" group on > your system and then install LXD. Note that the daemon can take a little > while to startup on first installation, so you may have to retry the > "lxd init" step. > > And that's it, you've got LXD running with your first container! > > The default values in lxd init will get you a ZFS backed storage and a > working network for your containers. > > Our channel setup looks something like: > - stable (manual, latest release) > - candidate (semi-automatic, staging area for stable) > - beta (manual, unused currently) > - edge (automatic, auto-upload when git master changes) > > Note that edge can be updated up to 5-6 times a day (as it was today). > > Known limitations (sorted by priority): > - "lxd" group must exist ahead of time: https://bugs.launchpad.net/ > snappy/+bug/1606510 > - Updating the snap restarts all containers: https://bugs.launchpad.net/ > snappy/+bug/1632508 > - Can't provide the "lxc" command: https://bugs.launchpad.net/ > snappy/+bug/1607748 > - LXD always runs even when unused: https://bugs.launchpad.net/ > snappy/+bug/1612440 > - No powerpc build due to lack of snapcraft support: > https://bugs.launchpad.net/snapcraft/+bug/1632091 > - Unable to build using a specific commit: https://bugs.launchpad.net/ > snapcraft/+bug/1632126 > - Ability to distribute multiple upstream series: > https://bugs.launchpad.net/snappy/+bug/1611424 > > The LXD team will be working with the Snappy team to address the above > limitations. > With those sorted, we'll be able to make the LXD snap the best way to > experience LXD. > > > If you run into issues, please file bugs! > - For LXD bugs: https://github.com/lxc/lxd/issues > - For packaging bugs: https://github.com/lxc/lxd-pkg-ubuntu/issues > - If unsure, file against LXD. > > Enjoy! > > Stéphane > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft