Upgrade to Debian Buster: Technical Implications
Because it is important to keep your hosting environment up to date we’re upgrading all Hypernodes from the Ubuntu Xenial operating system to the new Debian Buster OS. While we have worked hard to keep this upgrade as non-intrusive for the user as possible, this article lists some of the changes you might experience after having been upgraded to the new operating system. If you’re interested in the motivations for this upgrade check out this previous changelog.
Software Version Changes
These are some of the versions of software available on the system that have changed in this OS upgrade. Note that this list is not exhaustive and only a snapshot of the situation of the platform during the moment of the initial transition between OS versions. Over time as the platform develops these versions might be mutated further. See the Hypernode changelog for the most up-to-date reports on changes to the platform.
While most users on Hypernode do not actively use the Python interpreter there are some users who run Python scripts or use tooling that uses the Python interpreter (like using Ansible to deploy to Hypernode). In Debian Buster the system Python will remain Python 2. This minor upgrade should not cause any incompatibilities.
python -> Xenial: 2.7.12-1ubuntu0~16.04.11 -> Buster: 2.7.16-1
Python 3 will be significantly updated though. If you run Python scripts and run into problems make sure to check those don’t use any features that have since been deprecated. For more information see the Python changelog.
python3 -> Xenial: 3.5.1-3 -> Buster: 3.7.3-1
Here are some of the version changes of other interpreters. Even if you don’t actively program in these languages you might be using a tool that is using one of these interpreters (for example, if you instead of Ansible use Capistrano to deploy that tool would be running on the Ruby programming language).
ruby -> Xenial: 1:2.3.0+1 -> Buster: 1:2.5.1 ruby2 -> Xenial: 2.3.1-2~ubuntu16.04.14 -> Buster: 2.5.5-3+deb10u1 perl -> Xenial: 5.22.1-9ubuntu0.6 -> Buster: 5.28.1-6
In case you use some esoteric shell features and are interested in these version changes:
bash -> Xenial: 4.3-14ubuntu1.4 -> Buster: 5.0-4 dash -> Xenial: 0.5.8-2.1ubuntu2 -> Buster: 0.5.10.2-5 zsh -> Xenial: 5.1.1-1ubuntu2.3 -> Buster: 5.7.1-1
Various system utilities and more
These are the version changes between various system utilities
awscli -> Xenial: 1.10.1-1 -> Buster: 1.16.113-1 git -> Xenial: 1:2.7.4-0ubuntu1.9 -> Buster: 1:2.20.1-2+deb10u3 webp -> Xenial: 0.4.4-1 -> Buster: 0.6.1-2 pngquant -> Xenial: 2.5.0-1 -> 2.12.2-1 supervisor -> Xenial: 3.2.0-2ubuntu0.2 -> Buster: 3.3.5-1 tmux -> Xenial: 2.1-3build1 -> Buster: 2.8-3 screen -> Xenial: 4.3.1-2build1 -> Buster: 4.6.2-3 rsync -> Xenial: 3.1.1-3ubuntu1.3 -> Buster: 3.1.3-6
ElasticSearch 5.2 will no longer be available. You can use
hypernode-systemctl settings elasticsearch_version --value 6.xto upgrade to
Newer kernel, systemd, libc, openssl, gcc, cgroup v2 hierarchy and those type of fun things. Not so much relevant for end users, but it is for the development of the platform from our side in regards to dealing with backwards incompatible changes in the software stack and being able to use new features for managing the fleet.
The root disk size will now be
20 GBon all nodes. Previously this was the case for OpenStack and DigitalOcean nodes, but for AWS the root disk size was the EC2 default of
8 GB. For some Hypernodes this caused issues at peak moments when the access logs would be written to so fast that the log rotation couldn’t keep up. In the future this should be less of an issue because now there will be more space available. If you encounter such issues still with this increased capacity you can consider things like putting your MySQL temporary directory on the /data disk in order to free up some more space.
TLS 1.3 has been added. Note that TLS 1.1 and TLS 1.0 are deprecated and will be disabled at a later point in time. You can already enable a stricter cipher suite using the hypernode-api.
Curl has been updated to support and prefer HTTP/2. This may cause a problem if you use outdated Magento/Zend core libraries that can’t interpret HTTP/2. If this is the case, you should modify your code to explicitly ask for a supported version. If you’re using curl, you can do so by using something akin to:
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
The OpenSSL seclevel has been updated to from ‘1’ to ‘2’. This may reduce interoperability with older systems that are using pre-2013 industry standards. If this is the case you can downgrade your TLS settings using the command
hypernode-systemctl settings support_insecure_legacy_tls_enabled True
Checking if a Hypernode Has Been Upgraded Yet
You can check the message of the day when you log in with ssh as it displays the
OS, or run
lsb_release -a or
cat /etc/os-release. Alternatively you can check using screenfetch. On Buster you’ll see the Hypernode bot, on Xenial the package is not installed and the command is not available.