Bug #30809
closedSpending a long time to validate the hostname when proceeding with the restore
Description
Description of problem:
When executing the process "foreman-maintain restore <path to the files>" we can see a long time to validate the hostname.
Below the process used to:
---
Validate hostname is the same as backup:
28185 root 20 0 124740 2528 1072 S 10.8 0.0 0:15.40 tar zxf /backup/satellite-backup-2019-08-05-09-41-02/config_files.tar.gz etc/httpd/conf/httpd.conf --to-stdout
---
Version-Release number of selected component (if applicable):
6.5.z
How reproducible:
100%
Steps to Reproduce:
1. Create a backup
2. Restore the same
3.
Actual results:
When the conf file is bigger, the time to validate the hostname increase a lot
Expected results:
Be faster (maybe an external file just with the hostname will be enough)
Additional info:
Updated by Waldirio Pinheiro about 4 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/394 added
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
Updated by Waldirio Pinheiro almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|86f64a144838ef7f7258e2937e619236f317cf9d.