[Bug 1508565] Re: maas uses 3.13 (hwe-t) kernel which does not work on IBM power
I did some investigation on option 'b' above. Attached is a bunch of doc on how i did that. The summary is we can exploit bug 1508975 to make all maas ppc64el users to start getting hwe-v instead of hwe-t by default by deleting the 'com.ubuntu.maas.daily:v2:boot:14.04:amd64:hwe-t' from existance. The next time 'import' runs in maas, the 'hwe-v' kernel would be used for enlistment and commissioning. That would have some interesting consequences, though: i. Users will get systems installed with hwe-w. Curtin assumes booting with hwe-N means installation of hwe-N is desired. ii. When hwe-w arrives it will automatically be used. I have not verified this, but I suspect that when 'hwe-w' arrives in stream data, then boot and enlistment would then magically move to using hwe-w, and then again with hwe-x. This assumption is based on the fact that my test deletion of hwe-t resulted in use of hwe-v rather than hwe-u (newest rather than oldest). I' That moving probably ends in hwe-x , and thus after 2016.05 as hwe-x is last kernel for trusty. iii. Users who were happy with hwe-t (kvm guests) will need manual action for install of hwe-t As a user, the "hwe-kernel ride" above seems a necessary evil at best. However, its not necessary for those on virtual hardware. hwe-t works well there and as a result is probably the recommended path for a user in a virtual machine. Those users would now have to manually 'apt-get install linux-generic && reboot' after installation to get that kernel. ** Attachment added: "detains on investigation" https://bugs.launchpad.net/maas-images/+bug/1508565/+attachment/4502562/+files/lp-1508565-investigation.txt ** Summary changed: - maas uses 3.13 (hwe-t) kernel which does not work on IBM power + maas uses 3.13 (hwe-t) kernel which does not work on non virtual IBM power ** Summary changed: - maas uses 3.13 (hwe-t) kernel which does not work on non virtual IBM power + maas uses 3.13 (hwe-t) kernel which does not work on non-virtual IBM power -- 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/1508565 Title: maas uses 3.13 (hwe-t) kernel which does not work on non-virtual IBM power To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1508565/+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 1508565] Re: maas uses 3.13 (hwe-t) kernel which does not work on IBM power
** Also affects: maas Importance: Undecided Status: New ** Changed in: maas Milestone: None => 1.8.4 -- 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/1508565 Title: maas uses 3.13 (hwe-t) kernel which does not work on IBM power To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1508565/+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 1508565] Re: maas uses 3.13 (hwe-t) kernel which does not work on IBM power
the one option that has been floated that i didnt list above is: c. lie in data and make 'hwe-t' product contain the hwe-u (or hwe-v) kernel this is less than ideal because it seems almost certain that at some point someone will expect quite reasonably that they're using hwe-t and they're not. -- 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/1508565 Title: maas uses 3.13 (hwe-t) kernel which does not work on IBM power To manage notifications about this bug go to: https://bugs.launchpad.net/maas-images/+bug/1508565/+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 1508565] Re: maas uses 3.13 (hwe-t) kernel which does not work on IBM power
Some data: http://paste.ubuntu.com/12887493/ (same data is below, but for formatting the paste is nicer). The problem stated (and generally known) is that hwe-t kernels do not reliably boot on power8 in powernv ("bare metal" mode). There are at least 2 possible solutions to this problem: a.) fix maas to be able to set a subarch ('hwe-u') for enlistment and commissioning. b.) remove the 'hwe-t' stream data from existance and hope that maas then uses the 'hwe-u' product in its place. 'a' has been reported as to be fixed in 1.9, and thats great, but that does not help users for the short term. For 'b', this is still less than ideal for several reasons: 1.) hwe-t (3.13) kernels work fine on ppc64 kvm VMs If i were a user of maas driving ppc64 kvm VMS (PowerKVM or Ubuntu), then I'd be quite happy with 3.13/hwe-t which has support until 2019.04 . I'd much prefer staying on that supported kernel to the "interim kernel upgrade path" [1]. Ie, If I installed a hwe-u kernel that kernel is only supported for 10 more months (2016.08). If we remove that product, we'll no longer have a way of installing 14.04+hwe-t. 2.) If we remove the 'hwe-t' stream, we're essentially deleting a product on the server side and hoping that maas systems will follow that deletion. I'd hope that maas doesn't do that, as it would mean a error on the server side could completely wipe out installable systems on the target. The code i've written for mirroring streams does not delete products locally unless specifically told to. So, likely an existing user *still* has to do something manually to fix this problem. 3.) its not clear if this would work or not. Small amount of testing would get us an answer, but not clear yet, and I personally didn't understand how it happens in code. [1] https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Kernel.2BAC8-Support.A14.04.x_Ubuntu_Kernel_Support -- data in line -- $ fmt="%(product_name)s %(kflavor)s %(kpackage)s %(subarch)s %(subarches)s" $ daily=http://maas.ubuntu.com/images/ephemeral-v2/daily/streams/v1/com.ubuntu.maas:daily:v2:download.json $ releases=http://maas.ubuntu.com/images/ephemeral-v2/releases/streams/v1/com.ubuntu.maas:v2:download.json ## ## From daily, we have trusty builds for only hwe-t, hwe-u ## $ sstream-query --max=1 --output-format="$fmt" $releases ftype=boot-kernel release=trusty arch=ppc64el | column -t com.ubuntu.maas:v2:boot:14.04:ppc64el:hwe-tgeneric linux-generic hwe-t generic,hwe-p,hwe-q,hwe-r,hwe-s,hwe-t com.ubuntu.maas:v2:boot:14.04:ppc64el:hwe-ugeneric linux-generic-lts-utopic hwe-u generic,hwe-p,hwe-q,hwe-r,hwe-s,hwe-t,hwe-u ## ## From daily, we have trusty builds for each hwe-t, hwe-u, hwe-v ## $ sstream-query --max=1 --output-format="$fmt" $daily ftype=boot-kernel release=trusty arch=ppc64el | column -t com.ubuntu.maas.daily:v2:boot:14.04:ppc64el:hwe-t generic linux-generic hwe-t generic,hwe-p,hwe-q,hwe-r,hwe-s,hwe-t com.ubuntu.maas.daily:v2:boot:14.04:ppc64el:hwe-u generic linux-generic-lts-utopic hwe-u generic,hwe-p,hwe-q,hwe-r,hwe-s,hwe-t,hwe-u com.ubuntu.maas.daily:v2:boot:14.04:ppc64el:hwe-v generic linux-generic-lts-vivid hwe-v generic,hwe-p,hwe-q,hwe-r,hwe-s,hwe-t,hwe-u,hwe-v -- 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/1508565 Title: maas uses 3.13 (hwe-t) kernel which does not work on IBM power To manage notifications about this bug go to: https://bugs.launchpad.net/maas-images/+bug/1508565/+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 1508565] Re: maas uses 3.13 (hwe-t) kernel which does not work on IBM power
** Summary changed: - simplestream uses 3.13 kernel which does not work on IBM power + maas uses 3.13 (hwe-t) kernel which does not work on IBM power ** Also affects: maas (Ubuntu) Importance: Undecided Status: New ** No longer affects: simplestreams ** Also affects: maas-images Importance: Undecided Status: New -- 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/1508565 Title: maas uses 3.13 (hwe-t) kernel which does not work on IBM power To manage notifications about this bug go to: https://bugs.launchpad.net/maas-images/+bug/1508565/+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