Accepting request 901729 from home:glaubitz:branches:Cloud:Tools

- Update to version 1.31.2
  + Handle HTTPError and other unknown exception when fetching IMDS token
  + Support Oracle Enterprise Linux 8
- from version 1.31.1
  + Support fallback to mount with mount target ip address when DNS resolution fails
  + Bump py from 1.8.0 to 1.10.0
- from version 1.30.2
  + Add helper message when config file on instance is not latest
  + Fix the throughput regression due to read_ahead configuration change
    on Linux distribution with kernel version 5.4.x and above
- from version 1.30.1
  + Support mounting to specific AZ mount target
  + Revert "Support mounting to specific AZ mount target"
  + Support mounting to specific AZ mount target
  + Use regional AWS STS endpoints instead of the global endpoint to reduce latency
- from version 1.29.1-mac
  + Fix issue where state files are removed after mount on EC2
    instances running on MacOS Big Sur
  + Add support for EC2 Mac instances running macOS Big Sur
- from version 1.29.1
  + Update the python dependency to python3
  + Fix typo
- from version 1.28.2
  + Fix the issue that mounting with IAM authorization with
    iam role does not work with IMDSv2
- from version 1.28.1
  + Support publishing mount success/failure notification via CloudWatch log
  + filename of .deb-package now includes architecture
- from version 1.27.1
  + Merge PR #60 on GitHub. Adds support for AssumeRoleWithWebIdentity.

OBS-URL: https://build.opensuse.org/request/show/901729
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-efs-utils?expand=0&rev=16
This commit is contained in:
Robert Schweikert 2021-06-24 12:36:19 +00:00 committed by Git OBS Bridge
parent 0dcf537024
commit c3cd05d370
5 changed files with 120 additions and 7 deletions

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Thu Jun 24 11:57:02 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.31.2
+ Handle HTTPError and other unknown exception when fetching IMDS token
+ Support Oracle Enterprise Linux 8
- from version 1.31.1
+ Support fallback to mount with mount target ip address when DNS resolution fails
+ Bump py from 1.8.0 to 1.10.0
- from version 1.30.2
+ Add helper message when config file on instance is not latest
+ Fix the throughput regression due to read_ahead configuration change
on Linux distribution with kernel version 5.4.x and above
- from version 1.30.1
+ Support mounting to specific AZ mount target
+ Revert "Support mounting to specific AZ mount target"
+ Support mounting to specific AZ mount target
+ Use regional AWS STS endpoints instead of the global endpoint to reduce latency
- from version 1.29.1-mac
+ Fix issue where state files are removed after mount on EC2
instances running on MacOS Big Sur
+ Add support for EC2 Mac instances running macOS Big Sur
- from version 1.29.1
+ Update the python dependency to python3
+ Fix typo
- from version 1.28.2
+ Fix the issue that mounting with IAM authorization with
iam role does not work with IMDSv2
- from version 1.28.1
+ Support publishing mount success/failure notification via CloudWatch log
+ filename of .deb-package now includes architecture
- from version 1.27.1
+ Merge PR #60 on GitHub. Adds support for AssumeRoleWithWebIdentity.
+ Add support for AssumeRoleWithWebIdentity
- from version 1.26.3
+ Fix an issue where watchdog crashed during restart because stunnel
was killed and pid key was removed from state file
- from version 1.26.2
+ Fixes an issue with watchdog where it sometimes fails to restart stunnels in
efs-csi-driver container * Fixes an issue where fs cannot be mounted with tls
using systemd.automount-units due to mountpoint check
+ Revert "Fixes an issue with watchdog where it sometimes fails to restart stunnels
in efs-csi-driver container"
+ Fixes an issue with watchdog where it sometimes fails to restart stunnels in
efs-csi-driver container
+ Remove non-ascii character in dist/efs-utils.conf
- from version 1.25-3
+ Check if mountpoint is already mounted beforehand for tls mount
+ Bug fix and enhancement, support fedora
- from version 1.25-2
+ Fix python3 IAM role name encoded format, add optional
override for stunnel log
+ Encode IAM role name to UTF-8
- from version 1.25-1
+ Create self-signed certificate for tls-only mount
+ add CentOS 8 support
- from version 1.24
+ Fix the malformed certificate info
+ bump the release id to 3
+ Use IMDSv1 by default, and use IMDSv2 where required
+ Revert "Use IMDSv1 by default, and fall back to IMDSv2 if necessary"
+ Use IMDSv1 by default, and fall back to IMDSv2 if necessary
+ Modify rhel8-support.sh to handle Fedora as well, and rename it
+ Remove which from DEB package dependency
+ List which as dependency to search command exec path
+ Enable region sourcing from efs-utils configuration file and fix
stunnel exec path issue in openSUSE
+ Update rpm changelog for v1.23-2, fix circleCI build issue
- from version 1.23
+ Add support for Amazon Elastic Container Service
- from version 1.22
+ Improvements to metadata retrieval and IAM authentication
- from version 1.21
+ Improvements to auth and access point support
- from version 1.20
+ Fixes the mount issue with full DNS name in the AWS China Regions;
Upgrades unit test coverage version dependency to enable accurate
python3.8 coverage test
- from version 1.19
+ Added region localization, Integrate repository with CircleCI to enable
package build visualization, Unit tests bug fixes for python3.5
- from version 1.18
+ Support IAM authentication and access points.
- Add patch to disable mount_efs_test which requires networking
+ disable_mount_efs_test.patch
- Add openssl to BuildRequires, required for testsuite
- Update Requires from requirements.txt
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 3 15:03:24 UTC 2020 - Franck Bui <fbui@suse.com> Tue Nov 3 15:03:24 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package aws-efs-utils # spec file for package aws-efs-utils
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,21 +17,24 @@
Name: aws-efs-utils Name: aws-efs-utils
Version: 1.17 Version: 1.31.2
Release: 0 Release: 0
Summary: Utilities for using the EFS file systems Summary: Utilities for using the EFS file systems
License: MIT License: MIT
Group: System/Management Group: System/Management
URL: https://github.com/aws/efs-utils URL: https://github.com/aws/efs-utils
Source0: https://github.com/aws/efs-utils/archive/v%{version}.tar.gz Source0: https://github.com/aws/efs-utils/archive/v%{version}.tar.gz
Patch0: disable_mount_efs_test.patch
BuildRequires: openssl
BuildRequires: python3-attrs >= 17.4.0 BuildRequires: python3-attrs >= 17.4.0
BuildRequires: python3-coverage >= 4.5 BuildRequires: python3-botocore >= 1.17.53
BuildRequires: python3-coverage >= 4.5.4
BuildRequires: python3-flake8 >= 3.7.9 BuildRequires: python3-flake8 >= 3.7.9
BuildRequires: python3-mccabe >= 0.6.1 BuildRequires: python3-mccabe >= 0.6.1
BuildRequires: python3-mock >= 2.0.0 BuildRequires: python3-mock >= 2.0.0
BuildRequires: python3-pbr >= 3.1.1 BuildRequires: python3-pbr >= 3.1.1
BuildRequires: python3-pluggy >= 0.13.0 BuildRequires: python3-pluggy >= 0.13.0
BuildRequires: python3-py >= 1.8.0 BuildRequires: python3-py >= 1.10.0
BuildRequires: python3-pycodestyle >= 2.5.0 BuildRequires: python3-pycodestyle >= 2.5.0
BuildRequires: python3-pyflakes >= 2.1.1 BuildRequires: python3-pyflakes >= 2.1.1
BuildRequires: python3-pytest >= 4.6.7 BuildRequires: python3-pytest >= 4.6.7
@ -52,6 +55,7 @@ This package provides utilities for using the EFS file systems.
%prep %prep
%setup -n efs-utils-%{version} %setup -n efs-utils-%{version}
%patch0 -p1
find . -name "*.py" -exec sed -i 's/env python/python3/' {} + find . -name "*.py" -exec sed -i 's/env python/python3/' {} +
%build %build

View File

@ -0,0 +1,21 @@
diff -Nru efs-utils-1.31.2.orig/Makefile efs-utils-1.31.2/Makefile
--- efs-utils-1.31.2.orig/Makefile 2021-06-17 17:05:57.000000000 +0200
+++ efs-utils-1.31.2/Makefile 2021-06-24 13:55:03.285623213 +0200
@@ -57,5 +57,5 @@
.PHONY: test
test:
- pytest
+ pytest --ignore=test/mount_efs_test
flake8
diff -Nru efs-utils-1.31.2.orig/setup.cfg efs-utils-1.31.2/setup.cfg
--- efs-utils-1.31.2.orig/setup.cfg 2021-06-17 17:05:57.000000000 +0200
+++ efs-utils-1.31.2/setup.cfg 2021-06-24 13:54:45.397645746 +0200
@@ -6,7 +6,6 @@
addopts =
--verbose
--html build/pytest/index.html
- --cov mount_efs
--cov watchdog
--cov-report html:build/coverage
--cov-fail-under 80

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d535100e3cd1fe22dec918f21f555993d9675214df83ac20d4e8621131d3078
size 31263

3
v1.31.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3619127427178795a9fc76ae23b4e8603e4cfd9f5330e9f3ce44fddc21fe85cb
size 101173