Project

General

Profile

Actions

Bug #31394

closed

Backup restore fails with Unrecognised option '--reset'

Added by Amit Upadhye over 3 years ago. Updated over 3 years ago.

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

Description

backup restore is failing on Foreman 2.2 and 2.3 RC2 with below error,

~~~
[root@puppet ~]# yes | foreman-maintain restore $RESTORE_DIR
Running Restore backup ================================================================================
Check if command is run as root user: [OK]
--------------------------------------------------------------------------------
Validate backup has appropriate files: [OK]
--------------------------------------------------------------------------------
Confirm dropping databases and running restore:

WARNING: This script will drop and restore your database.
Your existing installation will be replaced with the backup database.
Once this operation is complete there is no going back.
[OK]
--------------------------------------------------------------------------------
Validate hostname is the same as backup: [OK]
--------------------------------------------------------------------------------
Setting file security:
- Restoring SELinux context [OK]
--------------------------------------------------------------------------------
Restore configs from backup:
\ Restoring configs [OK]
--------------------------------------------------------------------------------
Ensure restored MongoDB storage engine matches the current DB: [OK]
--------------------------------------------------------------------------------
Run installer reset:
- Installer reset [FAIL]
Failed executing yes | foreman-installer -v --reset , exit status 1:
ERROR: Unrecognised option '--reset'

See: 'foreman-installer --help'
--------------------------------------------------------------------------------
Scenario [Restore backup] failed.
~~~

Actions #1

Updated by The Foreman Bot over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/426 added
Actions #2

Updated by Amit Upadhye over 3 years ago

  • Bugzilla link set to 1901919
Actions #3

Updated by Amit Upadhye over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF