Project

General

Profile

Bug #15014

`foreman-installer --reset` does not finish successfully

Added by Stephen Benjamin about 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Installer
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1321951
Description of problem:
Foreman-Installer does not finish successfully when resetting the server.

Version-Release number of selected component (if applicable):
Satellite 6.2 SNAP 5.1 on RHEL7

How reproducible:
Always, as far as I can tell

Steps to Reproduce:
Install the SNAP based on dogfood install directions from Mission Control.

yum install <url-to-dogfood-cert> -y
subscription-manager register --org Sat6-CI --activationkey 'Satellite QA RHEL7'
yum install satellite -y
foreman-installer --scenario katello

foreman-installer --reset

Actual results:
Redirecting to /bin/systemctl stop httpd.service
/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]
Installing Done [100%] [..........................................................................]
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/katello.log

Expected results:
Successful completion

Additional info:
/var/log/foreman-installer/katello.log included in attachments

Associated revisions

Revision 9584d7ba (diff)
Added by Stephen Benjamin about 5 years ago

fixes #15014 - restore pulp db init flag (#145)

This brings back the init flag so that the puppet installer only
runs the migration once or when the user has run --reset (which
deletes the init.flag file).

History

#1 Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/333 added

#2 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) set to 86

#3 Updated by Eric Helms about 5 years ago

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

#4 Updated by Stephen Benjamin about 5 years ago

  • Pull request https://github.com/Katello/puppet-pulp/pull/145 added
  • Pull request deleted (https://github.com/Katello/katello-installer/pull/333)

#5 Updated by Stephen Benjamin about 5 years ago

  • Status changed from Ready For Testing to Closed

Merged into puppet-pulp as 9584d7ba1b3ed36fc7acab54c69003c04bf8c8c1

Also available in: Atom PDF