[Spacewalk-devel] The next time you git pull

2010-07-29 Thread Partha Aji

I updated quite a bit of schema + java + backend code to get the symlink 
targets to use stuff from rhnConfigInfo instead of storing it as a blob in 
rhnConfigContent. More info in the description of this commit. 
http://git.fedorahosted.org/git/?p=spacewalk.git;a=commit;h=592b5c8619abd9094fd7cd9f8b7b10e5ceca608a

If you are using nightly builds you are ok, but if you are using the devel 
schema this commit will likely break it, so run the following upgrade scripts

% cd 
/spacewalk/schema/spacewalk/upgrade/spacewalk-schema-1.0-to-spacewalk-schema-1.1/
% sqlplus  connect_string  101-update-config-schema.sql
% sqlplus  connect_string  102-rhn_config-pks.sql
% sqlplus  connect_string  103-rhn_config-pkb.sql
% sqlplus  connect_string  104-rhnconfigrevision-trigger.sql
% sqlplus  connect_string  105-lookup_config_info.sql

and if you have symlinks in your config channels, run
/spacewalk/scripts/update_symlinks.py


Partha

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


[Spacewalk-devel] The next time you git pull ....

2010-04-29 Thread Partha Aji

Work was recently done on duplicate system profile detection + elimination 
which included mod'ing existing kickstart scripts to automatically generate a 
reactivation key and register themselves using the reactivation even in the 
cases one is reprovisioning using boot isos. Basically if a system has system 
id, a KS post script will try to obtain a reactivation key using that system id 
and register the system. In the case you are working with a devel setup .. Do 
the following mods..

cd /var/lib/rhn/kickstart/snippets
ln -s $SPACEWALK_GIT/java/conf/cobbler/snippets/keep_system_id 
ln -s $SPACEWALK_GIT/java/conf/cobbler/snippets/post_reactivation_key
ln -s $SPACEWALK_GIT/java/conf/cobbler/snippets/redhat_register

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel