From 4d0d8bcb42e0fdcfdbcf753ece4829039ab208ae Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Fri, 23 Feb 2024 20:11:35 +0200 Subject: [PATCH 1/6] Disable verification of server TLS certificates for mgmt-api (#715) --- medusa/service/snapshot/management_api_snapshot_service.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/medusa/service/snapshot/management_api_snapshot_service.py b/medusa/service/snapshot/management_api_snapshot_service.py index 62bb47aa..aa9a0515 100644 --- a/medusa/service/snapshot/management_api_snapshot_service.py +++ b/medusa/service/snapshot/management_api_snapshot_service.py @@ -24,8 +24,11 @@ def __init__(self, config): self.config = config self.session = requests.Session() if self.config.tls_cert is not None and len(self.config.tls_cert) > 0: - self.session.verify = self.config.ca_cert + # self.session.verify = self.config.ca_cert + self.session.verify = False self.session.cert = (self.config.tls_cert, self.config.tls_key) + if self.config.cassandra_url.startswith('http://'): + self.config.cassandra_url = self.config.cassandra_url.replace('http://', 'https://') def create_snapshot(self, *, tag): # get the Cassandra URL to POST the request From 3094848b2f064f6139da8ebdda9ccf9ff1ed6ec9 Mon Sep 17 00:00:00 2001 From: Alexander Dejanovski Date: Sat, 24 Feb 2024 12:19:19 +0100 Subject: [PATCH 2/6] =?UTF-8?q?Bump=20version:=200.19.0=20=E2=86=92=200.19?= =?UTF-8?q?.1-dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 3 ++- VERSION | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index f29b8f40..2f85a07d 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.19.0 +current_version = 0.19.1-dev commit = True tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+))? @@ -17,3 +17,4 @@ values = [bumpversion:file:VERSION] [bumpversion:file:setup.py] + diff --git a/VERSION b/VERSION index 1cf0537c..c06d565c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.19.0 +0.19.1-dev diff --git a/setup.py b/setup.py index 81a8159e..7e675a6f 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setuptools.setup( name='cassandra-medusa', - version='0.19.0', + version='0.19.1-dev', author='The Last Pickle', author_email='medusa@thelastpickle.com', url='https://github.com/thelastpickle/cassandra-medusa', From c148591f71c1314b251917d9ee285bca8eecfdb5 Mon Sep 17 00:00:00 2001 From: Alexander Dejanovski Date: Sat, 24 Feb 2024 12:20:43 +0100 Subject: [PATCH 3/6] Update changelog for v0.19.1 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a407b12d..dbe39a9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## Change Log +### 0.19.1 (2024/02/24 12:19 +00:00) +- Disable verification of server TLS certificates for mgmt-api (#715) (@burmanm) + ### 0.19.0 (2024/02/21 16:50 +00:00) - Add mtls to mgmt api connection (#714) (@burmanm) From 1a78f3bab068d4c501a6b91565f8adcbcba86cf8 Mon Sep 17 00:00:00 2001 From: Alexander Dejanovski Date: Sat, 24 Feb 2024 12:21:01 +0100 Subject: [PATCH 4/6] Release 0.19.1 --- .bumpversion.cfg | 2 +- VERSION | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 2f85a07d..ffc8c1ec 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.19.1-dev +current_version = 0.19.1 commit = True tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+))? diff --git a/VERSION b/VERSION index c06d565c..41915c79 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.19.1-dev +0.19.1 diff --git a/setup.py b/setup.py index 7e675a6f..023cf668 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setuptools.setup( name='cassandra-medusa', - version='0.19.1-dev', + version='0.19.1', author='The Last Pickle', author_email='medusa@thelastpickle.com', url='https://github.com/thelastpickle/cassandra-medusa', From cbf347f83a8d70fa38876987609c69c6da622924 Mon Sep 17 00:00:00 2001 From: Alexander Dejanovski Date: Sat, 24 Feb 2024 12:21:15 +0100 Subject: [PATCH 5/6] Update changelog for release 0.19.1 --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 9f496362..fddcd093 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cassandra-medusa (0.19.1) stable; urgency=medium + + * Release 0.19.1 of Medusa - Backups for Apache Cassandra. + + -- The Last Pickle Sat, 24 Feb 2024 11:21:15 +0000 + cassandra-medusa (0.19.0) stable; urgency=medium * Release 0.19.0 of Medusa - Backups for Apache Cassandra. From 6e17a46711f732f174cc409303c5d40952a68482 Mon Sep 17 00:00:00 2001 From: Alexander Dejanovski Date: Sat, 24 Feb 2024 12:21:18 +0100 Subject: [PATCH 6/6] =?UTF-8?q?Bump=20version:=200.19.1=20=E2=86=92=200.19?= =?UTF-8?q?.2-dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- VERSION | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index ffc8c1ec..0e49fd9e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.19.1 +current_version = 0.19.2-dev commit = True tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+))? diff --git a/VERSION b/VERSION index 41915c79..1d628a60 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.19.1 +0.19.2-dev diff --git a/setup.py b/setup.py index 023cf668..8371169d 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setuptools.setup( name='cassandra-medusa', - version='0.19.1', + version='0.19.2-dev', author='The Last Pickle', author_email='medusa@thelastpickle.com', url='https://github.com/thelastpickle/cassandra-medusa',