If you run: # katello-installer --reset you get an error: foreman_bootdisk: skipping engine hook (PGError: ERROR: relation "template_kinds" does not exist LINE 4: WHERE a.attrelid = '"template_kinds"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"template_kinds"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum ) this is because we are missing this commit from upstream: https://github.com/theforeman/puppet-foreman/pull/277 need to get this backported.
The error that I face every time I use --reset is: /usr/share/foreman/script/foreman-rake config -- -k ssl_ca_file -v '/etc/foreman/proxy_ca.pem' -k ssl_certificate -v '/etc/foreman/client_cert.pem' -k ssl_priv_key -v '/etc/foreman/client_key.pem' returned 1 instead of one of [0] /Stage[main]/Certs::Foreman/Exec[foreman_certs_config]/returns: change from notrun to 0 failed: /usr/share/foreman/script/foreman-rake config -- -k ssl_ca_file -v '/etc/foreman/proxy_ca.pem' -k ssl_certificate -v '/etc/foreman/client_cert.pem' -k ssl_priv_key -v '/etc/foreman/client_key.pem' returned 1 instead of one of [0] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[sat6.example.com]: Could not evaluate: 500 Internal Server Error Last time I tried was in the Satellite-6.1.0-RHEL-7-20150311.0 build.
we have a fix for this, just needs merging
I have the same error on a fresh installation (without --reset) with rhel 7.* I'm assuming the proposed fix would solve both cases but I thought I'd mention it here anyway.
Created attachment 1004615 [details] katello logs
Created attachment 1004616 [details] foreman-debug
VERIFIED with Satellite-6.1.0-RHEL-7-20150317.0 [root@xyz ~]# katello-installer --reset Redirecting to /bin/systemctl stop httpd.service Installing Done [100%] [..........................................................................................................] Success! * Katello is running at https://xyz.redhat.com Initial credentials are admin / sP5TirsxeesiaQnH * Capsule is running at https://xyz.redhat.com:9090 * To install additional capsule on separate machine continue by running:" capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar" The full log is at /var/log/katello-installer/katello-installer.log [root@xyz ~]# cat /etc/yum/vars/composeid Satellite-6.1.0-RHEL-7-20150317.0
This bug is slated to be released with Satellite 6.1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592