Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
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'

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

Fixes #20641 - clean the upgrade storage on upgrade finish

7d3a528b 08/24/2017 06:18 AM Swapnil Abnave

Fixes #20625 - Add 'upgrade scneario'

Scenarios for Satellite versions:
  • 6.2 -> 6.2.z
  • 6.2 -> 6.3
  • 6.3 -> 6.3.z
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

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

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.

5b54e86a 06/23/2017 03:45 AM Ivan Necas

Fix intermittent test failures

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

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

24be88f5 06/23/2017 03:42 AM Ivan Necas

Move sync-plans checks to pre/post migrations

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

0653f85a 05/24/2017 01:50 AM Kavita Gaikwad

Fixes #59 - missing error for hammer-config file

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

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

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.

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.

d30e3283 03/16/2017 04:58 AM Ivan Necas

Add tests for empty args in cli

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

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.

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

c6735e9e 02/19/2017 08:37 AM Ivan Necas

Move lib-specific tests to separate directory

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

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

1fc13b23 02/15/2017 04:04 PM Ivan Necas

Unify test definitions

Follow present_service/missing_service convention across the definitions.

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

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