Description of problem: katello-installer --certs-log-dir /local1/satellite6/certs --certs-ssl-build-dir /local1/satellite6/ssl-build --foreman-app-root /local1/satellite6/foreman --foreman-puppet-home /local1/satellite6/puppet --katello-config-dir /local1/satellite6/foreman/plugins --katello-log-dir /local1/satellite6/foreman/log/plugins The first run completely failed and I would have expected the installer to create the directory. The second run went better but still failed after creating /local1/satellite6. [root@totlx90101 tmp]# katello-installer --certs-log-dir /local1/satellite6/certs --certs-ssl-build-dir /local1/satellite6/ssl-build --foreman-app-root /local1/satellite6/foreman --foreman-puppet-home /local1/satellite6/puppet --katello-config-dir /local1/satellite6/foreman/plugins --katello-log-dir /local1/satellite6/foreman/log/plugins Could not set 'file' on ensure: cannot generate tempfile `/local1/satellite6/ssl-build/rhsm-katello-reconfigure20140729-23332-14mpoaz-9' at 20:/usr/share/katello-installer/modules/certs/manifests/katello.pp Could not set 'file' on ensure: cannot generate tempfile `/local1/satellite6/ssl-build/rhsm-katello-reconfigure20140729-23332-14mpoaz-9' at 20:/usr/share/katello-installer/modules/certs/manifests/katello.pp /Stage[main]/Certs::Katello/File[/local1/satellite6/ssl-build/rhsm-katello-reconfigure]/ensure: change from absent to file failed: Could not set 'file' on ensure: cannot generate tempfile `/local1/satellite6/ssl-build/rhsm-katello-reconfigure20140729-23332-14mpoaz-9' at 20:/usr/share/katello-installer/modules/certs/manifests/katello.pp Could not start Service[mongodb]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait mongod start' returned 1: Starting mongod: [ OK ] /Stage[main]/Mongodb::Server::Service/Service[mongodb]/ensure: change from stopped to running failed: Could not start Service[mongodb]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait mongod start' returned 1: Starting mongod: [ OK ] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache]/Exec[foreman-rake-apipie:cache]: Failed to call refresh: /usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache]/Exec[foreman-rake-apipie:cache]: /usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0] Installing Done [100%] [.....................................................................................] Something went wrong! Check the log for ERROR-level output The full log is at /var/log/katello-installer/katello-installer.log Version-Release number of selected component (if applicable): satellite 6 beta How reproducible: See above Actual results: Expected results: Additional info: Having a separate install directory locations allows for portability
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.
WORKAROUND: Do not specify alternate directories and accept the default options.
WORKAROUND: Do not specify any of the options that change a deployment directory, this would be any argument ending in -dir. Do NOT use any of the following options in the installer: --certs-log-dir When the log files should go (default: "/var/log/certs") --certs-password-file-dir The location to store password files (default: "certs::params::password_file_dir") --certs-pki-dir The PKI directory under which to place certs (default: "/etc/pki/katello") --certs-ssl-build-dir The directory where SSL keys, certs and RPMs will be generated (default: "/root/ssl-build") --foreman-app-root Name of foreman root directory (default: "/usr/share/foreman") --foreman-puppet-home Puppet home directory (default: "/var/lib/puppet") --katello-config-dir Location for Katello config files (default: "/etc/foreman/plugins") --katello-log-dir Location for Katello log files to be placed (default: "/var/log/foreman/plugins")
Not sure comment #5 is a "workaround", that is just saying don't use these options which we mention in the --help output.
Unclear if this make 6.1 but at a minimum maybe it would make sense to not make these options available.
sorry I mean make the option unavailable
Created redmine issue http://projects.theforeman.org/issues/10283 from this bug
Upstream bug assigned to inecas
Updating title to reflect the goal of this BZ. There are a LOT of parameters that are advanced, and should not be touched by end users. Switches customers intended to be used can be shown under the installer's '--help', everything else should get moved as Advanced in the various puppet classes. BZ1265982 is also included here, the repo management options will also be marked advanced. This has the added benefit of reducing the size of the --help output significantly (> 33% reduction).
*** Bug 1265982 has been marked as a duplicate of this bug. ***
This did not make the 1.15/3.5 cut. I am pushing this out to sat-backlog.
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.