Kernel opts tagging feature missing completely
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MAAS | ||||||
1.2 |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
The Global Kernel Parameters UI field and kernel_opts tagging fields are missing completely from MAAS/1.2 and the daily maintainer ppa for quantal.
kernel_opts variable is currently missing from /src/maaserver/
Fix:
@@ -89,6 +89,8 @@
tag.
:ivar comment: A long-form description for humans about what this tag is
trying to accomplish.
+ :ivar kernel_opts: Optional kernel command-line parameters string to be
+ used in the PXE config for nodes with this tags.
:ivar objects: The :class:
"""
@@ -101,6 +103,7 @@
definition = TextField(
comment = TextField(
+ kernel_opts = TextField(
objects = TagManager()
After the above patch is applied I can now assign a valid kernel_opts parameter to a named tag:
>>> maasserver.
[{'comment': u'', 'definition': u'', 'updated': datetime.
This of course does not fix the missing kernel_opts values in the MAAS UI
This apparently was present in the 1.2 branch and then was removed by https:/ /code.launchpad .net/~jameinel/ maas/1. 2-remove- kernel- opts/+merge/ 133425. The commit message says:
"""This removes the recent patches to add kernel_opts to the 1.2 branch.
We'll land it instead on trunk, and then it will get backported in the future once a bugfix only SRU was done."""
I'll ask jam or gz to comment on this.