Project

General

Profile

Bug #10283

Installer fails when alternate directory is defined

Added by Bryan Kearney about 4 years ago. Updated 11 months ago.

Status:
New
Priority:
Low
Assignee:
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1124553
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


Related issues

Copied to Installer - Bug #16250: Installer fails when alternate directory is definedResolved2015-04-27

Associated revisions

Revision 405f1cea (diff)
Added by Stephen Benjamin almost 3 years ago

refs #10283 - mark parameters advanced (#91)

Anything other than "Parameters" are not shown by default in Kafo help.
This makes the installer help shorter, and reduces the chance users will
change options that really shouldn't be changed unless you really really
really know what you're doing.

Revision 405f1cea (diff)
Added by Stephen Benjamin almost 3 years ago

refs #10283 - mark parameters advanced (#91)

Anything other than "Parameters" are not shown by default in Kafo help.
This makes the installer help shorter, and reduces the chance users will
change options that really shouldn't be changed unless you really really
really know what you're doing.

Revision 0deb571f (diff)
Added by Stephen Benjamin over 2 years ago

refs #10283 - mark parameters advanced (#139)

Revision 02553ce7 (diff)
Added by Stephen Benjamin over 2 years ago

refs #10283 - mark parameters advanced

Anything other than "Parameters" are not shown by default in Kafo help.
This makes the installer help shorter, and reduces the chance users will
change options that really shouldn't be changed unless you really really
really know what you're doing.

Revision 069c196f
Added by Stephen Benjamin over 2 years ago

refs #10283 - mark parameters advanced (#101)

Anything other than "Parameters" are not shown by default in Kafo help.
This makes the installer help shorter, and reduces the chance users will
change options that really shouldn't be changed unless you really really
really know what you're doing.

History

#1 Updated by Eric Helms about 4 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

#2 Updated by Eric Helms almost 4 years ago

  • Legacy Backlogs Release (now unused) changed from 31 to 70

#3 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 70 to 86

#4 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 143

#5 Updated by Justin Sherrill almost 3 years ago

  • Legacy Backlogs Release (now unused) changed from 143 to 114

#6 Updated by Stephen Benjamin almost 3 years ago

  • Copied to Bug #16250: Installer fails when alternate directory is defined added

Also available in: Atom PDF