Comment 2 for bug 1526532

Revision history for this message
Junien F (axino) wrote :

Hi,

Since xenial is officially released, I believe anyone syncing images from images.maas.io is forced to use xenial for node commissioning, so this fix needs to be backported ASAP to all supported MAAS versions.

It would appear that the Ubuntu version used for commissioning is forced to the last LTS, and can't be changed in any way from the web UI or the CLI.

I had to resort to the following patch to be able to commission nodes again :
$ diff -u /tmp/ubuntu.py /usr/lib/python2.7/dist-packages/provisioningserver/drivers/osystem/ubuntu.py
--- /tmp/ubuntu.py 2016-04-25 09:15:44.016351975 +0000
+++ /usr/lib/python2.7/dist-packages/provisioningserver/drivers/osystem/ubuntu.py 2016-04-25 08:05:44.625399234 +0000
@@ -57,7 +57,8 @@
         only exists on Ubuntu, because that is the only operating
         system that supports commissioning.
         """
- return [self.get_lts_release()]
+ return ["trusty"]

Thanks