<div dir="ltr"><div><div>The new plugin to help with stuck upgrades is done. The pull request is here: <a href="https://github.com/juju/plugins/pull/60">https://github.com/juju/plugins/pull/60</a>. Marco: can you please take a look?<br><br></div><div>The plugin only needs to be provided the version number being upgraded to. It figures out the rest itself. Here's a sample of the plugin fixing a stuck upgrade for 3 state server environment:<br></div></div><br><br><span style="font-family:monospace,monospace">$ juju unstick-upgrade 1.25-alpha1.4<br><br>checking 52.12.204.107<br>52.12.204.107 is machine-1<br>machine-1 fixed<br><br>checking 54.203.23.241<br>54.203.23.241 is machine-0<br>machine-0 fixed<br><br>checking 54.212.170.233<br>54.212.170.233 is machine-2<br>machine-2 fixed<br><br>checking 10.213.136.121<br>ssh: connect to host 10.213.136.121 port 22: Connection timed out<br>no machine agent found on 10.213.136.121, skipping<br><br>checking 10.255.30.118<br>ssh: connect to host 10.255.30.118 port 22: Connection timed out<br>no machine agent found on 10.255.30.118, skipping<br><br>checking 10.35.142.8<br>ssh: connect to host 10.35.142.8 port 22: Connection timed out<br>no machine agent found on 10.35.142.8, skipping<br><br>checking 52.12.204.107<br>52.12.204.107 is machine-1<br>machine-1 has already been fixed, skipping<br><br>fix complete<br></span><br><br><div>- Menno<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 July 2015 at 10:51, Menno Smits <span dir="ltr"><<a href="mailto:menno.smits@canonical.com" target="_blank">menno.smits@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
</span>I am interested in the 1.24 aspect. Can you elaborate on:<br>
<br>
1. What exact 1.24 release is affected?<br></blockquote><div><br></div></span><div>The issue was fixed in 1.24.3 so 1.24.0 and 1.24.1 are affected. <br><br>Here's the ticket: <a href="https://bugs.launchpad.net/juju-core/+bug/1468653" target="_blank">https://bugs.launchpad.net/juju-core/+bug/1468653</a><br><br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
2. To what degree is it affected? You said "may" also get stuck.<br></blockquote><div><br></div></span><div>It depends on whether certain leadership related API requests had been made and whether the lease worker had restarted while those requests were active. The more units in the environment, the more likely the problem is to occur.<br><br><br></div><div><br><br><br></div></div><br></div></div>
</blockquote></div><br></div>