Skip to content

Commit 78d6b1a

Browse files
committed
publish v0.5.33 and add --log-level rclone flag
Signed-off-by: Mayank Sachan <[email protected]>
1 parent 228325f commit 78d6b1a

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
env:
1919
IS_LATEST_RELEASE: 'false'
20-
APP_VERSION: 0.5.32
20+
APP_VERSION: 0.5.33
2121

2222
steps:
2323
- name: Checkout Code
@@ -63,11 +63,11 @@ jobs:
6363
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-${{ env.APP_VERSION }}.deb.tar.gz.sha256
6464
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-${{ env.APP_VERSION }}.rpm.tar.gz
6565
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-${{ env.APP_VERSION }}.rpm.tar.gz.sha256
66-
tag_name: v0.5.32
67-
name: v0.5.32
66+
tag_name: v0.5.33
67+
name: v0.5.33
6868
body: |
6969
## 🚀 What’s New
70-
- Fix for rclone mount hang issue using goroutines
70+
- Fix for rclone mount hang issue using goroutines with log-level flag
7171
prerelease: ${{ env.IS_LATEST_RELEASE != 'true' }}
7272

7373
- name: Perform CodeQL Analysis

cos-csi-mounter/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME := cos-csi-mounter
2-
APP_VERSION := 0.5.32
2+
APP_VERSION := 0.5.33
33
BUILD_DIR := $(NAME)-$(APP_VERSION)
44
BIN_DIR := bin
55

cos-csi-mounter/server/rclone.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ type RCloneArgs struct {
2020
DirectIO string `json:"direct-io,omitempty"`
2121
GID string `json:"gid,omitempty"`
2222
LogFile string `json:"log-file,omitempty"`
23+
LogLevel string `json:"log-level,omitempty"`
2324
NoModificationTime string `json:"no-modtime,omitempty"`
2425
PollInterval string `json:"poll-interval,omitempty"`
2526
ReadOnly string `json:"read-only,omitempty"`

pkg/mounter/mounter-rclone.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ func (rclone *RcloneMounter) formulateMountOptions(bucket, target, configPathWit
322322
"--daemon",
323323
"--config=" + configPathWithVolID + "/" + configFileName,
324324
"--log-file=/var/log/rclone.log",
325+
"--log-level=DEBUG",
325326
"--vfs-cache-mode=writes",
326327
}
327328

@@ -330,6 +331,7 @@ func (rclone *RcloneMounter) formulateMountOptions(bucket, target, configPathWit
330331
"daemon": "true",
331332
"config": configPathWithVolID + "/" + configFileName,
332333
"log-file": "/var/log/rclone.log",
334+
"log-level": "DEBUG",
333335
"vfs-cache-mode": "writes",
334336
}
335337

0 commit comments

Comments
 (0)