<div dir="ltr">I can confirm that we for sure also depend on the stable 2.0 in xenial.<div><br></div><div>It actually is very easy to install a more recent version nested in 2.0 for specific use cases.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-05 23:53 GMT+02:00 Stéphane Graber <span dir="ltr"><<a href="mailto:stgraber@ubuntu.com" target="_blank">stgraber@ubuntu.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, it would be.<br>
<br>
I also disagree that it's what most people would want.<br>
<br>
The majority of the feedback we've been getting from production users so<br>
far is that they're very happy having an extremely stable version of LXD<br>
that they don't need to think about and that gets frequent bugfixes and<br>
security fixes.<br>
<br>
For everyone else, you just need to run:<br>
<span class="im HOEnZb"><br>
apt install -t xenial-backports lxd lxd-client<br>
<br>
</span><div class="HOEnZb"><div class="h5">On Wed, Apr 05, 2017 at 11:45:32PM +0200, Jakob Gillich wrote:<br>
> Would it be against distribution policy to upgrade the lxd package in<br>
> xenial? I feel like most users do not want 2.0, but that's what they get by<br>
> default.<br>
><br>
> On Wed, Apr 5, 2017 at 1:49 AM, Stéphane Graber <<a href="mailto:stgraber@ubuntu.com">stgraber@ubuntu.com</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > So it really depends on how tolerant you may be to accidental downtime<br>
> > and need to occasionaly adapt scripts as new features are added.<br>
> ><br>
> > LXD 2.0.x only gets bugfixes and security updates and so an upgrade will<br>
> > never break anything that uses the LXD commands or the API.<br>
> ><br>
> ><br>
> > For the newer feature releases, we don't break the REST API, only add<br>
> > bits to it, but occasionaly those bits mean that some extra<br>
> > configuration steps may be needed, as was the case with the network API<br>
> > in 2.3 or the storage API in 2.9.<br>
> ><br>
> > Upgrading to such releases will automatically attempt to migrate your<br>
> > setup so that it keeps working and doesn't suffer any downtime. But it's<br>
> > certainly not completely bug free and we do occasionaly hit issues<br>
> > there.<br>
> ><br>
> ><br>
> > If you do want the new features, I'd recommend that you at least stay on<br>
> > Ubuntu 16.04 LTS, then do this:<br>
> ><br>
> > apt install -t xenial-backports lxd lxd-client<br>
> ><br>
> > This will install lxd and lxd-client from "xenial-backports" which is a<br>
> > special pocket of the main Ubuntu archive. This is far preferable from<br>
> > using the LXD PPA.<br>
> ><br>
> > The LXD stable PPA is automatically generated whenever a new upstream<br>
> > release has hit the current Ubuntu development release and has passed<br>
> > automatic testing, which is to say that when an update hits, it would<br>
> > have seen very little field testing.<br>
> ><br>
> > xenial-backports is different in that the packages in there are the same<br>
> > as the PPA, but I only push them through once I feel confident there<br>
> > aren't any upgrade issues that we should address.<br>
> ><br>
> ><br>
> > One recent example of that was the storage API. PPA users would have<br>
> > gotten LXD 2.9, 2.9.1, 2.9.2, 2.10, 2.10.1 and 2.11 in quick sucession<br>
> > as we were sorting out some upgrade issues with the storage API.<br>
> ><br>
> > Users of xenial-backports were on LXD 2.8 up until yesterday when I<br>
> > pushed LXD 2.12 to it as we are now feeling confident that all upgrade<br>
> > issues that were reported have been satisfyingly resolved.<br>
> ><br>
> ><br>
> > One last note. LXD doesn't support downgrading its database, that means<br>
> > that if you upgrade from 2.0.x to some 2.x release, there is no going<br>
> > back. You can't downgrade back to 2.0.x afterwards. You can move LXD<br>
> > containers from a new release to a server running an older release as we<br>
> > way to do a two stage downgrade, but you may need to alter their<br>
> > configurations a bit for this to succeed (remove any option key that<br>
> > came from a newer release).<br>
> ><br>
> > Stéphane<br>
> ><br>
> > On Tue, Apr 04, 2017 at 02:55:32PM +0200, Gabriel Marais wrote:<br>
> > > Hi Guys<br>
> > ><br>
> > > I would like to take advantage in some of the new(er) features<br>
> > > available in<br>
> > > releases higher than 2.0.x<br>
> > ><br>
> > > Would it be advisable to upgrade to 2.12 to be used in a production<br>
> > > environment?<br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > Regards<br>
> > ><br>
> > > Gabriel Marais<br>
> > ><br>
> > > Office: +27 861 466 546 x 7001<br>
> > > Mobile: +27 83 663 2222<br>
> > > Mail: <a href="mailto:gabriel.j.marais@gmail.com">gabriel.j.marais@gmail.com</a><br>
> > ><br>
> > > Unit 11, Ground Floor, Berkley Office Park<br>
> > > Cnr Bauhinia & Witch Hazel Str,<br>
> > > Highveld, Centurion, South-Africa<br>
> > > 0157<br>
> > ><br>
> > > PO Box 15846, Lyttelton, South Africa, 0140<br>
> > > ______________________________<wbr>_________________<br>
> > > lxc-users mailing list<br>
> > > <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.<wbr>linuxcontainers.org</a><br>
> > > <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.<wbr>org/listinfo/lxc-users</a><br>
> ><br>
> > --<br>
> > Stéphane Graber<br>
> > Ubuntu developer<br>
> > <a href="http://www.ubuntu.com" rel="noreferrer" target="_blank">http://www.ubuntu.com</a><br>
> > ______________________________<wbr>_________________<br>
> > lxc-users mailing list<br>
> > <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.<wbr>linuxcontainers.org</a><br>
> > <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.<wbr>org/listinfo/lxc-users</a><br>
><br>
> ______________________________<wbr>_________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.<wbr>linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.<wbr>org/listinfo/lxc-users</a><br>
<br>
--<br>
Stéphane Graber<br>
Ubuntu developer<br>
<a href="http://www.ubuntu.com" rel="noreferrer" target="_blank">http://www.ubuntu.com</a><br>
</div></div><br>______________________________<wbr>_________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.<wbr>linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.<wbr>org/listinfo/lxc-users</a><br></blockquote></div><br></div>