Description of problem:
When the organisation name contains special characters, e.g. 'Example, Inc.' it causes cobbler to fail upon creating a kickstart file.
When Cobbler creates the kickstart name, e.g. 1:servers:Red-Hat, it replaces spaces with '-', yet it doesn't seem to be able to manage special characters such as ',' and '.'. If this is the case then customers/users should not be able to input these into the organisation name, they should also never appear in Satellite Certificates.
Version-Release number of selected component (if applicable):
RHN Satellite 5.3.0 Embedded-Database
Every time for me on RHN Satellite 5.3.0.
Steps to Reproduce:
1. Create an Organisation with a name that contains special characters, e.g. ','
2. Login as an Organisation Admin or a user that can create kickstarts
3. Attempt to create a kickstart file for this organisation
'Internal Server Error'
The server is unable to create the kickstart file, there's no evidence of anything in the Satellite UI, it's not partially created at all.
Kickstart created based on the organisation, either Satellite or Cobbler needs to be able to parse organisation names with special characters or not allow them to be entered at all.
If the organisation is renamed (even with software/configuration channels assigned) to one without the special characters, e.g. from our previous example 'Example Inc', kickstarts are able to be made straight away.
Log files do show that there's an error in the name (/var/log/tomcat5/catalina.out)
What version of spacewalk-java is installed on this satellite?
This should have already been fixed (just need to yum update spacewalk-java).
spacewalk-java wasn't even installed on the Satellite! I did a 'yum install' and it provided me with: spacewalk-java.noarch 0:0.5.44-51.el5sat
The exact error message we're getting in the Catalina log file is as follows:
redstone.xmlrpc.XmlRpcFault: cobbler.cexceptions.CX:'invalid characters in name'
Please open a support ticket for this. Right now we feel this is not a bug and most likely Red Hat Support will be able to confirm cause and resolution.
Thanks Cliff, I've been advised that this has actually been resolved in spacewalk-java.
You may close the ticket.