Bug #19276

--reset should stop workers or it will fail on pulp-manage-db

Added by Chris Roberts 3 months ago. Updated 3 months ago.

Status:Closed
Priority:Normal
Assigned To:Chris Roberts
Category:Installer
Target version:Team Brad - Iteration 13
Difficulty:trivial Pull request:https://github.com/Katello/katello-installer/pull/501, https://github.com/Katello/katello-installer/pull/499
Bugzilla link:1444188
Story points-
Velocity based estimate-
ReleaseKatello 3.4.0Release relationshipAuto

Description

If you do not do katello-service stop before --reset you hit this:

[ WARN 2017-04-14 04:04:41 verbose] /Stage[main]/Pulp::Database/Exec[migrate_pulp_db]/returns: The following processes are still running, please stop the running workers before retrying the pulp-manage-db command.
[ WARN 2017-04-14 04:04:41 verbose] /Stage[main]/Pulp::Database/Exec[migrate_pulp_db]/returns:
[ WARN 2017-04-14 04:04:41 verbose] /Stage[main]/Pulp::Database/Exec[migrate_pulp_db]/returns:
[ WARN 2017-04-14 04:04:41 verbose] /Stage[main]/Pulp::Database/Exec[migrate_pulp_db]/returns:
[ WARN 2017-04-14 04:04:41 verbose] /Stage[main]/Pulp::Database/Exec[migrate_pulp_db]/returns:
[ERROR 2017-04-14 04:04:41 verbose] pulp-manage-db && touch /var/lib/pulp/init.flag returned 70 instead of one of [0]
[ERROR 2017-04-14 04:04:41 verbose] /usr/share/ruby/vendor_ruby/puppet/util/errors.rb:106:in `fail'
[ERROR 2017-04-14 04:04:41 verbose] /usr/share/ruby/vendor_ruby/puppet/type/exec.rb:160:in `sync'

Adding in katello-service stop

Associated revisions

Revision f05e8d73
Added by Chris Roberts 3 months ago

Fixes #19276 - stop pulp services on reset (#499)

Fixes #19276 - stop pulp services on reset

History

#1 Updated by The Foreman Bot 3 months ago

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

#2 Updated by Chris Roberts 3 months ago

  • Release set to Katello Backlog

#3 Updated by The Foreman Bot 3 months ago

  • Release deleted (Katello Backlog)

#4 Updated by Chris Roberts 3 months ago

  • Release set to Katello 3.4.0
  • Bugzilla link set to 1444188

#5 Updated by Anonymous 3 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/Katello/katello-installer/pull/501 added

Also available in: Atom PDF