Skip to content

Commit 84e004f

Browse files
committed
Release 0.4.4
1 parent b56b9c5 commit 84e004f

File tree

8 files changed

+140
-40
lines changed

8 files changed

+140
-40
lines changed

CHANGELOG.rst

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,56 @@ Icinga.Icinga Release Notes
44

55
.. contents:: Topics
66

7+
v0.4.4
8+
======
9+
10+
Release Summary
11+
---------------
12+
13+
Introduction of Icinga for Windows role :code:`ifw` and performance increase in deployment of :code:`icinga2_objects`.
14+
15+
Major Changes
16+
-------------
17+
18+
- Introduction of role :code:`ifw` - Icinga for Windows: This role allows to install the Icinga PowerShell Framework, manage components and repositories, and install and configure Icinga 2 through Icinga for Windows.
19+
- Module :code:`ifw_backgrounddaemon`: Registers/unregisters an Icinga for Windows background daemon.
20+
- Module :code:`ifw_component`: Installs/removes/updates Icinga for Windows components (e.g. :code:`agent`, :code:`plugins`).
21+
- Module :code:`ifw_restapicommand`: Adds/removes commands to/from the whitelist/blacklist of the Icinga for Windows REST-Api.
22+
- The performance of the action plugin :code:`icinga2_object` has been greatly improved.
23+
Instead of writing individual objects to files and later merging them,
24+
they are instead now merged in memory on a per destination basis.
25+
This means that configuration files no longer have to be assembled after the fact.
26+
27+
This also drops the :code:`order` parameter previously used to define the order in which
28+
objects are written if they belong to the same destination file.
29+
The new behavior only changes the order in the files but does not change the end result.
30+
31+
A performance gain of up to 80% has been seen in testing.
32+
33+
Minor Changes
34+
-------------
35+
36+
- In the :code:`icinga2` role objects are collected from different places before writing them to files. Duplicates could occur which was not taken care of. All collected objects are now deduplicated using the :code:`unique` filter right before writing to save some time during execution.
37+
- The deb repositories made available by the :code:`repos` role now use the `deb822 format <https://repolib.readthedocs.io/en/latest/deb822-format.html>`__. This can lead to APT warnings on systems that already have the repositories deployed using the old format (sources.list). To fix this, simply remove the old :code:`icinga.list` file after the repositories have been deployed in the new format.
38+
- The error messages about unsupported operating systems have been tuned. They should now appear if and only if the actual OS is in fact not supported instead of appearing after unrelated task failures.
39+
40+
Bugfixes
41+
--------
42+
43+
- :code:`icingaweb2_roles` was not deployed at all if :code:`icingaweb2_admin_username` and :code:`icingaweb2_admin_password` were missing. Now for both, the predefined admin role and user-defined :code:`icingaweb2_roles`, the respective variables are tested for correctly when creating :code:`roles.ini`. Thus, the creation of an initial admin user is no longer strictly necessary.
44+
- A short example for the previously undocumented :code:`icingaweb2_roles` has been added.
45+
46+
Known Issues
47+
------------
48+
49+
- With the changes in :code:`icinga2_object` arises a problem.
50+
The prior directory structure within :code:`icinga2_fragments_path` (default: :code:`/var/tmp/icinga/`) does not fit the new approach for writing configuration files.
51+
Some paths that would become directories before are now treated as files.
52+
If the old directory structure is present on a remote host, deployment with the new method will most likely fail due to this.
53+
54+
If the execution of :code:`icinga2_object` fails, deleting :code:`icinga2_fragments_path` should fix the problem.
55+
This, however, is a manual step that needs to be done.
56+
757
v0.4.3
858
======
959

@@ -20,7 +70,7 @@ Bugfixes
2070
Modules are now installed and configured properly even when they are set to be disabled in the end.
2171
- Fixed an issue where the :code:`config.ini` file of the :code:`monitoring` module was not deployed.
2272
- More complex database passwords have been an issue when importing database schemas. The passwords are now properly quoted using the :code:`quote` filter.
23-
This means that passwords containing characters such as :code:`#` and :code:`\ ` should now work correctly.
73+
This means that passwords containing characters such as :code:`#` and :code:`\\` should now work correctly.
2474

2575
The change affects Icinga 2 (IDO), Icinga for Kubernetes, Icinga DB and Icinga Web 2.
2676
- Switch from :code:`run_once: true` to :code:`throttle: 1` when applying database schema.

changelogs/changelog.yaml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,3 +395,91 @@ releases:
395395
- fix-runonce-serial.yml
396396
- release_summary.yml
397397
release_date: '2025-09-22'
398+
0.4.4:
399+
changes:
400+
bugfixes:
401+
- :code:`icingaweb2_roles` was not deployed at all if :code:`icingaweb2_admin_username`
402+
and :code:`icingaweb2_admin_password` were missing. Now for both, the predefined
403+
admin role and user-defined :code:`icingaweb2_roles`, the respective variables
404+
are tested for correctly when creating :code:`roles.ini`. Thus, the creation
405+
of an initial admin user is no longer strictly necessary.
406+
- A short example for the previously undocumented :code:`icingaweb2_roles` has
407+
been added.
408+
known_issues:
409+
- 'With the changes in :code:`icinga2_object` arises a problem.
410+
411+
The prior directory structure within :code:`icinga2_fragments_path` (default:
412+
:code:`/var/tmp/icinga/`) does not fit the new approach for writing configuration
413+
files.
414+
415+
Some paths that would become directories before are now treated as files.
416+
417+
If the old directory structure is present on a remote host, deployment with
418+
the new method will most likely fail due to this.
419+
420+
421+
If the execution of :code:`icinga2_object` fails, deleting :code:`icinga2_fragments_path`
422+
should fix the problem.
423+
424+
This, however, is a manual step that needs to be done.
425+
426+
'
427+
major_changes:
428+
- 'Introduction of role :code:`ifw` - Icinga for Windows: This role allows to
429+
install the Icinga PowerShell Framework, manage components and repositories,
430+
and install and configure Icinga 2 through Icinga for Windows.'
431+
- 'Module :code:`ifw_backgrounddaemon`: Registers/unregisters an Icinga for
432+
Windows background daemon.'
433+
- 'Module :code:`ifw_component`: Installs/removes/updates Icinga for Windows
434+
components (e.g. :code:`agent`, :code:`plugins`).'
435+
- 'Module :code:`ifw_restapicommand`: Adds/removes commands to/from the whitelist/blacklist
436+
of the Icinga for Windows REST-Api.'
437+
- 'The performance of the action plugin :code:`icinga2_object` has been greatly
438+
improved.
439+
440+
Instead of writing individual objects to files and later merging them,
441+
442+
they are instead now merged in memory on a per destination basis.
443+
444+
This means that configuration files no longer have to be assembled after the
445+
fact.
446+
447+
448+
This also drops the :code:`order` parameter previously used to define the
449+
order in which
450+
451+
objects are written if they belong to the same destination file.
452+
453+
The new behavior only changes the order in the files but does not change the
454+
end result.
455+
456+
457+
A performance gain of up to 80% has been seen in testing.
458+
459+
'
460+
minor_changes:
461+
- In the :code:`icinga2` role objects are collected from different places before
462+
writing them to files. Duplicates could occur which was not taken care of.
463+
All collected objects are now deduplicated using the :code:`unique` filter
464+
right before writing to save some time during execution.
465+
- The deb repositories made available by the :code:`repos` role now use the
466+
`deb822 format <https://repolib.readthedocs.io/en/latest/deb822-format.html>`__.
467+
This can lead to APT warnings on systems that already have the repositories
468+
deployed using the old format (sources.list). To fix this, simply remove the
469+
old :code:`icinga.list` file after the repositories have been deployed in
470+
the new format.
471+
- The error messages about unsupported operating systems have been tuned. They
472+
should now appear if and only if the actual OS is in fact not supported instead
473+
of appearing after unrelated task failures.
474+
release_summary: 'Introduction of Icinga for Windows role :code:`ifw` and performance
475+
increase in deployment of :code:`icinga2_objects`.
476+
477+
'
478+
fragments:
479+
- 386_duplicate_objects.yml
480+
- enhance-icinga2-objects.yml
481+
- feature_icinga_for_windows.yml
482+
- fix_406_icingaweb2_roles_ini.yml
483+
- fix_410_sources-dot-list.yml
484+
- summary.yml
485+
release_date: '2025-10-27'

changelogs/fragments/386_duplicate_objects.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelogs/fragments/enhance-icinga2-objects.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

changelogs/fragments/feature_icinga_for_windows.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelogs/fragments/fix_406_icingaweb2_roles_ini.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelogs/fragments/fix_410_sources-dot-list.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace: netways
44
name: icinga
5-
version: 0.4.3
5+
version: 0.4.4
66
readme: README.md
77
authors:
88
- Lennart Betz <[email protected]>

0 commit comments

Comments
 (0)