Project

General

Profile

Actions

Bug #4534

closed

'foreman-rake katello:reset' does not work against nightlies (3/3/14)

Added by Erik Jacobs about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

When running 'foreman-rake katello:reset' against the nightlies, various errors occur. For example:
sudo: sorry, you must have a tty to run sudo (even with sudo password for wheel disabled and the foreman user in wheel)

Couldn't drop foreman : #<ActiveRecord::StatementInvalid: PGError: ERROR: database "foreman" is being accessed by other users (even with httpd stopped)

Expected /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/models/katello/erratum_rule.rb to define Katello::ErratumRule

Actions #1

Updated by Eric Helms about 10 years ago

Note: This is specific to it's use in a production. We should either adapt this task to work in all environments or use the installer for data resets.

Actions #2

Updated by Eric Helms about 10 years ago

  • Category set to Installer
Actions #3

Updated by Eric Helms almost 10 years ago

  • Status changed from New to Closed
  • Triaged set to Yes

This is a rake task that is intended for use in development environments and we should rely on the installer to do any resetting that needs to be done.

Actions #4

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF