Felix Matouschek e1b2094e4e fix(tests,kubevirt_vm): Make waiting for VM more robust
This changes the runme.sh of the kubevirt_vm integration tests to retry
the connection to the VM until a login is possible. This is necessary
since it is not possible with Ansible alone to retry a task in case the
connection failed with the unreachable status. This can happen when the
sshd of the VM already accepts connections but a login is not yet
possible because the VM is still booting up.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-06-04 09:53:53 +02:00
2024-04-12 10:29:58 +02:00
2024-05-08 11:03:23 +02:00
2023-11-14 11:42:08 +01:00
2024-04-12 10:29:58 +02:00
2023-07-14 10:30:20 +02:00
2023-07-14 10:30:20 +02:00
2024-05-29 16:04:16 +02:00
2023-07-17 14:09:18 +02:00
2024-04-12 10:29:54 +02:00
2023-07-14 10:30:20 +02:00
2023-08-07 14:07:48 +02:00
2024-04-12 10:23:38 +02:00

Lean Ansible bindings for KubeVirt

Build Status

This repository hosts the kubevirt.core Ansible Collection, which provides virtual machine operations and an inventory source for use with Ansible.

Ansible and Python version compatibility

This collection has been tested against Ansible versions >=2.14,<=2.16 and Python versions >=3.9,<=3.12.

See the Ansible core support matrix for supported combinations.

Included content

Plugins

  • kubevirt: Inventory source for KubeVirt VirtualMachines
  • kubevirt_vm: Create or delete KubeVirt VirtualMachines
  • kubevirt_vm_info: Describe KubeVirt VirtualMachines

Using this collection

Installing the Collection from Ansible Galaxy

Before using this collection, you need to install it with the Ansible Galaxy command-line tool:

ansible-galaxy collection install kubevirt.core

Build and install locally

Clone the repository, checkout the tag you want to build, or pick the main branch for the development version; then:

ansible-galaxy collection build .
ansible-galaxy collection install kubevirt-kubevirt.core-*.tar.gz

Dependencies

Ansible collections

To install all the dependencies:

ansible-galaxy collection install -r requirements.yml

Python libraries

  • jinja2
  • jsonpatch
  • kubernetes>=28.1.0
  • PyYAML>=3.11

To install all the dependencies:

pip install -r requirements.txt

See Ansible Using collections for more details.

Code of Conduct

We follow the KubeVirt Code of Conduct.

Contributing to this collection

The content of this collection is made by people like you, a community of individuals collaborating on making the world better through developing automation software.

We are actively accepting new contributors.

Any kind of contribution is very welcome.

You don't know how to start? Refer to our contribution guide!

We use the following guidelines:

Collection maintenance

The current maintainers are listed in the OWNERS file. If you have questions or need help, feel free to mention them in the proposals.

To learn how to maintain / become a maintainer of this collection, refer to the Maintainer guidelines.

Release policy

The release policy of the collection can be found at docs/releasing.md.

Governance

The process of decision making in this collection is based on discussing and finding consensus among participants.

Every voice is important. If you have something on your mind, create an issue or dedicated discussion and let's discuss it!

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

Description
Lean Ansible bindings for KubeVirt
Readme Apache-2.0 8 MiB
Languages
Python 85%
Shell 9.2%
Jinja 5.5%
Makefile 0.3%