canonical / testflinger

https://testflinger.readthedocs.io/en/latest/
GNU General Public License v3.0
12 stars 20 forks source link

maas2 connector: fallback to out-of-standard-support xenial (16.04) #318

Open thp-canonical opened 3 months ago

thp-canonical commented 3 months ago

The fallback distro for the maas2 connector is still Ubuntu 16.04 LTS (which according to ubuntu.com/16-04 is supported through ESM only, with standard support ending in April 2021):

https://github.com/canonical/testflinger/blob/29247d8726d337f7192e8cde75f2017f45ccbf25/device-connectors/src/testflinger_device_connectors/devices/maas2/maas2.py#L78-L80

Note also that self.job_data.get("provision_data") might evaluate to None if no provision_data is provided at all, possibly this should be:

 provision_data = self.job_data.get("provision_data", {}) 

As for "xenial", it should probably be replaced by "jammy" or even "noble" at this point?

syncronize-issues-to-jira[bot] commented 3 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CERTTF-366.

This message was autogenerated