Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate support for Ubuntu 20.04 #2929

Merged
merged 1 commit into from
Apr 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/dokken-system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
os:
- alinux2
- alinux-2023
- ubuntu2004
- ubuntu2204
- ubuntu2404
- rhel8
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ This file is used to list changes made in each version of the AWS ParallelCluste
**ENHANCEMENTS**
- Remove UnkillableStepTimeout from slurm.conf and let slurm set this value.

**CHANGES**
- Ubuntu 20.04 is no longer supported.

3.13.0
------
**ENHANCEMENTS**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
# See the License for the specific language governing permissions and limitations under the License
provides :cloudwatch, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_cloudwatch_common'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
# See the License for the specific language governing permissions and limitations under the License
provides :ec2_udev_rules, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

unified_mode true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
# See the License for the specific language governing permissions and limitations under the License
provides :efa, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

unified_mode true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :efs, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_get_package_version_dpkg'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :ephemeral_drives, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_ephemeral_drives_common.rb'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :lustre, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

unified_mode true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
# See the License for the specific language governing permissions and limitations under the License
provides :network_service, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

unified_mode true
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
provides :raid, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_raid_common'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :system_authentication, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_system_authentication_common'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def mock_already_installed(package, expected_version, installed)
end

for_oses([
%w(ubuntu 20.04),
%w(ubuntu 24.04),
%w(ubuntu 22.04),
]) do |platform, version|
context "on #{platform}#{version}" do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def self.nothing(chef_run)
end

for_oses([
%w(ubuntu 20.04),
%w(ubuntu 24.04),
]) do |platform, version|
context "on #{platform}#{version}" do
cached(:chef_run) do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
end

describe 'Check the presence of the cloudwatch package gpg key'
# In Ubuntu >20.04 due to environment variable the keyring is placed under home of the user ubuntu with the permission of root
# In Ubuntu >22.04 due to environment variable the keyring is placed under home of the user ubuntu with the permission of root
is_ubuntu = os_properties.ubuntu?
keyring = is_ubuntu && !os_properties.on_docker? ? '--keyring /home/ubuntu/.gnupg/pubring.kbx' : ''
sudo = os_properties.redhat_on_docker? ? '' : 'sudo'
describe bash("#{sudo} gpg --list-keys #{keyring}") do
# Don't check exit status for Ubuntu20 because it returns 2 when executed in the validate phase of a created AMI
# Don't check exit status for Ubuntu22 because it returns 2 when executed in the validate phase of a created AMI
# os_properties cannot be used in the describe block level. It can be used within an it{} block
its('exit_status') { should eq 0 } unless is_ubuntu
its('stdout') { should match /3B789C72/ }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ main() {
os=$(< /etc/chef/dna.json jq -r .cluster.base_os)
_log "Input parameters: user: ${user}, OS: ${os}, shared_folder_path: ${shared_folder_path}."

if ! [[ "${os}" =~ ^(alinux2|alinux2023|ubuntu2004|ubuntu2204|ubuntu2404|rhel8|rocky8|rhel9|rocky9)$ ]]; then
if ! [[ "${os}" =~ ^(alinux2|alinux2023|ubuntu2204|ubuntu2404|rhel8|rocky8|rhel9|rocky9)$ ]]; then
_fail "OS not supported."
fi

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :build_tools, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

unified_mode true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :c_states, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_c_states_common'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :chrony, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_chrony_common.rb'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :enroot, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end
use 'partial/_enroot_common.rb'
use 'partial/_enroot_debian.rb'
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :fabric_manager, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_fabric_manager_common.rb'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :gdrcopy, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_gdrcopy_common.rb'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :modules, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_modules_common.rb'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :nvidia_dcgm, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_nvidia_dcgm_common.rb'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :nvidia_repo, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_nvidia_repo_common.rb'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License.

provides :sticky_bits, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

unified_mode true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and limitations under the License

provides :stunnel, platform: 'ubuntu' do |node|
node['platform_version'].to_i >= 20
node['platform_version'].to_i >= 22
end

use 'partial/_common'
Expand Down
Loading
Loading