Releases: OpenNebula/addon-context-linux
v6.6.1
This is a stable release of the Linux contextualization packages, which comes along with OpenNebula 6.6 Electra.
Features
- notify script for keepalived
- Extend contextualization to unsupported distros
- Static routing
- onegate proxy automatic static routing
Fixes
- Workaround possible race conditions with nm
- Disable rootfs resize on FreeBSD
- Ensure networking restart on interfaces renderer
- Consider empty /etc/hosts for DockerHub images
Dropped support for the following guests:
- Fedora: 36
- Ubuntu: 18.04
- Alt Linux: Sisyphus
- OpenSUSE: Tumbleweed
v6.6.0
This is a stable release of the Linux contextualization packages, which comes along with OpenNebula 6.6 Electra.
This is rather a small release containing a few bug fixes and features.
Changes since the previous stable version:
- Avoid slow contextualization (networkd)
- Avoid netplan race condition
- #267: Add EL9 support
- #266: Fix GROW_ROOTFS and GROW_FS on btrfs
- #265: Improve START_SCRIPT
Supported guests:
- AlmaLinux: 8, 9
- Alpine Linux: 3.15, 3.16, 3.17
- ALT Linux: p10, Sisyphus
- Amazon Linux: 2
- CentOS: 7, 8 Stream
- Debian: 10, 11, 12
- Devuan: 3, 4
- Fedora: 36, 37
- FreeBSD: 12, 13
- openSUSE: 15
- Oracle Linux: 7, 8, 9
- Red Hat Enterprise Linux: 7, 8, 9
- Rocky Linux: 8, 9
- Ubuntu: 18.04, 20.04, 22.04
Known issues:
- Debian 12 has an issue with systemd-networkd-wait-online.service which timeouts and delays the boot
- Fedora 36,37 have systemd-networkd-wait-online.service to avoid a timeout when no interface uses networkd renderer
v6.4.0
This is a stable release of the Linux contextualization packages, which comes along with OpenNebula 6.4 Archeon.
Package was updated to reflect changes in the OpenNebula 6.4 - mainly new VM states exposed by OneGate and otherwise contains only small fixes and improvements listed below. One possibly breaking change is moving the package open-vm-tools
for RedHat-like 7/8 systems from being a hard dependency to being a recommended dependency - this was done due to the support of ARM64 images where VMware tools package was missing on CentOS platforms. This way we can still be using one noarch
package instead of multiple architecture-specific.
VMware users, please, note that you may need to explicitly install open-vm-tools
package in RedHat-like systems and their clones (el7
and el8
rpms) if the recommended packages are not installed by default!
Changes since the previous stable version:
- #255: Add weak dependency support
- #258: Sync onegate cli with OpenNebula 6.4
- #251: Fix growing fs on international locales
- #261: Improve locale handling
- #260: Add
IGNORE_SWAP
context param to ignore any found swap devices - Full Changelog: v6.2.0...v6.4.0
Supported guests:
- AlmaLinux: 8
- Alpine Linux: 3.13, 3.14, 3.15
- ALT Linux: p10, Sisyphus
- Amazon Linux: 2
- CentOS: 7, 8 Stream
- Debian: 10, 11, 12
- Devuan: 2
- Fedora: 34, 35
- FreeBSD: 12, 13
- openSUSE: 15
- Oracle Linux: 7, 8
- Red Hat Enterprise Linux: 7, 8
- Rocky Linux: 8
- Ubuntu: 14.04, 16.04, 18.04, 20.04, 21.10, 22.04
Known issues:
GROW_ROOTFS
/GROW_FS
fail to extend btrfs partitions- Debian 12 has issue with
systemd-networkd-wait-online.service
which timeouts and delays the boot
The contextualization packages are compatible with OpenNebula versions from 4.6 to 6.4.
v6.2.0
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.
v6.0.0
This is a stable release of the Linux contextualization packages, which comes along with OpenNebula 6.0 Mutara. It contains few bug fixes, support for Oracle Linux, and a new tool onesysprep
(similar to sysprep for Windows) to generalize Virtual Machines so that their images can be used as a base of other Virtual Machines. Unlike the similar virt-sysprep tool which must be executed by cloud administrator on the hypervisor Node while VM is powered-off, onesysprep
runs the end-user right inside his Virtual Machine.
Changes since previous stable version:
- B #112: Move script location outside of /tmp
- F #127: New onesysprep tool
- F #219: Add ifupdown2 support on Debian/Ubuntu
- B #221: Swap on LVM system disk triggers extra recontextualization
- B #223: Generate SSH host keys with ssh-keygen -A on Debian/Ubuntu
- B OpenNebula/one#5258: OneGate ruby client does not terminate a VM
- New parameter
RECREATE_RUN
to reconstruct content of/run
from base image when tmpfs mounted on/run
(Firecracker)
Supported guests:
- AlmaLinux: 8
- Alpine Linux: 3.10, 3.11, 3.12, 3.13
- ALT Linux: p9, Sisyphus
- Amazon Linux: 2
- CentOS: 7, 8, 8 Stream
- Debian: 8, 9, 10
- Devuan: 2
- Fedora: 32, 33
- FreeBSD: 11, 12
- openSUSE: 15, Tumbleweed
- Oracle Linux: 7, 8
- Red Hat Enterprise Linux: 7, 8
- Ubuntu: 14.04, 16.04, 18.04, 20.04, 20.10
The contextualization packages are compatible with OpenNebula versions from 4.6 to 6.0.
Big thanks for the contributions by Alexandre Derumier.
v5.12.0.2
This is a maintenance release which comes with the only bugfix. It avoids triggering recontextualization and subsequent network service restart inside VM when a change happens on network interfaces other than OpenNebula configured interfaces (e.g., bridges, virtual interfaces, ...). Tracked as an issue:
- B #216 - Detach NIC workarounds might trigger unnecessary recontext
Supported guests:
- Alpine Linux: 3.10, 3.11, 3.12
- ALT Linux: p9, Sisyphus
- Amazon Linux: 2
- CentOS: 6, 7, 8, 8 Stream
- Red Hat Enterprise Linux: 7, 8
- Fedora: 31, 32, 33
- openSUSE: 15, Tumbleweed
- Debian: 8, 9, 10
- Devuan: 2
- Ubuntu: 14.04, 16.04, 18.04, 20.04, 20.10
- FreeBSD: 11, 12
The contextualization packages are compatible with OpenNebula versions from 4.6 to 5.12.
v5.12.0.1
This is a maintenance release which comes with the only change:
- Updated OneGate client to support OneGate server features introduced in OpenNebula 5.12.6
Supported guests:
- Alpine Linux: 3.10, 3.11, 3.12
- ALT Linux: p9, Sisyphus
- Amazon Linux: 2
- CentOS: 6, 7, 8, 8 Stream
- Red Hat Enterprise Linux: 7, 8
- Fedora: 31, 32, 33
- openSUSE: 15, Tumbleweed
- Debian: 8, 9, 10
- Devuan: 2
- Ubuntu: 14.04, 16.04, 18.04, 20.04, 20.10
- FreeBSD: 11, 12
The contextualization packages are compatible with OpenNebula versions from 4.6 to 5.12.
v5.12.0
This is a stable version that comes along with the OpenNebula 5.12 Firework. The release drops few legacy dependencies and scripts to work on Ubuntu 20.04, introduces missing support for automatic root partition resizing of disk on SCSI, improves network reconfigurations on Alpine Linux, adds contextualization support for Firecracker microVMs and ALT Linux, introduces configurable route metrics via contextualization and other fixes.
Changes since previous stable version:
- B #190: Drop unnecessary Python dependency in Debian packages
- B #194: Support for live-resize of rootfs with disk on SCSI
- F #196: Consistent recontextualization on NIC detach (with a workaround for older OpenNebula versions)
- #204: Removed VR scripts from Alpine Linux package
- F OpenNebula/one#4089: Firecracker context disk with ext2 filesystem support
- B OpenNebula/one#4439: Thorough network stop on Alpine
- Change to use systemctl in
/usr/bin/
on Red Hat-like systems (req. by openSUSE Tumbleweed) - Check for working
hostnamectl
before using it on systemd platforms
including changes since the pre-release:
Supported guests:
- Alpine Linux: 3.8, 3.9, 3.10, 3.11
- ALT Linux: p9, Sisyphus
- Amazon Linux: 2
- CentOS: 6, 7, 8, 8 Stream
- Red Hat Enterprise Linux: 7, 8
- Fedora: 30, 31, 32
- openSUSE: 15, Tumbleweed
- SUSE Linux Enterprise Server: 12 SP3
- Debian: 8, 9, 10
- Devuan: 2
- Ubuntu: 14.04, 16.04, 18.04, 19.10, 20.04
- FreeBSD: 11, 12
The contextualization packages are compatible with OpenNebula versions from 4.6 to 5.12.
v5.11.80
This is a beta release that comes along with the OpenNebula 5.12 Firework Beta. The release drops few legacy dependencies and scripts to work on Ubuntu 20.04, introduces missing support for automatic root partition resizing of disk on SCSI, improves network reconfigurations on Alpine Linux, adds contextualization support for Firecracker microVMs and other fixes.
Changes since previous stable version:
- B #190: Drop unnecessary Python dependency in Debian packages
- B #194: Support for live-resize of rootfs with disk on SCSI
- F #196: Consistent recontextualization on NIC detach (with a workaround for older OpenNebula versions)
- #204: Removed VR scripts from Alpine Linux package
- F OpenNebula/one#4089: Firecracker context disk with ext2 filesystem support
- B OpenNebula/one#4439: Thorough network stop on Alpine
- Change to use systemctl in
/usr/bin/
on Red Hat-like systems (req. by openSUSE Tumbleweed) - Check for working
hostnamectl
before using it on systemd platforms
Supported guests:
- Alpine Linux: 3.8, 3.9, 3.10, 3.11
- Amazon Linux: 2
- CentOS: 6, 7, 8, 8 Stream
- Red Hat Enterprise Linux: 7, 8
- Fedora: 30, 31, 32
- openSUSE: 15, Tumbleweed
- SUSE Linux Enterprise Server: 12 SP3
- Debian: 8, 9, 10
- Devuan: 2
- Ubuntu: 14.04, 16.04, 18.04, 19.10, 20.04
- FreeBSD: 11, 12
The contextualization packages are compatible with OpenNebula versions from 4.6 to 5.12 Beta.
v5.10.0
This is a stable version that comes along with the OpenNebula 5.10 release. The release introduces configurable guest timezone (via TIMEZONE
), optional root partition growing (via GROW_ROOTFS=NO
), optional securetty checks for privileged logins (via SECURETTY=NO
) and other small fixes and improvements.
Changes since previous stable version:
- F #115: Partition growing can be disabled (via
GROW_ROOTFS=NO
) - B #116: Fixes for Ubuntu Minimal images
- B #118: Improvements into service scripts for forced recontextualization
- B #137: Replace
echo -en
withecho
- B #147: Debian DNS configuration is not part of
interfaces
- B #148: Fix invalid backup files created by sed on Linux
- F #165: Setup timezone (via
TIMEZONE
) - B #174: Don't configure detached NIC aliases
- #181: Fix in calculating
NETWORK
from IP/MASK - B OpenNebula/one#109: Configurable pam_securetty (via
SECURETTY
) - F OpenNebula/one#964: VMware support for data from FILES_DS
- B OpenNebula/one#3572: Rebased OneGate client
- Updates to packaging and dependencies (B #145)
- Deprecation of hook for power-off on VMware
The contextualization packages are compatible with OpenNebula versions from 4.6 to 5.10.
Big thanks for the contributions by Andrey Kvapil, Deyan Chepishev, and Daniel Dehennin.