{"push_id":2671084284,"size":2,"distinct_size":2,"ref":"refs/heads/etcd-grow-shrink","head":"136544c661610ae127397d3f32504a317a481380","before":"f0a2c3ba5436a31e844219e287e884c12a156020","commits":[{"sha":"bc6157f277ad02d432897ae424ef7d0deb90fc04","author":{"name":"Rafael Fernández López","email":"b0a1d61667e871f3e8f3411a9f61f75fa341442b@ereslibre.es"},"message":"Allow `etcd` to grow as required and shrink to optimal etcd cluster sizes on corner cases.\n\nImprove `etcd` configuration handling to allow it to grow as needed. This\nchange includes:\n\n* Adding several masters at the same time\n  ** `etcd` will grow instance by instance still, as recommended by the\n     `etcd` administration best practices.\n\n* Try to use the current endpoints reported by `etcd`. This makes much\n  easier to grow several instances one by one without having to relay\n  on internal hacks to properly set up `ETCD_INITIAL_CLUSTER` environment\n  variable.\n\n* Add helper methods that allow us to list current members (active and\n  unstarted)\n\n* Differentiate between the first bootstrap (`ETCD_INITIAL_CLUSTER_STATE`\n  defaults to `new`) and *any* other run, where `ETCD_INITIAL_CLUSTER_STATE`\n  will be `existing`, as the `etcd` cluster is already running.\n\nWhen we grow, we take into account the golden ratio; however, when shrinking\nthe cluster we don't. It might happen that a cluster ends up with not\nrecommended etcd number of nodes (2, 4, 6...) depending on how it grew before\nand how it shrank.\n\nThis logic makes sure that we are always on an etcd golden ratio, also\non corner cases when removing nodes.\n\nFixes: bsc#1098433\nFixes: bsc#1098064\nFixes: bsc#1098161","distinct":true,"url":"https://api.github.com/repos/ereslibre/salt/commits/bc6157f277ad02d432897ae424ef7d0deb90fc04"},{"sha":"136544c661610ae127397d3f32504a317a481380","author":{"name":"Rafael Fernández López","email":"b0a1d61667e871f3e8f3411a9f61f75fa341442b@ereslibre.es"},"message":"Fix tests and style","distinct":true,"url":"https://api.github.com/repos/ereslibre/salt/commits/136544c661610ae127397d3f32504a317a481380"}]}
{"actor":{"display_login":"ereslibre"}}