Consuming MongoDB from a Snap
Danilo Šegan
danilo at canonical.com
Fri Jun 23 07:00:15 UTC 2017
У пет, 23. 06 2017. у 00:09 +0000, Andrew Wilkins пише:
>
> One issue would be upgrades: we would either have to continue
> supporting both snaps and debs for mongodb, or we would have to
> disallow upgrading from a system that doesn't support snaps. That
> would OK as long as there are no workloads on the controller, as we
> could use migration.
There's also https://bugs.launchpad.net/snapd/+bug/1664163 which we
found quite annoying with trying to use snaps with charms. Basically,
there's no way to do lock-step upgrades (esp relevant for no-downtime
and HA deployments of various services).
Cheers,
Danilo
> > > 2. Does snapd work inside LXD containers?
> > Although it's rarely done, it's possible to set up a Juju HA cluster where some nodes are running inside LXD containers so this is something we'd need to consider.
> > It would suck if we couldn't test using the lxd provider, though.
> > > From xenial onwards, snapd does indeed work inside LXD containers. I followed Stephane's instructions using a xenial container and successfully installed a number of non-trivial, working snaps including Gustavo's mongo32 snap.
> > https://stgraber.org/2016/12/07/running-snaps-in-lxd-containers/
> > There is of course more testing to be done but it seems like having Juju's MongoDB in a snap is certainly doable.
> > - Menno
> >
> > --
> >
> > Juju-dev mailing list
> >
Juju-dev at lists.ubuntu.com
> >
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
> >
> --
> Juju-dev mailing list
>
Juju-dev at lists.ubuntu.com
>
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20170623/df77ea41/attachment-0001.html>
More information about the Juju-dev
mailing list