We store our kickstarts in: /var/lib/rhn/kickstarts They are named: <profile-name>--<orgid>--<Org Name>.cfg eg: f9-i386--1--Shannon_Hughes.cfg If the user re-activates their satellite with a new cert that has a different Org Name this will cause kickstarts to break because the cobbler profile will still have the *old* kickstart cfg file in its record: kickstart : /var/lib/rhn/kickstarts/f9-i386--1--Spacewalk_Public_Cert.cfg we need to go through and correct all the cobbler profiles 'kickstart' fields if the org name changes.
Also noticed that changing the label of a kickstart profile in Spacewalk's GUI causes a 500 error: redstone.xmlrpc.XmlRpcFault: exceptions.TypeError:update() takes at most 2 arguments (4 given) at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:443) at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376) at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165) at org.cobbler.CobblerConnection.invokeMethod(CobblerConnection.java:102) at org.cobbler.CobblerConnection.invokeTokenMethod(CobblerConnection.java:138) at org.cobbler.CobblerObject.setName(CobblerObject.java:276) at com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileEditCommand.store(CobblerProfileEditCommand.java:56)
So now kickstarts will be created in /var/lib/rhn/kickstarts/upload /var/lib/rhn/kickstarts/wizard depending on type. We create the file with 'label-orgid.cfg' but never actually rename it. If the user wants to he can rename it in cobbler. So now we pull the filename from cobbler and just figure it out every time.
commit 1002da08c37b40d04b3f2655f688389ebb09f766 tree aa8c4fcea5a73f5cf9d05ac2367b16a9119fcb2e tree | snapshot parent 565e67f3662cbe5e0fce10d557142051b909a3b8 commit | diff
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.