Cobbler fail to edit profile kernel option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Matthew Mosesohn | ||
5.0.x |
Fix Committed
|
Medium
|
Matthew Mosesohn |
Bug Description
When trying to edit a ks profile with cobbler on fuel 5.0 only the first argument of the --kopts parameter is taken,
Example:
#Current setting
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'url': 'http://
#Edit profile
[root@fuel ~]# cobbler profile edit --name bootstrap --kopts "url=http://
# Profile afterward:
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'url': 'http://
If I invert the order of the parameters, again only the first argument will be taken,
Exemple:
#Edit profile
[root@fuel ~]# cobbler profile edit --name bootstrap --kopts "console=
# Profile afterward:
[root@fuel ~]# cobbler profile report --name bootstrap |grep Kernel
Kernel Options : {'console': 'ttyS0,115200'}
I searched the cobbler documentation and the syntax did not appear to have change since the last release.
These commands worked with Fuel 4.1.
Thank you.
description: | updated |
Changed in fuel: | |
milestone: | none → 5.1 |
no longer affects: | fuel/5.1.x |
Changed in fuel: | |
milestone: | 5.0.1 → 5.1 |
in 5.0 we added a field on the settings page to change the kernel options for the entire cluster so that they may be able to best suite your needs. This value can only apply after the bootstrap is complete, so may not be a good option for you.
Can you validate if you can change the setting from the cobbler web ui? https://<fuel node>/cobbler_web (cobbler:cobbler)