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"]
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 : python2. 7/dist- packages/ provisioningser ver/drivers/ osystem/ ubuntu. py python2. 7/dist- packages/ provisioningser ver/drivers/ osystem/ ubuntu. py 2016-04-25 08:05:44.625399234 +0000 lts_release( )]
$ diff -u /tmp/ubuntu.py /usr/lib/
--- /tmp/ubuntu.py 2016-04-25 09:15:44.016351975 +0000
+++ /usr/lib/
@@ -57,7 +57,8 @@
only exists on Ubuntu, because that is the only operating
system that supports commissioning.
"""
- return [self.get_
+ return ["trusty"]
Thanks