Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Commit

Permalink
extend label in rhnContentSource table
Browse files Browse the repository at this point in the history
addressing:
$ spacewalk-common-channels -v -u adminacct -a x86_64 'oraclelinux*'
Connecting to http://localhost/rpc/api
Password:
Base channel 'Oracle Linux 5 (x86_64)' - creating...
* Child channel 'Addons for Oracle Linux 5 (x86_64)' - creating...
* Child channel 'Oracle software addons for Oracle Linux 5 (x86_64)' - creating...
* Child channel 'Spacewalk 2.2 Client for Oracle Linux 5 (x86_64)' - creating...
* Child channel 'Latest Unbreakable Enterprise Kernel for Oracle Linux 5 (x86_64)' - creating...
Traceback (most recent call last):
  File "/usr/bin/spacewalk-common-channels", line 333, in <module>
    child_info['yumrepo_url'])
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request
    headers
xmlrpclib.ProtocolError: <ProtocolError for localhost/rpc/api: 500 Internal Server Error>
  • Loading branch information
tlestach committed May 21, 2015
1 parent e9367d2 commit facb686
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion schema/spacewalk/common/tables/rhnContentSource.sql
Expand Up @@ -28,7 +28,7 @@ rhnContentSource
constraint rhn_cs_type_fk
references rhnContentSourceType(id),
source_url varchar2(2048) NOT NULL,
label varchar2(64) NOT NULL,
label varchar2(128) NOT NULL,
created timestamp with local time zone default(current_timestamp) NOT NULL,
modified timestamp with local time zone default(current_timestamp) NOT NULL
)
Expand Down
@@ -0,0 +1 @@
ALTER TABLE rhnContentSource MODIFY label VARCHAR2(128);
@@ -0,0 +1,3 @@
-- oracle equivalent source sha1 eb0d95fbef3b6b5d38eef747493c9ca58c55e2bd

ALTER TABLE rhnContentSource ALTER COLUMN label TYPE VARCHAR(128);

0 comments on commit facb686

Please sign in to comment.