Actions
Bug #23553
closedonline backup fails for satellite 6.1
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Version:
- rpm -q katello
katello-2.2.0.19-1.el7sat.noarch - rpm -q foreman
foreman-1.7.2.63-1.el7sat.noarch - rpm -q mongodb
mongodb-2.4.9-3.el7sat.x86_64
- ./bin/foreman-maintain backup online /tmp/
-------------------------------------------------------------------------------- Backup Mongo online: - Getting dump of Mongo DB [FAIL] Failed executing mongodump --host localhost --port 27017 -d --out /tmp/satellite-backup-2018-05-10-02-29-14/mongo_dump, exit status 2: ERROR: too many positional options have been specified on the command line Export MongoDB data to BSON files. options: --help produce help message -v [ --verbose ] be more verbose (include multiple times for more verbosity e.g. -vvvvv) --version print the program's version and exit -h [ --host ] arg mongo host to connect to ( <set name>/s1,s2 for sets) --port arg server port. Can also use --host hostname:port --ipv6 enable IPv6 support (disabled by default) --ssl use SSL for all connections -u [ --username ] arg username -p [ --password ] arg password --authenticationDatabase arg user source (defaults to dbname) --authenticationMechanism arg (=MONGODB-CR) authentication mechanism --dbpath arg directly access mongod database files in the given path, instead of connecting to a mongod server - needs to lock the data directory, so cannot be used if a mongod is currently accessing the same path --directoryperdb each db is in a separate directly (relevant only if dbpath specified) --journal enable journaling (relevant only if dbpath specified) -d [ --db ] arg database to use -c [ --collection ] arg collection to use (some commands) -o [ --out ] arg (=dump) output directory or "-" for stdout -q [ --query ] arg json query --oplog Use oplog for point-in-time snapshotting --repair try to recover a crashed database --forceTableScan force a table scan (do not use $snapshot) -------------------------------------------------------------------------------- Scenario [Backup] failed. The following steps ended up in failing state: [backup-online-mongo] Resolve the failed steps and rerun the command. In case the failures are false positives, use --whitelist="backup-online-mongo" Running Failed backup cleanup ================================================================================ Clean up backup directory: [OK] --------------------------------------------------------------------------------
Actions