a kernel option for ubuntu breaks cobbler import distro in cobbler.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compass |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Usage: cobbler [options]
cobbler: error: no such option: --kopts
failed to import /mnt/Ubuntu-
lock /tmp/install.sh
sudo cobbler import --path=
Here is the offending patch: https:/
cobbler import doesn't support --kopts option. only cobbler distro edit does.
The reason it passed CI is that the test node already had ubuntu distro on cobbler and cobbler import didn't get the chance to run. That is another oversight in zuul configuration. compass-dev-demo job didn't have single_use_node parameter, so it didn't got removed even after a build has already run on it.
2014-11-09 22:48:35.175 | ++ for distro in '$(cobbler distro list)'
2014-11-09 22:48:35.175 | ++ '[' Ubuntu-12.04-x86_64 == Ubuntu-12.04-x86_64 ']'
2014-11-09 22:48:35.176 | ++ found_ubuntu_
2014-11-09 22:48:35.176 | ++ '[' 1 == 0 ']'
2014-11-09 22:48:35.176 | ++ echo 'distro Ubuntu-12.04-x86_64 has already existed'
2014-11-09 22:48:35.176 | distro Ubuntu-12.04-x86_64 has already existed
http://
Changed in compass: | |
status: | New → Fix Committed |
Change abandoned by Jerry Zhao (<email address hidden>) on branch: dev/experimental /review. openstack. org/135257
Review: https:/
Reason: Xiaodong's patch should also fix the problem.