[Bug 1337437] Re: maas needs utopic support
** Branch linked: lp:ubuntu/trusty-proposed/maas -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Description changed: - It looks like maas needs support added for utopic. Could you also - consider implementing this so that it is configurable in a config file? - It would be much better than needing a hard-coded update each release. + [Impact] + * Remove no longer supported distro releases and add utopic to list of releases. (Will only actually be able to be installable if simplestream has utopic entries) + + [Testcase] + * Install utopic onto a maas node + + [Regression Potential] + * Minimal; change to new releases and add pretty strings for it + + + It looks like maas needs support added for utopic. Could you also consider implementing this so that it is configurable in a config file? It would be much better than needing a hard-coded update each release. Here's the diff showing code needed in maasserver/enum.py (thanks roaksoax): === modified file 'maasserver/enum.py' --- maasserver/enum.py2014-07-03 16:54:15 + +++ maasserver/enum.py2014-07-03 16:56:20 + @@ -100,6 +100,8 @@ - saucy = 'saucy' - #: - trusty = 'trusty' + saucy = 'saucy' + #: + trusty = 'trusty' +#: +utopic = 'utopic' - - DISTRO_SERIES_CHOICES = ( - (DISTRO_SERIES.default, 'Default Ubuntu Release'), + + DISTRO_SERIES_CHOICES = ( + (DISTRO_SERIES.default, 'Default Ubuntu Release'), @@ -108,6 +110,7 @@ - (DISTRO_SERIES.raring, 'Ubuntu 13.04 Raring Ringtail'), - (DISTRO_SERIES.saucy, 'Ubuntu 13.10 Saucy Salamander'), - (DISTRO_SERIES.trusty, 'Ubuntu 14.04 LTS Trusty Tahr'), + (DISTRO_SERIES.raring, 'Ubuntu 13.04 Raring Ringtail'), + (DISTRO_SERIES.saucy, 'Ubuntu 13.10 Saucy Salamander'), + (DISTRO_SERIES.trusty, 'Ubuntu 14.04 LTS Trusty Tahr'), +(DISTRO_SERIES.utopic, 'Ubuntu 14.10 Utopic Unicorn'), - ) + ) ** Summary changed: - maas needs utopic support + [SRU] maas needs utopic support -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: [SRU] maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Changed in: maas/1.6 Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Changed in: maas/1.5 Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Changed in: maas/1.6 Milestone: 1.6.1 = 1.6.0 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
I will get this fixed for 1.5 and 1.6. Each use an enum in different locations. 1.7 will include the simplestreams implementation. ** Also affects: maas/1.5 Importance: Undecided Status: New ** Also affects: maas/1.6 Importance: Undecided Status: New ** Changed in: maas/1.5 Status: New = Confirmed ** Changed in: maas/1.6 Status: New = Confirmed ** Changed in: maas/1.5 Importance: Undecided = Medium ** Changed in: maas/1.6 Importance: Undecided = Medium ** Changed in: maas/1.5 Milestone: None = 1.5.4 ** Changed in: maas/1.6 Milestone: None = 1.6.1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Changed in: maas/1.5 Status: Confirmed = In Progress ** Changed in: maas/1.5 Assignee: (unassigned) = Blake Rouse (blake-rouse) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Branch linked: lp:~blake-rouse/maas/add-utopic-1.5 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Branch linked: lp:~blake-rouse/maas/add-utopic-1.6 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Changed in: maas/1.6 Status: Confirmed = In Progress ** Changed in: maas/1.6 Assignee: (unassigned) = Blake Rouse (blake-rouse) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Changed in: maas/1.5 Status: In Progress = Fix Committed ** Changed in: maas/1.6 Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
This is blocking Openstack CI for Utopic. Any ETA on when this will be resolved? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
I've re-assigned it to Gavin as he's working on fixing the clusters to report release info. ** Changed in: maas Assignee: Blake Rouse (blake-rouse) = Gavin Panella (allenap) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Branch linked: lp:~blake-rouse/maas/ubuntu-releases-simplestreams -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
Hi Julian, Do you think the fixes in the diff above should get me going on 1.5+bzr2252-0ubuntu1? Or is there more to the fix? I ask because it doesn't appear to be doing the trick for me, and I'd like to just hack a work-around for the time being. Here's the error that I'm getting: + juju bootstrap -e utopic Launching instance WARNING picked arbitrary tools {1.18.4-utopic-amd64 https://streams.canonical.com/juju/tools/releases/juju-1.18.4-utopic-amd64.tgz; 0193e1331f8ad8d42ec36f2915fa35fd74aefd38b373e1af58936dff428c8907 %!q(int64=7389403)} ERROR bootstrap failed: cannot start bootstrap instance: gomaasapi: got error back from server: 400 BAD REQUEST ({distro_series: [Value u'utopic' is not a valid choice.]}) Bootstrap failed, destroying environment ERROR cannot start bootstrap instance: gomaasapi: got error back from server: 400 BAD REQUEST ({distro_series: [Value u'utopic' is not a valid choice.]}) Thanks, Corey -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
Been looking into removing the enum from UbuntuOS. If we pull this information from simplestreams, then we would need to use the daily channel, because its the only channel that contains Utopic. get_supported_releases needs to return all available release, not just the ones boot images are present. Also the simplestreams data does not provide a nice title for the release, it only uses the codename. We would also need to use python- distro-info to get the fullname of the release to present to the user on the WebUI. What is the benefit of pulling the data from simplestreams for the available releases, when python-distro-info already contains all of the data we need on the system? Just want to make sure I implement it correctly. Also if we go with the simplestreams approach, we would need to cache the data, as we should be making a web request everytime MAAS ask for the available releases for the operating system. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
python-distro-info doesn't know about MAAS. For example, it reports that Lucid is supported... but it's not by MAAS. Use it for getting the titles, that's cool, but otherwise the simplestream is the canonical reference. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
Makes since. Will do! ** Changed in: maas Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1337437] Re: maas needs utopic support
On 08/07/14 06:16, Blake Rouse wrote: What is the benefit of pulling the data from simplestreams for the available releases, when python-distro-info already contains all of the data we need on the system? Just want to make sure I implement it correctly. Simplestreams dictates which OS releases MAAS supports - it drives the whole process. Once we remove the enum and depend on that entirely, then no more 6-monthly code updates will be needed. And as Gavin says, python-distro-info can be used to get the distro title. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
We should not use a static file for this, that's why we have python- distro-info. We should use it to automatically figure out the supported Ubuntu releases. in 1.5.: Support for trusty should be added manually and SRU'd. In 1.6., we should switch to use python-distro-info. This additionally mean that MAAS, on the Settings Page, should only show the currently available Ubuntu Releases for Commissioning if the boot images are imported. ** Also affects: maas (Ubuntu) Importance: Undecided Status: New ** Changed in: maas Status: New = Confirmed ** Changed in: maas (Ubuntu) Status: New = Confirmed ** Changed in: maas Importance: Undecided = Medium ** Changed in: maas (Ubuntu) Importance: Undecided = Medium ** Changed in: maas Assignee: (unassigned) = Blake Rouse (blake-rouse) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
That diff is bogus, it won't apply to trunk as the enum was moved. Also, we should *not* be using python-distro-info please; the list of OSes and releases is driven by images imported on the clusters and thus ultimately the simplestreams data for available images. There's another bug somewhere (my search-fu is failing me right now) about removing that enum entirely and replacing it with information that comes from the cluster controllers, as they are the ultimate arbiter of what can be installed. A lot of work was done towards this goal at the coding sprint in March, but there was no time to finish it. But basically there is code elsewhere that polls all the clusters and gets their supported OS releases and combines to a single list. This just needs hooking up in that drop-down. Then, the enum-based code in provisioningserver/drivers/osystem/ubuntu.py can be removed entirely. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1337437] Re: maas needs utopic support
** Changed in: maas Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1337437 Title: maas needs utopic support To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1337437/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs