Greetings, Its been a busy couple of weeks for me evaluating the new snap format of etcd. A lot of great things are incoming thanks to this early work in terms of integration. We've shaken out some bugs in the layer. I'm ready to get some early community feedback by any consumers of etcd.
juju deploy etcd --channel=edge or juju upgrade-charm etcd --channel=edge There's a migration path outlined in the README - which will help any users currently deployed on 2.2.5 and how they can move to 2.3 => 3.0 => 3.1 - all in place, all migrated safely with snapshots happening along the way to ensure data consistency at the end and a recovery path if not. *This is not recommended for production clusters as of yet*, this is early access to invite community members to trial and help identify potential issues before a GA release in the coming weeks. I'm leaving the instructions in this mail intentionally brief to encourage users to go bang on it and find code paths I haven't fully tested and get those issues filed and squashed before release. To anyone curious how I've been testing this in an automated fashion: Note: the following presumes you have juju-wait plugin installed and the petname package. I've been testing this regularly with a script that looks similar to the following: #!/bin/bash set -e juju add-model $(petname) juju deploy cs:~containers/easyrsa juju deploy cs:etcd juju add-relation etcd easyrsa echo "Waiting on model convergence..." juju-wait juju upgrade-charm etcd --switch cs:etcd --channel=edge juju-wait echo "Running snap upgrade" juju run-action etcd/0 snap-upgrade juju-wait # Stepped upgrades juju config etcd channel=3.0/stable juju-wait # stepped upgrades juju config etcd channel=3.1/candidate juju-wait juju run --application etcd "/snap/bin/etcd.etcdctl cluster-health" juju run --unit etcd/0 "/snap/bin/etcd.etcdctl ls -r /" This deploys the existing stable channel, upgrades using the edge channel and then moves between channels, with the final output being cluster health and listing of any data in the etcd data store. This is a very specific path, and hence why I'm asking for more hands to help test. Thanks and all the best, Charles -- Juju Charmer Canonical Group Ltd. Ubuntu - Linux for human beings | www.ubuntu.com conjure-up canonical-kubernetes | jujucharms.com
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju