Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

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

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

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