Fixes #21452 - Add yum clean all before packages update
Fixes #21118 - Verify if there are no any running tasks
Fixes #21208 - set value of assumeyes to true for package update
Fixes #21346 - use the beta Satellite repositories until 6.3 GA
Fixes #21355 - undefined method 'json_parse' in hammer feature
Fixes #20974 - procedures for Katello-Service stop and start
Fixes #20870 - hammer ping check with default tag
Fixes #19715 - [Check] WARN if foreman-proxy is self-registered
Fixes #20847 - Unify steps description
Fixes #20798 - proper repo-id and VERSION from RPM by using facter
Fixes #20641 - clean the upgrade storage on upgrade finish
Fixes #20625 - Add 'upgrade scneario'
Fixes #20604 - katello-service feature to make services start/stop
Merge remote-tracking branch 'origin/master' into upgrade-workflow
Fixes #46 - isc dhcp configuration check
Add commands for executing procedures
Newly added config constants for packaging.
Run installer
Support for run_once procedures and repositories setup
Configure repositories and update packages
Update the satellite upgrade to new code
Extract control flow of upgrades to special file
Poor man's maintanence mode though ip tables
Move sync-plans checks to pre/post migrations
Introduce run_strategy for scenarios
Health-check scenarios are better to run all steps regardless of errors(:fail_slow strategy), while the migration scenarios should fail as soonas first failure happens (:fail_fast strategy).
By default, the scenarios are treated as `:fail_fast`.
Full upgrade scenario
This commit intoroduces more structured upgrade scenario consisting ofthis scenarios:
Retain original objects while Tsorting. TSort create label graph and then convert to object graph
Define order using ruby TSort
1. Introduce 2 metadata: 'before' and 'after'2. Current order is:Checks::SyncPlans::WithEnabledStatusChecks::DiskSpeedMinimalChecks::SystemRegistrationChecks::ForemanTasks::NotPausedChecks::ForemanTasks::NotRunningChecks::ForemanTasks::Invalid::CheckOld...
Fixes #59 - missing error for hammer-config file
Assumeyes option
Migrate tasks deletion to new metadata
Tests for preparation steps
Improve reporting on hammer setup and preparation steps
Hammer setup preparation step
Introduce required params
Install required packages as the first one
RFE #23 - Add new status [WARNING] - Check: is system self registered
REF #16 - compress csv backup with bzip2
RFE #16 - Delete invalid tasks
Added spinner to enable sync_plans
Fixes #19 - Handled sync plans before & after upgrade
With this commit, below changes included -1. Two new checks - Disable sync plans before upgrade - Enable sync plans after upgrade which are disabled previously.
2. Created directory lib/foreman_maintain/storage in which...
Fixes #44 - Change tag 'basic' to 'default'
Add tests for tasks paused check and additional procedures
Namespace checks and procedures
Let's organize the stuff a bit better
Check count of paused tasks and offer next steps
Turn hammer feature into a utils class
After looking more into this, I think the util class is actually betterfit for the hammer case. I've also removed the detection of thecredentials from hammer configuration, as we actually don't needthe credentials by our own.
Introduce hammer as a feature
Shellescaping and password filtering support in system helper
Support code for allowing filering out sensitive data from logs+ properly escaping user-specified variables (such as password)
Fixes #5 - enhanced logger feature
1. Deleted existing lib/foreman_maintain/logger.rb files2. Now, logs are stored into file under foreman-maintain/log directory in debug mode3. Number of log files set to 10 i.ewhen, there would be 11 files remaining, the oldest one will be deleted...
Make the spinner opt-in, not opt-out
The default spinner caused issues when one needs to interact with theuser (printing additional messages). As it's needed only for longrunning actions, it should not be enforced by default.
Set next steps with the assert check
This allows adding more assertions to the check, each adding their ownnext steps.
Run confine against classes, not objects
This allows us to have multiple objects of the same procedure in thesystem, differing in the constructor parameters. Useful for parametrizedprocedures.
Extract metadata DSL to separate namespace
Having the DSL methods directly on the classes caused issues whenneeding to query the metadata later.
Corrected the syntax.
Fixes #1 - IO operations on disk and file system
1) Removed feature DiskIO(Check is sufficent)2) rename Concerns::DiskUtility to Utils::Disk3) Move disk_utlity_concerns logic to Check itself4) confine hdparm and fio5) Error log message - verbore and descriptive...
Add scaffold for definitions tests
CLI basic structure
Refactor the choice of next steps
Update real definitions based on latest changes in lib
WIP: definitions
WIP check definitions
WIP: check scenarios
Add rubocop
First version doing something: feature detection