Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1487825 Details for
Bug 1631944
foreman-maintain restore failed: undefined method `keys'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
console output
backup-restore.log (text/plain), 7.22 KB, created by
Mike McCune
on 2018-09-27 16:40:39 UTC
(
hide
)
Description:
console output
Filename:
MIME Type:
Creator:
Mike McCune
Created:
2018-09-27 16:40:39 UTC
Size:
7.22 KB
patch
obsolete
>[root@sat-r220-01 ~]# foreman-maintain backup offline /var/tmp/ >Starting backup: 2018-09-26 15:45:41 -0400 >Running preparation steps required to run the next scenarios >================================================================================ >Make sure Foreman DB is up: >/ Checking connection to the Foreman DB [OK] >-------------------------------------------------------------------------------- > > >Running Backup >================================================================================ >Confirm turning off services is allowed: >WARNING: This script will stop your services. > >Do you want to proceed?, [y(yes), q(quit)] y > [OK] >-------------------------------------------------------------------------------- >Prepare backup Directory: >Creating backup folder /var/tmp/satellite-backup-2018-09-26-15-45-41 [OK] >-------------------------------------------------------------------------------- >Check if the directory exists and is writable: [OK] >-------------------------------------------------------------------------------- >Generate metadata: >| Saving metadata to metadata.yml [OK] >-------------------------------------------------------------------------------- >Backup config files: >\ Collecting config files to backup [OK] >-------------------------------------------------------------------------------- >Turn on maintenance mode: [OK] >-------------------------------------------------------------------------------- >Stop applicable services: >Stopping the following service(s): > >rh-mongodb34-mongod, postgresql, qdrouterd, qpidd, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, tomcat, dynflowd, httpd, puppetserver, foreman-proxy >| All services stopped [OK] >-------------------------------------------------------------------------------- >Backup Pulp data: >/ Collecting Pulp data [OK] >-------------------------------------------------------------------------------- >Backup mongo offline: >\ Collecting Mongo data [OK] >-------------------------------------------------------------------------------- >Backup Candlepin DB offline: >/ Collecting data from /var/lib/pgsql/data/ [OK] >-------------------------------------------------------------------------------- >Backup Foreman DB offline: >Already done [OK] >-------------------------------------------------------------------------------- >Start applicable services: >Starting the following service(s): > >rh-mongodb34-mongod, postgresql, qdrouterd, qpidd, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, tomcat, dynflowd, httpd, puppetserver, foreman-proxy >- All services started [OK] >-------------------------------------------------------------------------------- >Turn off maintenance mode: [OK] >-------------------------------------------------------------------------------- >Compress backup data to save space: >\ Compressing backup of Postgress DB >- Compressing backup of Mongo DB [OK] >-------------------------------------------------------------------------------- > >Done with backup: 2018-09-26 15:50:27 -0400 >**** BACKUP Complete, contents can be found in: /var/tmp/satellite-backup-2018-09-26-15-45-41 **** >[root@sat-r220-01 ~]# foreman-maintain restore /var/tmp/satellite-backup-2018-09-26-15-45-41 >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. >Do you want to proceed?, [y(yes), q(quit)] y > [OK] >-------------------------------------------------------------------------------- >Validate hostname is the same as backup: [OK] >-------------------------------------------------------------------------------- >Setting file security: >\ Restoring SELinux context [OK] >-------------------------------------------------------------------------------- >Restore configs from backup: >\ Restoring configs [OK] >-------------------------------------------------------------------------------- >Run installer reset: >- Installer reset [OK] >-------------------------------------------------------------------------------- >Stop applicable services: >Stopping the following service(s): > >rh-mongodb34-mongod, postgresql, qdrouterd, qpidd, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, tomcat, dynflowd, httpd, puppetserver, foreman-proxy >\ All services stopped [OK] >-------------------------------------------------------------------------------- >Extract any existing tar files in backup: >/ Extracting pgsql data [OK] >-------------------------------------------------------------------------------- >Migrate pulp db: >\ Migrating pulp database [OK] >-------------------------------------------------------------------------------- >Start applicable services: >Starting the following service(s): > >rh-mongodb34-mongod, postgresql, qdrouterd, qpidd, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, tomcat, dynflowd, httpd, puppetserver, foreman-proxy >/ All services started [OK] >-------------------------------------------------------------------------------- >Run daemon reload: [OK] >-------------------------------------------------------------------------------- > >[root@sat-r220-01 ~]# hammer ping >candlepin: > Status: ok > Server Response: Duration: 14ms >candlepin_auth: > Status: ok > Server Response: Duration: 11ms >pulp: > Status: ok > Server Response: Duration: 66ms >pulp_auth: > Status: ok > Server Response: Duration: 28ms >foreman_tasks: > Status: ok > Server Response: Duration: 49ms > >[root@sat-r220-01 ~]# > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1631944
: 1487825