Thursday 23 June 2016

Azure + Chocolatey curiosity

It has been a long time, I shouldn't have left you, without a fresh blog post to... read? Ok my Timberland impression is over now.

I have been preoccupied with the Euro 2016 coverage and the the EU Referendum lately which is no excuse really for a tech focused blog, but ah well, life happens. I'll post on both topics though in the near future.

This isn't going to be a long post, and would probably be best summarised in a tweet, but here it goes.

So I decided to create 4 identical Windows Server 2008 R2 VMs in Azure. Same size, all on the same virtual network, everything. I install Chocolatey on them as usual. All good there. Then I install the PowerShell package on each of them, to upgrade to PowerShell 5 (if you haven't done so already, do it!). 3 succeed and 1 fails. I didn't bother looking into why, but this kinda weird stuff is a pain. I was able to run the install again for the failed package and it worked perfectly second time around. Maybe is was a mysterious Windows Update or something interfering. 

No moral or point to this story aside from that things go wrong randomly, sometimes with no sensible explanation. Although in most cases trying the same thing again will result in the same outcome, sometimes you don't know all the details of the situation, so unknowns may have changed since the last attempt that could affect the outcome. 

When I get a chance I'll look into why the package failed to install first time round and will write a follow up.


0 comments :

Post a Comment