Skip to content

Commit d02a9fe

Browse files
authored
Version 1.9.0 - CHANGELOG.md [citest skip] (#285)
* Version 1.9.0 - CHANGELOG.md [citest skip] [1.9.0] - 2022-07-19 -------------------- ### New Features - Add support for attaching LVM cache to existing LVs (#273) Fixes: #252 - Add support for managing pool members (#264) For LVM pools this adds support for adding and removing members (PVs) from the pool (VG). * Do not allow removing members from existing pools in safe mode - ensure role works with gather_facts: false (#277) Ensure tests work when using ANSIBLE_GATHERING=explicit ### Bug Fixes - loop variables are scoped local - no need to reset them (#282) If you use ```yaml loop_control: loop_var: storage_test_pool ``` Then the variable `storage_test_pool` is scoped local to the task and is undefined after the task. In addition, referencing the variable after the loop causes this warning: ``` [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ``` - support ansible-core-2.13 (#278) Looks like ansible-core-2.13 (or latest jinja3) does not support constructs like this: ``` var: "{{ [some list] }} + {{ [other list] }}" ``` instead, the entire thing has to be evaluated in the same jinja evaluation context: ``` var: "{{ [some list] + [other list] }}" ``` In addition - it is an Ansible antipattern to use ```yaml - set_fact: var: "{{ var + item }}" loop: "{{ some_list }}" ``` so that was rewritten to use filters instead ### Other Changes - ensure cryptsetup is available for testing (#279) - make min_ansible_version a string in meta/main.yml (#281) The Ansible developers say that `min_ansible_version` in meta/main.yml must be a `string` value like `"2.9"`, not a `float` value like `2.9`. - Skip the entire test_lvm_pool_members playbook with old blivet (#280) Multiple bugs in blivet were fixed in order to make the feature work and without the correct version even the most basic test to remove a PV from a VG will fail so we should skip the entire test with old versions of blivet. Skip test on el7 if blivet version is too old Add support for `is_rhel7` Refactor EL platform and version checking code Add a name for the `end_play` task - Add CHANGELOG.md (#283) Signed-off-by: Rich Megginson <rmeggins@redhat.com> * ensure tests work with gather_facts: false is not a new feature ensure tests work with gather_facts: false is not a new feature
1 parent ea31c28 commit d02a9fe

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

CHANGELOG.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,86 @@
11
Changelog
22
=========
33

4+
[1.9.0] - 2022-07-19
5+
--------------------
6+
7+
### New Features
8+
9+
- Add support for attaching LVM cache to existing LVs (#273)
10+
11+
Fixes: #252
12+
13+
- Add support for managing pool members (#264)
14+
15+
For LVM pools this adds support for adding and removing members
16+
(PVs) from the pool (VG).
17+
18+
* Do not allow removing members from existing pools in safe mode
19+
20+
### Bug Fixes
21+
22+
- loop variables are scoped local - no need to reset them (#282)
23+
24+
If you use
25+
```yaml
26+
loop_control:
27+
loop_var: storage_test_pool
28+
```
29+
Then the variable `storage_test_pool` is scoped local to the task
30+
and is undefined after the task. In addition, referencing the
31+
variable after the loop causes this warning:
32+
```
33+
[WARNING]: The loop variable 'storage_test_pool' is already in use. You should
34+
set the `loop_var` value in the `loop_control` option for the task to something
35+
else to avoid variable collisions and unexpected behavior.
36+
```
37+
38+
- support ansible-core-2.13 (#278)
39+
40+
Looks like ansible-core-2.13 (or latest jinja3) does not support
41+
constructs like this:
42+
```
43+
var: "{{ [some list] }} + {{ [other list] }}"
44+
```
45+
instead, the entire thing has to be evaluated in the same jinja
46+
evaluation context:
47+
```
48+
var: "{{ [some list] + [other list] }}"
49+
```
50+
In addition - it is an Ansible antipattern to use
51+
```yaml
52+
- set_fact:
53+
var: "{{ var + item }}"
54+
loop: "{{ some_list }}"
55+
```
56+
so that was rewritten to use filters instead
57+
58+
### Other Changes
59+
60+
- ensure role works with gather_facts: false (#277)
61+
62+
Ensure tests work when using ANSIBLE_GATHERING=explicit
63+
64+
- ensure cryptsetup is available for testing (#279)
65+
66+
- make min_ansible_version a string in meta/main.yml (#281)
67+
68+
The Ansible developers say that `min_ansible_version` in meta/main.yml
69+
must be a `string` value like `"2.9"`, not a `float` value like `2.9`.
70+
71+
- Skip the entire test_lvm_pool_members playbook with old blivet (#280)
72+
73+
Multiple bugs in blivet were fixed in order to make the feature
74+
work and without the correct version even the most basic test to
75+
remove a PV from a VG will fail so we should skip the entire test
76+
with old versions of blivet.
77+
Skip test on el7 if blivet version is too old
78+
Add support for `is_rhel7`
79+
Refactor EL platform and version checking code
80+
Add a name for the `end_play` task
81+
82+
- Add CHANGELOG.md (#283)
83+
484
[1.8.1] - 2022-06-12
585
--------------------
686

0 commit comments

Comments
 (0)