Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
35bb7807 10/17/2017 10:02 AM Kavita Gaikwad

Fixes #20870 - hammer ping check with default tag

0d35d325 10/10/2017 09:01 AM Swapnil Abnave

Fixes #19715 - [Check] WARN if foreman-proxy is self-registered

25a08e78 10/10/2017 06:19 AM Kavita Gaikwad

Fixes #21211 - show error for invalid phase while running upgrade

9d33f32e 09/19/2017 06:51 AM Kavita Gaikwad

Fixes #20945 - rubocop convention errors & warnings

5cdab220 09/14/2017 02:27 AM Anurag Patel

Bumped version to 0.0.9

4b8412ca 09/13/2017 06:17 AM Kavita Gaikwad

Fixes #20898 - removed params from runtime_message in metadata.rb

277bfdc2 09/13/2017 06:17 AM Swapnil Abnave

Fixes #20623 - Failed scenario should exit with code 1

e9ead95f 09/12/2017 10:16 AM Ivan Necas

Fixes #20848 - Fix error messages indentation

3132f884 09/12/2017 10:13 AM Ivan Necas

Fixes #20597 - store the current target version of upgrade

This allows to prevent running one upgrade before finishing another one.
It also fixes an issue, where after updating the packages, one would not
be able to continue with the current upgrade when something goes wrong.

6cdbd5bb 09/07/2017 09:39 AM Swapnil Abnave

Fixes #20868 - Use correct method 'get_params_for'

a9e6e61a 08/24/2017 10:57 AM Ivan Necas

Bump version to 0.0.8

e5fdf184 08/24/2017 10:55 AM Ivan Necas

Fixes #20641 - clean the upgrade storage on upgrade finish

49844c56 08/18/2017 02:44 PM Ivan Necas

Bump version to 0.0.7

c5847135 08/18/2017 04:03 AM Kavita Gaikwad

Fixes #20221 - Added log_file_size as config parameter in KB

e7e94ee4 08/14/2017 03:04 PM Ivan Necas

Merge remote-tracking branch 'origin/master' into upgrade-workflow

97c784e1 08/10/2017 06:39 AM Kavita Gaikwad

Fixes #46 - isc dhcp configuration check

b63be328 08/08/2017 06:59 AM Ivan Necas

Merge remote-tracking branch 'origin/master' into upgrade-workflow

99d46890 08/08/2017 06:49 AM Ivan Necas

`upgrade run --phase` instead of `upgrade advanced run`

To improve the usability of the command

1c4d50c0 08/08/2017 06:45 AM Ivan Necas

Use --target-version option instead of parameter

Clamp doesn't handle positions of parameters very well, unifying
to use options for this as well.

6290638a 08/04/2017 04:50 AM Swapnil Abnave

Extract transform_clamp_options

614999f6 08/04/2017 04:50 AM Martin Bacovsky

Add commands for executing procedures

f46f513d 07/26/2017 05:00 PM Ivan Necas

Update from review

38893edf 07/26/2017 02:56 PM Anurag Patel

Bumped version to 0.0.6

4c478726 07/05/2017 05:10 AM Kavita Gaikwad

Bump version to 0.0.5

20f0bc42 07/05/2017 04:58 AM Kavita Gaikwad

Fixed - Packaging config changes

1. Required absolute path instead of relative path for default CONFIG_FILE.
2. Changed data directory to /var/lib instead of /lib

99f25802 06/27/2017 10:19 AM Ivan Necas

Bump version to 0.0.4

713732a8 06/26/2017 11:50 PM Kavita Gaikwad

Newly added config constants for packaging.

59281428 06/23/2017 03:24 PM Ivan Necas

Fix rubocop

a04a0f68 06/23/2017 03:16 PM Ivan Necas

Refactor rolling back

074bfd8f 06/23/2017 03:12 PM Ivan Necas

Simplify the dependency graph

When composing the dependency graph for tsort, use just the collection
it was set to, instead of using resolver to find the classes by label.

Besides simplification, it also preserves the order in which the steps
were added, otherwise, the order was dependent on the Ruby version (and...

0ecc28fc 06/23/2017 03:52 AM Ivan Necas

Remove the singleton form ObjectCache

The object cache was causing issues when running multiple scenarios in
one run, where the objects from previous step were interfering with the
later scenarios, if the same steps were used in both of them.

5836e1ec 06/23/2017 03:45 AM Ivan Necas

Handle migration phase setting when not confirmed

Before this change, the phase was set to new one before the user full
confirmed she wants to proceed with the upgrade, which cause the checks
to be skipped on next run.

0ed47e40 06/23/2017 03:45 AM Ivan Necas

Fix whitelist option definition

eb63de18 06/23/2017 03:45 AM Ivan Necas

Advanced run command and tests

a625d952 06/23/2017 03:45 AM Ivan Necas

Support for run_once procedures and repositories setup

92897588 06/23/2017 03:44 AM Ivan Necas

Persists the progress between upgrade runs

65803389 06/23/2017 03:44 AM Ivan Necas

Configure repositories and update packages

e361f5c2 06/23/2017 03:44 AM Ivan Necas

Update the satellite upgrade to new code

f8412867 06/23/2017 03:44 AM Ivan Necas

Rollback support if the upgrade fails soon enough

fe78718e 06/23/2017 03:44 AM Ivan Necas

Support for scenario serialization/deserialization

2b50ced4 06/23/2017 03:44 AM Ivan Necas

Extract control flow of upgrades to special file

5ce4fbc6 06/23/2017 03:43 AM Ivan Necas

Don't continue with scenarios when last is not finished

5b1badaf 06/23/2017 03:41 AM Ivan Necas

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 soon
as first failure happens (:fail_fast strategy).

By default, the scenarios are treated as `:fail_fast`.

181810b0 06/23/2017 03:41 AM Ivan Necas

Add --whitelist option

Allows to mark some steps to be ignored in the results: allows to
continue even when some checks are failing.

ea60b444 06/23/2017 03:41 AM Ivan Necas

Full upgrade scenario

This commit intoroduces more structured upgrade scenario consisting of
this scenarios:

  • pre_upgrade_check - non-modifying checks: is the system ready?
  • pre_migrations - modifying procedures before source update
  • migrations - source update and main migrations...
db17af15 06/21/2017 04:14 PM Swapnil Abnave

Retain original objects while Tsorting. TSort create label graph and then convert to object graph

c418295c 06/21/2017 04:14 PM Swapnil Abnave

Define order using ruby TSort

1. Introduce 2 metadata: 'before' and 'after'
2. Current order is:
Checks::SyncPlans::WithEnabledStatus
Checks::DiskSpeedMinimal
Checks::SystemRegistration
Checks::ForemanTasks::NotPaused
Checks::ForemanTasks::NotRunning
Checks::ForemanTasks::Invalid::CheckOld...

181d2217 05/16/2017 10:14 AM Ivan Necas

Bump version to 0.0.3

afbe9e6e 05/11/2017 06:41 AM Ivan Necas

Assumeyes option

47f46f8b 05/11/2017 06:41 AM Ivan Necas

Tests for preparation steps

3b966152 05/11/2017 06:41 AM Ivan Necas

Improve reporting on hammer setup and preparation steps

734dd76a 05/11/2017 06:41 AM Ivan Necas

Hammer setup preparation step

e6f56dee 05/11/2017 06:41 AM Ivan Necas

Support running commands interactively

644df26c 05/11/2017 06:41 AM Ivan Necas

Introduce required params

Install required packages as the first one

d04bc928 05/03/2017 09:26 AM Swapnil Abnave

RFE #23 - Add new status [WARNING] - Check: is system self registered

3bc0b1ee 04/25/2017 10:37 AM Swapnil Abnave

RFE #16 - Delete invalid tasks

e3350229 04/20/2017 07:13 AM Kavita Gaikwad

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...

bac61fb8 04/18/2017 11:00 AM Swapnil Abnave

Fixes #44 - Change tag 'basic' to 'default'

f8f0568f 04/18/2017 06:52 AM Ivan Necas

Rerun the check after a procedure

When user chooses a procedure, we now re-run the check again to make sure the
issue if resolved. This allows to repeat the check/fix cycle several times:
also the multiple steps for procedures make more sense now.

019ca085 04/07/2017 10:59 AM Ivan Necas

Decouple more reporter from runner

Before this commit, we required the reporter to call back runner
methods, which complicated the things. Also the multiple-steps select
was not working properly.

After this change, the reporter just returns a decision as result of...

74ef4411 04/07/2017 10:59 AM Ivan Necas

Add tests for tasks paused check and additional procedures

a96d2457 04/05/2017 02:57 PM Ivan Necas

Namespace checks and procedures

Let's organize the stuff a bit better

4247bd5e 04/05/2017 02:57 PM Ivan Necas

Check count of paused tasks and offer next steps

38a0b341 04/05/2017 02:39 PM Swapnil Abnave

Fixes #3 - Add option to skip the prompted step

7230b393 04/05/2017 02:36 PM Kavita Gaikwad

Fixes #18 - introduce configuration file

88403bae 04/04/2017 07:18 AM Kavita Gaikwad

Done changes for rubocop v0.48.1

bdce5057 04/03/2017 03:12 AM Swapnil Abnave

Compatiblity with rubocop v0.48.0

1. Disabled: Use %i or %I for an array of symbols
2. Fixed: Use 2 spaces for indentation in a heredoc by using some library(e.g. ActiveSupport's String#strip_heredoc). Created foreman_maintain/core_ext.rb extend String class....

be883fe2 03/23/2017 03:39 PM Ivan Necas

Turn hammer feature into a utils class

After looking more into this, I think the util class is actually better
fit for the hammer case. I've also removed the detection of the
credentials from hammer configuration, as we actually don't need
the credentials by our own.

b3b2048d 03/23/2017 03:39 PM Ivan Necas

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)

7bfc01bb 03/22/2017 03:43 AM Kavita Gaikwad

Fixes #5 - enhanced logger feature

1. Deleted existing lib/foreman_maintain/logger.rb files
2. Now, logs are stored into file under foreman-maintain/log directory in debug mode
3. Number of log files set to 10 i.e
when, there would be 11 files remaining, the oldest one will be deleted...

b3c821a5 03/21/2017 06:26 PM Ivan Necas

Make the spinner opt-in, not opt-out

The default spinner caused issues when one needs to interact with the
user (printing additional messages). As it's needed only for long
running actions, it should not be enforced by default.

12c747f7 03/21/2017 06:26 PM Ivan Necas

Set next steps with the assert check

This allows adding more assertions to the check, each adding their own
next steps.

163e3fff 03/21/2017 06:26 PM Ivan Necas

Run confine against classes, not objects

This allows us to have multiple objects of the same procedure in the
system, differing in the constructor parameters. Useful for parametrized
procedures.

af885bd5 03/21/2017 06:26 PM Ivan Necas

Extract metadata DSL to separate namespace

Having the DSL methods directly on the classes caused issues when
needing to query the metadata later.

433196a6 03/16/2017 07:40 AM Ivan Necas

Bump version to 0.0.2

ff60df0c 03/16/2017 03:45 AM Ivan Necas

Better args handling

276f9729 03/09/2017 09:59 AM Ivan Necas

Allow running checks by label

ce490caa 03/03/2017 08:35 AM Swapnil Abnave

Fixes #1 - IO operations on disk and file system

1) Removed feature DiskIO(Check is sufficent)
2) rename Concerns::DiskUtility to Utils::Disk
3) Move disk_utlity_concerns logic to Check itself
4) confine hdparm and fio
5) Error log message - verbore and descriptive...

04b6c241 02/26/2017 05:02 PM Ivan Necas

Add travis

f9d53393 02/24/2017 04:37 AM Ivan Necas

Fix loading of features from confine

With some ordering, the features could get tried to be detected twice.

5793bf1d 02/19/2017 05:30 PM Ivan Necas

Update readme

46993f5e 02/19/2017 04:39 PM Ivan Necas

Add scaffold for definitions tests

9f048ccd 02/19/2017 03:07 PM Ivan Necas

tests for health commands

f608b3cb 02/17/2017 04:44 PM Ivan Necas

CLI basic structure

ef9ee7ac 02/16/2017 04:18 PM Ivan Necas

Refactor the choice of next steps

cdcd3c1d 02/16/2017 07:11 AM Ivan Necas

Update real definitions based on latest changes in lib

ab1bcec2 02/16/2017 06:50 AM Ivan Necas

Refactor: make autodetect opt-out

2790877c 02/15/2017 04:55 PM Ivan Necas

Ability to define precedures

ee673d0c 02/15/2017 03:46 PM Ivan Necas

Unify finder and detector

The detector now can do both detection and filtering

d22bc3a1 02/14/2017 06:10 PM Ivan Necas

Refactor

aa4eb647 02/14/2017 07:40 AM Ivan Necas

Rename feature_name to more generic label

ed2c683b 02/13/2017 05:41 PM Ivan Necas

Tests for runner and reporter

d4c3f2c2 02/12/2017 06:16 PM Ivan Necas

WIP: check scenarios

912d52f8 02/11/2017 06:35 PM Ivan Necas

Ability to define and filter checks

cc65f09f 02/10/2017 05:16 PM Ivan Necas

Add first tests

59890b32 02/10/2017 04:26 PM Ivan Necas

Add rubocop

1c01e876 02/10/2017 04:08 PM Ivan Necas

Basic gem structure

a1167a16 02/10/2017 11:51 AM Ivan Necas

First version doing something: feature detection