Red Hat Bugzilla – Bug 1011856
Create Repository fails without usefull error message
Last modified: 2014-03-04 08:09:02 EST
Description of problem:
When trying to create a yum repository with more than 64 chars in Label, the WebUi gives the missleading:
Repository created successfully
Internal Server Error
The server experienced a problem which prevented your request from being filled out. It may not be possible to execute this action at this time.
Please help us correct this problem by contacting us with details of how you received this message.
In /var/log/tomcat6/catalina.out the real reason is visible:
Caused by: java.sql.SQLException: ORA-12899: value too large for column "SPACEWALK"."RHNCONTENTSOURCE"."LABEL" (actual: 70, maximum: 64)
Version-Release number of selected component (if applicable):
detected in: spacewalk-oracle.noarch 1.9.2-1.el6, probably applicable to all versions
Steps to Reproduce:
1. Create repo with Label >64 characters
2. see /var/log/tomcat6/catalina.out
Repository is not beeing added despite the WebUI tells "created successfully" plus giving no useful error message.
WebUI should prevent entering more than 64 characters OR error message should state that Label is too long
Switching MODIFIED Spacewalk bugs to ON_QA before 2.1 release.
Spacewalk 2.1 has been released.