From 4eee89ccba75a34b222d2f828129d0d5f26ffd23 Mon Sep 17 00:00:00 2001 From: Chinasubbareddy Mallavarapu Date: Wed, 5 May 2021 14:12:40 +0000 Subject: [PATCH] [ceph-mon] Fix python3 issue for util scripts This is to update python3 for checkObjectReplication.py script since python2 got removed from ceph images. Change-Id: I006a4becaeefb2a0cbef6f5d1fb56c7fc40b0170 --- ceph-mon/Chart.yaml | 2 +- ceph-mon/templates/bin/utils/_checkObjectReplication.py.tpl | 2 +- releasenotes/notes/ceph-mon.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ceph-mon/Chart.yaml b/ceph-mon/Chart.yaml index 44aa39c38..47b60751b 100644 --- a/ceph-mon/Chart.yaml +++ b/ceph-mon/Chart.yaml @@ -15,6 +15,6 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Ceph Mon name: ceph-mon -version: 0.1.5 +version: 0.1.6 home: https://github.com/ceph/ceph ... diff --git a/ceph-mon/templates/bin/utils/_checkObjectReplication.py.tpl b/ceph-mon/templates/bin/utils/_checkObjectReplication.py.tpl index 9774ed628..af0ae4580 100755 --- a/ceph-mon/templates/bin/utils/_checkObjectReplication.py.tpl +++ b/ceph-mon/templates/bin/utils/_checkObjectReplication.py.tpl @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import subprocess # nosec import json diff --git a/releasenotes/notes/ceph-mon.yaml b/releasenotes/notes/ceph-mon.yaml index 1e46e4e6a..98ad41b2e 100644 --- a/releasenotes/notes/ceph-mon.yaml +++ b/releasenotes/notes/ceph-mon.yaml @@ -6,4 +6,5 @@ ceph-mon: - 0.1.3 Run mon container as ceph user - 0.1.4 Uplift from Nautilus to Octopus release - 0.1.5 Add Ceph CSI plugin + - 0.1.6 Fix python3 issue for util scripts ...