Bug 1117265

Summary: Installing RHN Satellite 6 beta - katello installer
Product: Red Hat Satellite Reporter: LuSt <lukasz.strzelec>
Component: InstallationAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, bkearney, chrobert, mmccune, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 14370, Installation Guide-6.0 Beta-1 Build Date: 30-06-2014 17:42:29 Topic IDs: 11163-680186 [Latest]
Last Closed: 2015-03-09 16:50:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Katello installer log none

Description LuSt 2014-07-08 12:19:40 UTC
Created attachment 916345 [details]
Katello installer log

Title: Installing RHN Satellite 6 beta  - katello installer - serverall issues

Installation was performed on RHEL 6.5 subscribed to proper channels with accordance with documentation provided by vendor.

Describe the issue:
Following errors occurred during configuration process:

1)  Permissions /ownership of "/usr/share/tomcat6/conf/keystore"

lrwxrwxrwx. 1 tomcat foreman 25 Jul  8 13:31 /usr/share/tomcat6/conf/keystore -> /etc/pki/katello/keystore

before:
-rw-r-----. 1 root root 2898 Jul  8 13:31 /etc/pki/katello/keystore

after cahnges (below error was fixed):
-rw-r-----. 1 tomcat foreman 2898 Jul  8 13:31 /etc/pki/katello/keystore

LOG:

/Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done returned 8 instead of one of [0]
-------------------------------------------------------------------------------

2) Permissions /ownership of /etc/foreman-proxy/ssl_cert.pl

before:
Owned by root.

after(below error was fixed):
/etc/foreman-proxy/
-rw-r--r--.   1 foreman-proxy foreman-proxy  4550 Jul  8 13:31 settings.yml
-rw-r-----.   1 foreman-proxy foreman        5376 Jul  8 13:28 ssl_ca.pem
-rw-r-----.   1 foreman-proxy foreman        5425 Jul  8 13:28 ssl_cert.pem
-r--------.   1 foreman-proxy foreman        1675 Jul  8 13:28 ssl_key.pem


LOG:
Could not start Service[foreman-proxy]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait foreman-proxy start' returned 1: Starting foreman-proxy: Unable to access the SSL keys. Are the values correct in settings.yml and do permissions allow reading?: Permission denied - /etc/foreman-proxy/ssl_cert.pem
 /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/ensure: change from stopped to running failed: Could not start Service[foreman-proxy]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait foreman-proxy start' returned 1: Starting foreman-proxy: Unable to access the SSL keys. Are the values correct in settings.yml and do permissions allow reading?: Permission denied - /etc/foreman-proxy/ssl_cert.pem
--------------------------------------------------------------------------------

3) Password reset

LOG:
[root@lxsat6 mnt]# foreman-rake permissions:reset --trace
** Invoke permissions:reset (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `remote_id' for nil:NilClass
---
ca-----------------------------------------------------------------------------

4) Installation error: 500 Internal Server Error 

LOG:
Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (1.0ms)
Completed 500 Internal Server Error in 1293ms (Views: 282.6ms | ActiveRecord: 18.7ms)

For first 2 point it was easy to resolve. Change ownership of mentioned locations. 

The last two are not resolved. The installation /configuration was stopped. Can't login to satellite.

STATUS: Installation failed.

Additional information: The same errors appears when I try to install from ISO.

Comment 1 RHEL Program Management 2014-07-08 12:44:04 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Mike McCune 2015-03-09 16:50:04 UTC
This no longer occurs with the latest release, feel free to re-open if you are experiencing this with the Satellite 6.0 GA release.