| 1 |
=============================== |
| 2 |
Community.Libvirt Release Notes |
| 3 |
=============================== |
| 4 |
|
| 5 |
.. contents:: Topics |
| 6 |
|
| 7 |
v2.2.0 |
| 8 |
====== |
| 9 |
|
| 10 |
Release Summary |
| 11 |
--------------- |
| 12 |
|
| 13 |
This is the minor release of the ``community.libvirt`` collection. |
| 14 |
This changelog contains all changes to the modules and plugins in this collection |
| 15 |
that have been made after the previous release. |
| 16 |
|
| 17 |
Minor Changes |
| 18 |
------------- |
| 19 |
|
| 20 |
- virt_cloud_instance - added commands return field to provide visibility into executed commands during VM provisioning. |
| 21 |
- virt_install - added commands return field to provide visibility into executed commands during VM provisioning. |
| 22 |
|
| 23 |
Bugfixes |
| 24 |
-------- |
| 25 |
|
| 26 |
- libvirt_qemu - Vendor ``_parse_clixml`` locally to fix ``ImportError`` on ansible-core devel (2.21+). |
| 27 |
|
| 28 |
v2.1.0 |
| 29 |
====== |
| 30 |
|
| 31 |
Release Summary |
| 32 |
--------------- |
| 33 |
|
| 34 |
This is the minor release of the ``community.libvirt`` collection. |
| 35 |
This changelog contains all changes to the modules and plugins in this collection |
| 36 |
that have been made after the previous release. |
| 37 |
|
| 38 |
Minor Changes |
| 39 |
------------- |
| 40 |
|
| 41 |
- virt_install - added support for memoryBacking source type configuration, including memfd for shared memory (https://github.com/ansible-collections/community.libvirt/issues/228). |
| 42 |
- virt_install - added support for primary value attribute (_value or value) in dynamic dict options that require a primary value alongside additional attributes. |
| 43 |
- virt_install - enhanced cloud_init configuration handling for sub-options (meta-data, user-data, and network-config) to support both string and dictionary inputs. |
| 44 |
- virt_install - refactored common virt-install functionality into module_utils and doc_fragments to enable code reuse between modules. |
| 45 |
- virt_volume - New return key/value pairs 'Type', 'Capacity' and 'Allocation' were added to command 'list_volumes' (https://github.com/ansible-collections/community.libvirt/issues/187) |
| 46 |
- virt_volume - added ability to resize volumes if defined capacity is different. If volume already exists and defined capacity in XML differs a resize is attempted. |
| 47 |
|
| 48 |
Bugfixes |
| 49 |
-------- |
| 50 |
|
| 51 |
- virt_install - fixed cloud_init configuration handling for meta-data, user-data, and network-config. |
| 52 |
- virt_install - fixed the dict-based options handling for events, resource, and sysinfo options. |
| 53 |
|
| 54 |
New Modules |
| 55 |
----------- |
| 56 |
|
| 57 |
- community.libvirt.virt_cloud_instance - Provision new virtual machines from cloud images via libvirt |
| 58 |
|
| 59 |
v2.0.0 |
| 60 |
====== |
| 61 |
|
| 62 |
Release Summary |
| 63 |
--------------- |
| 64 |
|
| 65 |
This is a major release of the ``community.libvirt`` collection. |
| 66 |
This changelog contains all changes to the modules and plugins in this collection |
| 67 |
that have been made after the previous release. |
| 68 |
|
| 69 |
Major Changes |
| 70 |
------------- |
| 71 |
|
| 72 |
- virt_volume - a new command 'create_cidata_cdrom' enables the creation of a cloud-init CDROM, which can be attached to a cloud-init enabled base image, for bootstrapping networking, users etc. |
| 73 |
- virt_volume - the commands create_from, delete, download, info, resize, upload, wipe, facts did not work and were not tested. They have either been refactored to work, and tested, or removed. |
| 74 |
- virt_volume - the mechanism of passing variables to the member functions was not flexible enough to cope with differing parameter requirements. All parameters are now passed as kwargs, which allows the member functions to select the parameters they need. |
| 75 |
- virt_volume - the module appears to have been derived from virt_pool, but not cleaned up to remove much non-functional code. It has been refactored to remove the pool-specific code, and to make it more flexible. |
| 76 |
|
| 77 |
Removed Features (previously deprecated) |
| 78 |
---------------------------------------- |
| 79 |
|
| 80 |
- virt_volume - PoolConnection class has been removed |
| 81 |
- virt_volume - the 'deleted' state has been removed as its definition was not entirely accurate, and the 'wipe' boolean option is added to 'state/absent' and 'command/delete'. |
| 82 |
- virt_volume - undocumented but unused FLAGS have been removed. |
| 83 |
- virt_volume - undocumented but unused/non-functional functions (get_status, get_status2, get_state, get_uuid, build) have been removed. |
| 84 |
|
| 85 |
Bugfixes |
| 86 |
-------- |
| 87 |
|
| 88 |
- virt_volume - create_from was non-functional, and is now folded into create (added clone_source parameter). Fixes |
| 89 |
- virt_volume - info, facts, download, upload commands have been removed as they were not functional (and not tested). |
| 90 |
- virt_volume - wipe command now works (and is also a boolean option for 'state/absent' and 'command/delete'). |
| 91 |
|
| 92 |
Known Issues |
| 93 |
------------ |
| 94 |
|
| 95 |
- virt_volume - check_mode is disabled. It was not fully supported in the previous code either ('state/present', 'command/create' did not support it). |
| 96 |
|
| 97 |
New Modules |
| 98 |
----------- |
| 99 |
|
| 100 |
- community.libvirt.virt_install - Provision new virtual machines using virt-install tool |
| 101 |
|
| 102 |
v1.4.0 |
| 103 |
====== |
| 104 |
|
| 105 |
Release Summary |
| 106 |
--------------- |
| 107 |
|
| 108 |
This is the minor release of the ``community.libvirt`` collection. |
| 109 |
This changelog contains all changes to the modules and plugins in this collection |
| 110 |
that have been made after the previous release. |
| 111 |
|
| 112 |
Minor Changes |
| 113 |
------------- |
| 114 |
|
| 115 |
- virt - implement basic check mode functionality (https://github.com/ansible-collections/community.libvirt/issue/98) |
| 116 |
- virt - implement the gathering of Dom UUIDs as per FR https://github.com/ansible-collections/community.libvirt/issues/187 |
| 117 |
- virt - implement the gathering of Dom interface names and mac addresses as per FR https://github.com/ansible-collections/community.libvirt/issues/189 |
| 118 |
- virt - implement the removal of volumes for a dom as per FR https://github.com/ansible-collections/community.libvirt/issues/177 |
| 119 |
|
| 120 |
New Modules |
| 121 |
----------- |
| 122 |
|
| 123 |
- community.libvirt.virt_volume - Manage libvirt volumes inside a storage pool |
| 124 |
|
| 125 |
v1.3.1 |
| 126 |
====== |
| 127 |
|
| 128 |
Release Summary |
| 129 |
--------------- |
| 130 |
|
| 131 |
This is the patch release of the ``community.libvirt`` collection. |
| 132 |
This changelog contains all changes to the modules and plugins in this collection |
| 133 |
that have been made after the previous release. |
| 134 |
|
| 135 |
Bugfixes |
| 136 |
-------- |
| 137 |
|
| 138 |
- libvirt_lxc - add configuration for libvirt_lxc_noseclabel. |
| 139 |
|
| 140 |
v1.3.0 |
| 141 |
====== |
| 142 |
|
| 143 |
Release Summary |
| 144 |
--------------- |
| 145 |
|
| 146 |
This is a new release of the ``community.libvirt`` collection. |
| 147 |
This changelog contains all changes to the modules and plugins in this collection |
| 148 |
that have been made after the previous release. |
| 149 |
|
| 150 |
Minor Changes |
| 151 |
------------- |
| 152 |
|
| 153 |
- virt - add `mutate_flags` parameter to enable XML mutation (add UUID, MAC addresses from existing domain) (https://github.com/ansible-collections/community.libvirt/pull/142/). |
| 154 |
- virt - support ``--diff`` for ``define`` command (https://github.com/ansible-collections/community.libvirt/pull/142/). |
| 155 |
|
| 156 |
Bugfixes |
| 157 |
-------- |
| 158 |
|
| 159 |
- libvirt_qemu - connection plugin threw a warning about an improperly configured remote target. Fix adds `inventory_hostname` to `options.remote_addr.vars` (https://github.com/ansible-collections/community.libvirt/pull/147). |
| 160 |
- libvirt_qemu - fix encoding errors on Windows guests for non-ASCII return values (https://github.com/ansible-collections/community.libvirt/pull/157) |
| 161 |
- virt - fix virt module to undefine a domain with nvram, managed_save, snapshot_metadata or checkpoints_metadata (https://github.com/ansible-collections/community.libvirt/issues/40). |
| 162 |
- virt_pool - replace discouraged function ``listAllVolumes`` with ``listAllVolumes`` to fix potential race conditions (https://github.com/ansible-collections/community.libvirt/pull/135). |
| 163 |
- virt_pool - replace discouraged functions ``listStoragePools`` and ``listDefinedStoragePools`` with ``listAllStoragePools`` to fix potential race conditions (https://github.com/ansible-collections/community.libvirt/pull/134). |
| 164 |
|
| 165 |
v1.2.0 |
| 166 |
====== |
| 167 |
|
| 168 |
Release Summary |
| 169 |
--------------- |
| 170 |
|
| 171 |
This is the minor release of the ``community.libvirt`` collection. |
| 172 |
This changelog contains all changes to the modules and plugins in this collection |
| 173 |
that have been made after the previous release. |
| 174 |
|
| 175 |
Minor Changes |
| 176 |
------------- |
| 177 |
|
| 178 |
- libvirt - add extra guest information to inventory (https://github.com/ansible-collections/community.libvirt/pull/113). |
| 179 |
- libvirt - replace the calls to listDomainsID() and listDefinedDomains() with listAllDomains() in find_vm() (https://github.com/ansible-collections/community.libvirt/pull/117) |
| 180 |
|
| 181 |
Bugfixes |
| 182 |
-------- |
| 183 |
|
| 184 |
- virt_net - fix modify function which was not idempotent, depending on whether the network was active. See https://github.com/ansible-collections/community.libvirt/issues/107. |
| 185 |
- virt_pool - crashed out if pool didn't contain a target path. Fix allows this not to be set. (https://github.com/ansible-collections/community.libvirt/issues/129). |
| 186 |
|
| 187 |
v1.1.0 |
| 188 |
====== |
| 189 |
|
| 190 |
Release Summary |
| 191 |
--------------- |
| 192 |
|
| 193 |
This is the minor release of the ``community.libvirt`` collection. |
| 194 |
This changelog contains all changes to the modules and plugins in this collection |
| 195 |
that have been made after the previous release 1.0.2. |
| 196 |
|
| 197 |
Bugfixes |
| 198 |
-------- |
| 199 |
|
| 200 |
- replace deprecated ``distutils.spawn.find_executable`` with Ansible's ``get_bin_path`` in ``_search_executable`` function. |
| 201 |
|
| 202 |
v1.0.2 |
| 203 |
====== |
| 204 |
|
| 205 |
Release Summary |
| 206 |
--------------- |
| 207 |
|
| 208 |
This is the patch release of the ``community.libvirt`` collection. |
| 209 |
This changelog contains all changes to the modules and plugins in this collection |
| 210 |
that have been made after release 1.0.1. |
| 211 |
|
| 212 |
Bugfixes |
| 213 |
-------- |
| 214 |
|
| 215 |
- libvirt inventory plugin - Use FQCN for the inventory plugin name for compatibility with Ansible 2.10 and above (https://github.com/ansible-collections/community.libvirt/pull/73). |
| 216 |
|
| 217 |
v1.0.1 |
| 218 |
====== |
| 219 |
|
| 220 |
Bugfixes |
| 221 |
-------- |
| 222 |
|
| 223 |
- libvirt_qemu - Mitigate a CPU hammering active wait loop |
| 224 |
- libvirt_qemu - add import error handling |
| 225 |
- virt - Correctly get the error message from libvirt |
| 226 |
- virt - Return "changed" status when using "define" command and domain XML was updated |
| 227 |
- virt - The define action searchs for the domain name into the xml definition to determine if the domain needs to be created or updated. The xml variable contains the parsed definition but doesn't guarantee the existence of the name tag. This change targets to fix the scenario where the xml var is not empty but doesn't contain a name tag. |
| 228 |
- virt_net - The name parameter is not required for the list_nets or facts command so we adjust the module to allow for that. |
| 229 |
|
| 230 |
v1.0.0 |
| 231 |
====== |
| 232 |
|
| 233 |
Major Changes |
| 234 |
------------- |
| 235 |
|
| 236 |
- added generic libvirt inventory plugin |
| 237 |
- removed libvirt_lxc inventory script |