Posts

Showing posts from July, 2015

Product content on Activation Key is not show anything is just show Loading on Katello

This a bug that''s already know and the fix is update ruby193-rubygem-rabl For RHEL 6 http://koji.katello.org/koji/buildinfo?buildID=23400 For RHEL 7 http://koji.katello.org/koji/buildinfo?buildID=23401 After update just restart the apache server For RHEL 6 #service httpd restart For RHEL 7 #systemctl restart httpd

Export from Spacewalk to Katello Configuration and Channels

Spacewalk    Login in you spacewalk server via ssh 1.-Export Spacewalk Data with the following command #spacewalk-export --export-dir=/export 2.- Import the data into the /tmp of katello and uncompress #tar xf spacewalk_export.tar.gz     Get hammer cli for import the data into katello wget https://github.com/Katello/hammer-cli-import/archive/master.zip mkdir hammer mv master.zip hammer/ cd hammer/ unzip master.zip cd hammer-cli-import-master/ mkdir ~/.hammer cat >> ~/.hammer/cli_config.yml << EOF :modules: - hammer_cli_import EOF cd hammer/hammer-cli-import-master/ env RUBYOPT=-Ilib hammer import all --directoy=/tmp/exports

Resign Spacewalk Certificate

1.- First verify if the current certificate is already expire #spacewalk-sql -i <<< 'select expires from rhnsatellitecert where created=(select max(created) from rhnsatellitecert);'         expires ------------------------  2015-07-13 00:00:00+12 (1 row) 2.- If the certificate is already expired run the following command to resign the certificate #rhn-satellite-activate --rhn-cert /usr/share/spacewalk/setup/spacewalk-public.cert --disconnected 3.- Check again certificate expired date #spacewalk-sql -i <<< 'select expires from rhnsatellitecert where created=(select max(created) from rhnsatellitecert);'         expires ------------------------  2018-07-13 00:00:00+12 (1 row) All done