Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

v6.2.0

Compare
Choose a tag to compare
@vholer vholer released this 25 Oct 16:39
· 40 commits to master since this release

This is a stable release of the Linux contextualization packages, which comes along with OpenNebula 6.2 Red Square.

The most significant changes are in the network configuration scripts, which have been refactored to reduce redundant code and provide flexibility to support new network configuration services. Newly NetworkManager, systemd-networkd, and Netplan can be used to manage the guest NICs. The most suitable network service is automatically detected, but can be enforced via context parameters (e.g., NETCFG_TYPE="networkd"). Reworked network code also allows selecting the IP configuration method inside the guest from common (and default) static network configuration to various dynamic configuration options, skipping any configuration actions, or even disabling IPv6 at all. This is configurable on the NIC level in OpenNebula VM template through new parameters METHOD (for IPv4) and IP6_METHOD (for IPv6), which are then propagated into corresponding context parameters (example of VM template snippet: NIC = [ NETWORK="example", METHOD = "dhcp", IP6_METHOD="disable" ]).

Recontextualization on vCenter is now possible even for updates, that don't cause a direct change in the VM. This is implemented by periodic recontextualization checks (via systemd timer or cronjob). Partition and filesystem growing on disks resized in the OpenNebula previously limited only to the root filesystem can now extend any custom disk (example: GROW_FS="/ /srv /mnt/data"). When reporting readiness of VM back to OpenNebula (if READY="yes"), it now retries failed operations and avoids hangs by using timeouts. When the hostname is changed during contextualization, the logging service is restarted to propagate the change also into the logs.

And, several other bug fixes and compatibility improvements.

Changes since the previous stable version:

  • F #86: DHCP configured interfaces
  • F #87: Add netplan support
  • B #163: Services not enabled on upgrade
  • F #170: Add NetworkManager support
  • F #185: Recontextualizaton on vCenter
  • #225: Sanitize init script names
  • F #227: Selectable Network Configuration Renderers
  • B #230: Fix potential mount/umount issues on FreeBSD 13
  • B #231: Fix onesysprep on Debian 10
  • B #237: Set timeouts when reporting READY=yes
  • B #239, #245: Udev deadlock on Debian/Ubuntu slows boot time
  • B #243: Occasionally no recontextualization on CD-ROM change
  • #244: Add additional (Ubuntu) log files to be deleted by onesysprep
  • B #247: Retry CD-ROM mount
  • B #248: Restart syslog on hostname change
  • F OpenNebula/addon-context-windows#85: Retry report READY=YES
  • F OpenNebula/one#4257: Select partition to resize when resizing disk
  • B OpenNebula/one#5504: Handle nicely acpid on systemd
  • Improved CD-ROM mount/umount code
  • Support AlmaLinux, Rocky and OL, SLES, SLED, Amazon Linux in onesysprep

Supported guests:

  • AlmaLinux: 8
  • Alpine Linux: 3.11, 3.12, 3.13, 3.14
  • ALT Linux: p9, p10, Sisyphus
  • Amazon Linux: 2
  • CentOS: 7, 8, 8 Stream
  • Debian: 8, 9, 10, 11
  • Devuan: 2
  • Fedora: 32, 33, 34
  • FreeBSD: 11, 12, 13
  • openSUSE: 15, Tumbleweed
  • Oracle Linux: 7, 8
  • Red Hat Enterprise Linux: 7, 8
  • Rocky Linux: 8
  • Springdale Linux: 8
  • Ubuntu: 14.04, 16.04, 18.04, 20.04, 21.04, 21.10

The contextualization packages are compatible with OpenNebula versions from 4.6 to 6.2.

Big thanks for the contributions by Moin, Remy Zandwijk and Sergio Milanese.