Bug #19276
closed--reset should stop workers or it will fail on pulp-manage-db
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: scheduler@satellite.satlab.lan
[ WARN 2017-04-14 04:04:41 verbose] /Stage[main]/Pulp::Database/Exec[migrate_pulp_db]/returns: reserved_resource_worker-0@satellite.satlab.lan
[ WARN 2017-04-14 04:04:41 verbose] /Stage[main]/Pulp::Database/Exec[migrate_pulp_db]/returns: resource_manager@satellite.satlab.lan
[ WARN 2017-04-14 04:04:41 verbose] /Stage[main]/Pulp::Database/Exec[migrate_pulp_db]/returns: reserved_resource_worker-1@satellite.satlab.lan
[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
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello-installer/pull/499 added
Updated by Chris Roberts over 7 years ago
- Translation missing: en.field_release set to 114
Updated by The Foreman Bot over 7 years ago
- Translation missing: en.field_release deleted (
114)
Updated by Chris Roberts over 7 years ago
- Translation missing: en.field_release set to 211
- Bugzilla link set to 1444188
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|f05e8d737e4a463c16bb3694c61e8c6e13ebd359.
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/Katello/katello-installer/pull/501 added