Actions
Bug #23720
closedforeman-maintain backup/restore fails on Foreman
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
without Katello backup fails in backup-certs-tar-exist, and backup-certs-tar-exist with similar errors
foreman-maintain backup offline -y /tmp/backup Starting backup: 2018-05-28 07:00:28 -0400 Running preparation steps required to run the next scenarios ================================================================================ Check if proxy certs_tar exist: [31m[1m[FAIL][0m undefined method `[]' for nil:NilClass -------------------------------------------------------------------------------- undefined method `[]' for nil:NilClass (NoMethodError) /usr/share/gems/gems/foreman_maintain-0.2.2/definitions/features/foreman_proxy.rb:71:in `certs_tar' /usr/share/gems/gems/foreman_maintain-0.2.2/definitions/checks/backup/certs_tar_exist.rb:21:in `certs_tar' /usr/share/gems/gems/foreman_maintain-0.2.2/definitions/checks/backup/certs_tar_exist.rb:11:in `run' /usr/share/gems/gems/foreman_maintain-0.2.2/lib/foreman_maintain/executable.rb:139:in `__run__' /usr/share/gems/gems/foreman_maintain-0.2.2/lib/foreman_maintain/check.rb:40:in `__run__' -------------------------------------------------------------------------------- Backup config files: | Collecting config files to backup [FAIL] undefined method `[]' for nil:NilClass -------------------------------------------------------------------------------- undefined method `[]' for nil:NilClass (NoMethodError) /usr/share/gems/gems/foreman_maintain-0.2.2/definitions/features/foreman_proxy.rb:71:in `certs_tar' /usr/share/gems/gems/foreman_maintain-0.2.2/definitions/features/foreman_proxy.rb:50:in `config_files' /usr/share/gems/gems/foreman_maintain-0.2.2/definitions/procedures/backup/config_files.rb:32:in `config_files' /usr/share/gems/gems/foreman_maintain-0.2.2/definitions/procedures/backup/config_files.rb:20:in `block in run'
restore fails because of foreman-installer reset:
Failed executing yes | foreman-installer -v --reset , exit status 1: ERROR: Unrecognised option '--reset'
rubygem-foreman_maintain-0.2.2
foreman 1.18 nightly
Actions