commit ceph-csi for openSUSE:Factory

2020-10-08 Thread root
Hello community,

here is the log from the commit of package ceph-csi for openSUSE:Factory 
checked in at 2020-10-08 13:11:35

Comparing /work/SRC/openSUSE:Factory/ceph-csi (Old)
 and  /work/SRC/openSUSE:Factory/.ceph-csi.new.4249 (New)


Package is "ceph-csi"

Thu Oct  8 13:11:35 2020 rev:9 rq:839810 version:3.1.1+git0.22b631e99

Changes:

--- /work/SRC/openSUSE:Factory/ceph-csi/ceph-csi.changes2020-09-25 
16:28:32.395731213 +0200
+++ /work/SRC/openSUSE:Factory/.ceph-csi.new.4249/ceph-csi.changes  
2020-10-08 13:12:25.835185818 +0200
@@ -1,0 +2,30 @@
+Fri Oct  2 01:38:50 UTC 2020 - Mike Latimer 
+
+- update to 3.1.1
+  * Bail out from node expansion if its block mode pvc
+  * Use common logging for rbd
+  * Add Upgrade E2E testing from 3.0.0 to 3.1.0
+  * Update Sidecars to the latest version
+  * Update go-ceph to v0.5.0
+  * Implement rbd.updateVolWithImageInfo() with go-ceph
+  * Add support for snapshot retention
+  * Add support for "snapshot-autoprotect" feature
+  * CephFS: Check error output contains Error: ENOENT
+  * CephFS: Fix lock release in volumeDelete
+  * CephFS: Trim spaces around fuseMountOptions
+  * CephFS: Check ENOTEMPTY when removing subvolume
+  * RBD: Fix cleanup in case of clone failure
+  * RBD: Use stagingTargetPath in NodeExpandVolume RPC
+  * RBD: Allow readonly only for volume with contentsource
+  * RBD: Rados namespaced image deletion fix
+
+---
+Fri Oct  2 01:05:12 UTC 2020 - Mike Latimer 
+
+- Package ceph-csi-cephfs and ceph-csi-rbd helm charts into a new
+  RPM package for later use in publishing process
+  * Add BuildRequires for CSI sidecars
+  * Add csi-images-SUSE.patch to set CSI sidecar versions 
+  * New RPM: ceph-csi-helm-charts.rpm
+
+---

Old:

  ceph-csi-3.1.0+git0.5d4847358.obscpio
  ceph-csi-3.1.0+git0.5d4847358.tar.gz

New:

  ceph-csi-3.1.1+git0.22b631e99.obscpio
  ceph-csi-3.1.1+git0.22b631e99.tar.gz
  csi-images-SUSE.patch



Other differences:
--
++ ceph-csi.spec ++
--- /var/tmp/diff_new_pack.XeKW5X/_old  2020-10-08 13:12:27.475187303 +0200
+++ /var/tmp/diff_new_pack.XeKW5X/_new  2020-10-08 13:12:27.483187310 +0200
@@ -20,16 +20,20 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:   ceph-csi
-Version:3.1.0+git0.5d4847358
+Version:3.1.1+git0.22b631e99
 Release:0
 Summary:Container Storage Interface driver for Ceph block and file
 License:Apache-2.0
+Group:  System/Management
 URL:https://github.com/ceph/ceph-csi
 
 Source0:%{name}-%{version}.tar.gz
 Source1:vendor.tar.gz
 Source98:   README
 
+# Change CSI images to SUSE specific values.
+Patch0: csi-images-SUSE.patch
+
 %if 0%{?suse_version}
 # _insert_obs_source_lines_here
 ExclusiveArch:  x86_64 aarch64 ppc64 ppc64le
@@ -43,6 +47,13 @@
 BuildRequires:  librados-devel
 BuildRequires:  librbd-devel
 
+# csi sidecars are needed to update versions in charts
+BuildRequires:  csi-external-attacher
+BuildRequires:  csi-external-provisioner
+BuildRequires:  csi-external-resizer
+BuildRequires:  csi-external-snapshotter
+BuildRequires:  csi-node-driver-registrar
+
 # Rook runtime requirements - referenced from packages installed in Rook images
 # From Ceph base container: github.com/ceph/ceph-container/src/daemon-base/...
 Requires:   pattern() = ceph_base
@@ -55,6 +66,17 @@
 See https://github.com/ceph/ceph-csi for more information.
 
 

+# ceph-csi helm charts
+
+%package helm-charts
+Summary:Ceph CSI helm charts
+Group:  System/Management
+BuildArch:  noarch
+
+%description helm-charts
+Helm charts for CephFS and RBD access through ceph-csi.
+
+
 # The tasty, meaty build section
 

 
@@ -64,6 +86,24 @@
 rm -rf vendor/
 %setup -q -T -D -a 1
 
+%patch0 -p1
+
+# Set chart registry source depending on the base os type
+%if 0%{?is_opensuse}
+%define registry registry.opensuse.org/opensuse
+%else # is SES
+%if 0%{?sle_version} >= 150200
+%define registry registry.suse.com/ses/7
+%else
+%define registry registry.suse.com/ses/6
+%endif
+%endif
+
+%define cephfs_values_yaml "charts/ceph-csi-cephfs/values.yaml"
+%define rbd_values_yaml "charts/ceph-csi-rbd/values.yaml"
+sed -i -e "s|\(.*\)SUSE_REGISTRY\(.*\)|\1%{registry}\2|" %{cephfs_values_yaml}
+sed -i -e 

commit ceph-csi for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package ceph-csi for openSUSE:Factory 
checked in at 2020-09-25 16:26:16

Comparing /work/SRC/openSUSE:Factory/ceph-csi (Old)
 and  /work/SRC/openSUSE:Factory/.ceph-csi.new.4249 (New)


Package is "ceph-csi"

Fri Sep 25 16:26:16 2020 rev:8 rq:836089 version:3.1.0+git0.5d4847358

Changes:

--- /work/SRC/openSUSE:Factory/ceph-csi/ceph-csi.changes2020-08-14 
09:30:25.936309339 +0200
+++ /work/SRC/openSUSE:Factory/.ceph-csi.new.4249/ceph-csi.changes  
2020-09-25 16:28:32.395731213 +0200
@@ -1,0 +2,30 @@
+Thu Sep 10 22:50:04 UTC 2020 - Mike Latimer 
+
+- update to 3.1.0
+  * Create/Delete snapshot for CephFS
+  * Create PVC from CephFS snapshot
+  * Create PVC from CephFS PVC
+  * Add RADOS namespace support for RBD
+  * E2E migration from Travis minikube to CentOS CI
+  * Use common logging functions in utils
+  * Add Upgrade E2E testing from 3.0.0 to 3.1.0
+  * Update Sidecars to the latest version
+  * Add vault creation to rbd driver deployment
+  * Update E2E testing to test with latest kubernetes versions
+  * Update Rook to 1.3.8 for E2E testing
+  * Add backend validation of cephfs PVC in E2E
+  * Make the number of CPUs for minikube VM configurable
+  * Use rbdVolume.resize() with go-ceph
+  * Introduce new makefile target run-e2e
+  * upgrade to minikube 1.12.1
+  * Debugging tool (tracevol.py) enhancement
+  * Fix tracevol.py to work with the dynamic value of fsname
+  * Fix tracevol.py to take config map namespace as an option
+
+---
+Wed Sep  9 12:31:34 UTC 2020 - Stefan Haas 
+
+- Fixed spec-file (bsc#1176327)
+  * ceph-csi changed internal location of variables
+
+---
@@ -37 +67 @@
-Fri May 29 12:28:16 UTC 2020 - Stefan Haas 
+Fri May 29 12:32:39 UTC 2020 - Stefan Haas 

Old:

  ceph-csi-3.0.0+git0.f831f5257.obscpio
  ceph-csi-3.0.0+git0.f831f5257.tar.gz

New:

  ceph-csi-3.1.0+git0.5d4847358.obscpio
  ceph-csi-3.1.0+git0.5d4847358.tar.gz



Other differences:
--
++ ceph-csi.spec ++
--- /var/tmp/diff_new_pack.DLLSBQ/_old  2020-09-25 16:28:33.807732463 +0200
+++ /var/tmp/diff_new_pack.DLLSBQ/_new  2020-09-25 16:28:33.811732467 +0200
@@ -20,7 +20,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:   ceph-csi
-Version:3.0.0+git0.f831f5257
+Version:3.1.0+git0.5d4847358
 Release:0
 Summary:Container Storage Interface driver for Ceph block and file
 License:Apache-2.0
@@ -75,8 +75,8 @@
   -buildmode=pie \
   -a \
   -ldflags " \
-  -X github.com/ceph/ceph-csi/pkg/util.GitCommit=$git_commit_parsed \
-  -X github.com/ceph/ceph-csi/pkg/util.DriverVersion=v$version_parsed" \
+  -X github.com/ceph/ceph-csi/internal/util.GitCommit=$git_commit_parsed \
+  -X github.com/ceph/ceph-csi/internal/util.DriverVersion=v$version_parsed" \
   -o _output/cephcsi \
   ./cmd/
 

++ _service ++
--- /var/tmp/diff_new_pack.DLLSBQ/_old  2020-09-25 16:28:33.855732505 +0200
+++ /var/tmp/diff_new_pack.DLLSBQ/_new  2020-09-25 16:28:33.855732505 +0200
@@ -6,7 +6,7 @@
 
 @PARENT_TAG@+git@TAG_OFFSET@.%h
 v(.*)
-v3.0.0
+v3.1.0
   
   
   

++ ceph-csi-3.0.0+git0.f831f5257.obscpio -> 
ceph-csi-3.1.0+git0.5d4847358.obscpio ++
/work/SRC/openSUSE:Factory/ceph-csi/ceph-csi-3.0.0+git0.f831f5257.obscpio 
/work/SRC/openSUSE:Factory/.ceph-csi.new.4249/ceph-csi-3.1.0+git0.5d4847358.obscpio
 differ: char 49, line 1

++ ceph-csi-3.0.0+git0.f831f5257.tar.gz -> 
ceph-csi-3.1.0+git0.5d4847358.tar.gz ++
/work/SRC/openSUSE:Factory/ceph-csi/ceph-csi-3.0.0+git0.f831f5257.tar.gz 
/work/SRC/openSUSE:Factory/.ceph-csi.new.4249/ceph-csi-3.1.0+git0.5d4847358.tar.gz
 differ: char 12, line 1

++ ceph-csi.obsinfo ++
--- /var/tmp/diff_new_pack.DLLSBQ/_old  2020-09-25 16:28:33.935732576 +0200
+++ /var/tmp/diff_new_pack.DLLSBQ/_new  2020-09-25 16:28:33.935732576 +0200
@@ -1,5 +1,5 @@
 name: ceph-csi
-version: 3.0.0+git0.f831f5257
-mtime: 1595841285
-commit: f831f52579c2d866e5c89d58a73bb3716aec40c4
+version: 3.1.0+git0.5d4847358
+mtime: 1597332891
+commit: 5d48473582a31c21d9080d1d824db97ebf4a7a80
 

++ vendor.tar.gz ++
/work/SRC/openSUSE:Factory/ceph-csi/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.ceph-csi.new.4249/vendor.tar.gz differ: char 5, 
line 1




commit ceph-csi for openSUSE:Factory

2020-08-14 Thread root
Hello community,

here is the log from the commit of package ceph-csi for openSUSE:Factory 
checked in at 2020-08-14 09:30:17

Comparing /work/SRC/openSUSE:Factory/ceph-csi (Old)
 and  /work/SRC/openSUSE:Factory/.ceph-csi.new.3399 (New)


Package is "ceph-csi"

Fri Aug 14 09:30:17 2020 rev:7 rq:825665 version:3.0.0+git0.f831f5257

Changes:

--- /work/SRC/openSUSE:Factory/ceph-csi/ceph-csi.changes2019-12-07 
15:16:24.715787144 +0100
+++ /work/SRC/openSUSE:Factory/.ceph-csi.new.3399/ceph-csi.changes  
2020-08-14 09:30:25.936309339 +0200
@@ -1,0 +2,132 @@
+Mon Aug 10 08:10:54 UTC 2020 - Stefan Haas 
+
+- update to 3.0.0:
+  * Create/Delete snapshot for RBD
+  * Create PVC from RBD snapshot
+  * Create PVC from RBD PVC
+  * Add support for multiple CephFS subvolume groups
+  * Multi Architecture docker images(amd64 and arm64)
+  * Support ROX(ReadOnlyMany) PVC for RBD
+  * Support ROX(ReadOnlyMany) PVC for CephFS
+  * Move to go-ceph binding from RBD CLI
+  * Move to go-ceph binding from RADOS CLI
+  * Add Upgrade E2E testing from 2.1.2 to 3.0.0
+  * Update Sidecars to the latest version
+  * Improve locking to create a parallel clone and snapshot restore
+  * Simplify Error Handling
+  * Update golangci-lint version in CI
+  * Update gosec version in CI
+  * Add support to track cephfs PVC and subvolumes
+  * Introduce build.env for configuration of the environment variables
+  * Update go-ceph to v0.4.0
+  * Update E2E testing to test with latest kubernetes versions
+  * Split out CephFS and RBD E2E tests
+  * Integration with Centos CI to run containerized builds
+  * Update Rook to 1.2.7 for E2E testing
+  * Disable reflink when creating xfs filesystem for RBD
+  * Replace klog with klog v2
+  * Reduce RBAC for kubernetes sidecar containers
+  * Add option to compile e2e tests in containerized
+  * Add commitlint bot in CI
+  * Add Stale bot to the repo
+  * Add E2E and documentation for CephFS PVC
+  * Update kubernetes dependency to v1.18.6
+
+---
+Fri May 29 12:28:16 UTC 2020 - Stefan Haas 
+
+- Fixed spec-file:
+  * Rook expects CSI version-string with a leading "v" 
+
+---
+Thu May 28 09:43:46 UTC 2020 - Thomas Bechtold 
+
+- change version format back to make ceph-csi-image building again.
+
+---
+Wed May 27 04:21:30 UTC 2020 - Thomas Bechtold 
+
+- update to 2.1.1:
+  * XFS: Superblock has unknown read-only compatible
+  * XFS: Format with nouuid to avoid UUID conflict
+- update to 2.1.0:
+  * Add support for rbd static PVC
+  * Move cephfs subvolume support from `Alpha` to `Beta`.
+  * Added support for rbd topology-based provisioning.
+  * Support externally managed configmap.
+  * Updated Base image to ceph Octopus
+  * Added csiImageKey to keep track of the image name in RADOS omap
+  * Added E2E for helm charts
+  * Implement CreateVolume with go-ceph which boosts performance.
+  * Migrated from `dep` to `go modules`
+  * Updated Kubernetes version to v1.18.0
+  * Updated golang version to 1.13.9
+  * Updated Kubernetes sidecar containers to latest version
+  * E2E: Add Ability to test with non root userLog an error message if cephfs 
mounter fails during init
+  * Aligned with klog standards for logging
+  * Added support in to run E2E in a different namespace
+  * Removed cache functionality for cephfs plugin restart
+  * rbd: fallback to inline image deletion if adding it as a task fails
+  * code cleanup for static errors and unwanted code blocks
+  * Fix mountoption issue in  rbd
+- update to 2.0.1:
+  * Fix rbd mount option issue when mount options from storage-class are not
+passed to mount point
+  * Added a check for cephfs subvolume present in the backend when creating
+a PVC
+  * Added forcecephkernelclient as startup parameter in helm chart
+  * Fix PVC delete issue when the pool is deleted
+  * Fix typo in pod spec in rbd helm chart
+  * Add _netdev as default mount options for both cephfs and rbd
+  * Check for ENOENT errors when deleting CephFS volumes
+  * Fix ceph-csi image tag version in rbd helm chart
+  * Added PodSecurityPolicy support to helm charts
+- drop update-tarball.sh . no longer used.
+- add _service file and use common OBS source services
+  * use the obscpio format for saving space on OBS
+  * create a vendor.tar.gz for building
+- update README for new build/update instructions
+
+---
+Thu Feb  6 12:32:36 UTC 2020 - Thomas Bechtold 
+
+- update to 2.0.0+git0.ge58d537a:
+  * Added dynamic resize support for CephFS PVCs
+  * Added dynamic resize support for RBD PVCs
+  * Added encryption with LUKS support for RBD PVCs
+  * Mutli arch 

commit ceph-csi for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package ceph-csi for openSUSE:Factory 
checked in at 2019-12-07 15:15:20

Comparing /work/SRC/openSUSE:Factory/ceph-csi (Old)
 and  /work/SRC/openSUSE:Factory/.ceph-csi.new.4691 (New)


Package is "ceph-csi"

Sat Dec  7 15:15:20 2019 rev:6 rq:753307 version:1.2.2+git0.gf8c854dc

Changes:

--- /work/SRC/openSUSE:Factory/ceph-csi/ceph-csi.changes2019-10-05 
16:20:12.889451347 +0200
+++ /work/SRC/openSUSE:Factory/.ceph-csi.new.4691/ceph-csi.changes  
2019-12-07 15:16:24.715787144 +0100
@@ -1,0 +2,35 @@
+Tue Dec  3 15:20:26 UTC 2019 - Kristoffer Gronlund 
+
+- Update to v1.2.2:
+  * Add kernel version detection for mounting with client
+  * Fix issue in helm chat pushing
+  * Added forcecephkernelclient as startup parameter to force enabling ceph
+  * Handle EACCESS error from 'ceph rbd task add remove'
+  * Fix vol size for cephfs and rbd
+  * Update registration directory name
+  * Reorder kernel version checking logic
+  * Increase sidecar time out value to 150s.
+  * Format ext4 with lazy_journal_init
+  * Change default csi liveness ports to ones less common
+  * Add POD_NAMESPACE to RBD provisioner deployments
+  * Add a check for nil secrets
+  * Remove rootfs from rbd provisioner pod
+  * Added E2E for rbd nodeplugin restart
+  * Deprecate containerized flag and remove nsenter
+
+- Update to v1.2.1:
+  * Change the recommended/default FS for RBD to ext4
+  * Use nodiscard option while formatting RBD devices.
+  * Use provisioner socket while probing liveness.
+  * Reject request if the operation is in progress
+  * Fix pod termination issue due to stale mount after node plugin restart.
+
+- Remove patch (merged upstream):
+  * 0001-Added-forcecephkernelclient-as-startup-parameter-to-.patch
+
+---
+Thu Oct 17 15:35:02 UTC 2019 - Richard Brown 
+
+- Remove obsolete Groups tag (fate#326485)
+
+---

Old:

  0001-Added-forcecephkernelclient-as-startup-parameter-to-.patch
  ceph-csi-1.2.0+git0.gc420ee6d.tar.xz

New:

  ceph-csi-1.2.2+git0.gf8c854dc.tar.xz



Other differences:
--
++ ceph-csi.spec ++
--- /var/tmp/diff_new_pack.y2FLvn/_old  2019-12-07 15:16:27.379786766 +0100
+++ /var/tmp/diff_new_pack.y2FLvn/_new  2019-12-07 15:16:27.383786766 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ceph-csi
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,16 @@
 
 
 Name:   ceph-csi
-Version:1.2.0+git0.gc420ee6d
+Version:1.2.2+git0.gf8c854dc
 Release:0
 Summary:Container Storage Interface driver for Ceph block and file
 License:Apache-2.0
-Group:  System/Filesystems
-Url:https://github.com/ceph/ceph-csi
+URL:https://github.com/ceph/ceph-csi
 
 Source0:%{name}-%{version}.tar.xz
 Source98:   README
 Source99:   update-tarball.sh
 
-# bsc#1152690 - Added forcecephkernelclient as startup parameter
-Patch1: 0001-Added-forcecephkernelclient-as-startup-parameter-to-.patch
-
 %if 0%{?suse_version}
 # _insert_obs_source_lines_here
 ExclusiveArch:  x86_64 aarch64 ppc64 ppc64le
@@ -64,8 +60,6 @@
 %prep
 %setup -q -n %{name}
 
-%patch1 -p1
-
 %build
 %goprep github.com/ceph/ceph-csi
 export CGO_ENABLED=0

++ ceph-csi-1.2.0+git0.gc420ee6d.tar.xz -> 
ceph-csi-1.2.2+git0.gf8c854dc.tar.xz ++
/work/SRC/openSUSE:Factory/ceph-csi/ceph-csi-1.2.0+git0.gc420ee6d.tar.xz 
/work/SRC/openSUSE:Factory/.ceph-csi.new.4691/ceph-csi-1.2.2+git0.gf8c854dc.tar.xz
 differ: char 26, line 1

++ update-tarball.sh ++
--- /var/tmp/diff_new_pack.y2FLvn/_old  2019-12-07 15:16:27.447786757 +0100
+++ /var/tmp/diff_new_pack.y2FLvn/_new  2019-12-07 15:16:27.447786757 +0100
@@ -24,7 +24,7 @@
 trap on_err ERR
 
 ROOK_REPO="github.com/ceph/ceph-csi"
-REV="v1.2.0"
+REV="v1.2.2"
 
 GOPATH=$WORK_DIR
 GOPATH_CEPHCSI="$GOPATH/src/github.com/ceph/ceph-csi"




commit ceph-csi for openSUSE:Factory

2019-10-05 Thread root
Hello community,

here is the log from the commit of package ceph-csi for openSUSE:Factory 
checked in at 2019-10-05 16:20:08

Comparing /work/SRC/openSUSE:Factory/ceph-csi (Old)
 and  /work/SRC/openSUSE:Factory/.ceph-csi.new.2352 (New)


Package is "ceph-csi"

Sat Oct  5 16:20:08 2019 rev:5 rq:734629 version:1.2.0+git0.gc420ee6d

Changes:

--- /work/SRC/openSUSE:Factory/ceph-csi/ceph-csi.changes2019-09-26 
20:38:55.814911825 +0200
+++ /work/SRC/openSUSE:Factory/.ceph-csi.new.2352/ceph-csi.changes  
2019-10-05 16:20:12.889451347 +0200
@@ -0,0 +1,11 @@
+---
+Wed Oct  2 13:38:40 UTC 2019 - Kristoffer Gronlund 
+
+- Set Version when building (bsc#1152690)
+
+---
+Tue Oct  1 15:24:36 UTC 2019 - Stefan Haas 
+
+- Add forcecephkernelclient as startup parameter (bsc#1152690)
+  * Add 0001-Added-forcecephkernelclient-as-startup-parameter-to-.patch
+

New:

  0001-Added-forcecephkernelclient-as-startup-parameter-to-.patch



Other differences:
--
++ ceph-csi.spec ++
--- /var/tmp/diff_new_pack.q167Ju/_old  2019-10-05 16:20:14.437447316 +0200
+++ /var/tmp/diff_new_pack.q167Ju/_new  2019-10-05 16:20:14.437447316 +0200
@@ -27,9 +27,13 @@
 Source0:%{name}-%{version}.tar.xz
 Source98:   README
 Source99:   update-tarball.sh
+
+# bsc#1152690 - Added forcecephkernelclient as startup parameter
+Patch1: 0001-Added-forcecephkernelclient-as-startup-parameter-to-.patch
+
 %if 0%{?suse_version}
 # _insert_obs_source_lines_here
-ExclusiveArch:  x86_64 aarch64 ppc64le s390x
+ExclusiveArch:  x86_64 aarch64 ppc64 ppc64le
 %endif
 
 # Go and spec requirements
@@ -51,16 +55,33 @@
 

 # The tasty, meaty build section
 

+
+%define _buildshell /bin/bash
+
 %{go_nostrip}
 %{go_provides}
 
 %prep
 %setup -q -n %{name}
 
+%patch1 -p1
+
 %build
 %goprep github.com/ceph/ceph-csi
 export CGO_ENABLED=0
-%gobuild cmd  # builds a binary called 'cmd'
+
+# Make sure version contains parseable symbols
+version_parsed=%{version}
+version_parsed="${version_parsed//[+]/-}"
+git_commit_parsed="$(echo $version_parsed | sed 's/.*\.g\(.*\).*/\1/')"
+linker_flags=(
+"-X" "github.com/ceph/ceph-csi/pkg/util.GitCommit=$git_commit_parsed"
+"-X" "github.com/ceph/ceph-csi/pkg/util.DriverVersion=$version_parsed"
+)
+build_flags=("-ldflags" "${linker_flags[*]}")
+
+# builds a binary called 'cmd'
+%gobuild "${build_flags[@]}" cmd
 
 %install
 

++ 0001-Added-forcecephkernelclient-as-startup-parameter-to-.patch ++
>From 3bd68641812e24891a603e0cea1f25a60435a4c9 Mon Sep 17 00:00:00 2001
From: Stefan Haas 
Date: Tue, 1 Oct 2019 16:23:40 +0200
Subject: [PATCH] Added forcecephkernelclient as startup parameter to force
 enabling ceph kernel clients for kernels < 4.17

Signed-off-by: Stefan Haas 
---
 cmd/cephcsi.go  | 1 +
 pkg/cephfs/driver.go| 2 +-
 pkg/cephfs/volumemounter.go | 4 ++--
 pkg/util/util.go| 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/cmd/cephcsi.go b/cmd/cephcsi.go
index 82638b74..a9458c06 100644
--- a/cmd/cephcsi.go
+++ b/cmd/cephcsi.go
@@ -63,6 +63,7 @@ func init() {
 
// cephfs related flags
flag.StringVar(, "mountcachedir", "", "mount info 
cache save dir")
+   flag.BoolVar(, "forcecephkernelclient", false, 
"enable Ceph Kernel clients on kernel < 4.17 which support quotas")
 
// liveness/grpc metrics related flags
flag.IntVar(, "metricsport", 8080, "TCP port for 
liveness/grpc metrics requests")
diff --git a/pkg/cephfs/driver.go b/pkg/cephfs/driver.go
index 56396507..260c49a9 100644
--- a/pkg/cephfs/driver.go
+++ b/pkg/cephfs/driver.go
@@ -95,7 +95,7 @@ func (fs *Driver) Run(conf *util.Config, cachePersister 
util.CachePersister) {
// Configuration
PluginFolder = conf.PluginPath
 
-   if err := loadAvailableMounters(); err != nil {
+   if err := loadAvailableMounters(conf); err != nil {
klog.Fatalf("cephfs: failed to load ceph mounters: %v", err)
}
 
diff --git a/pkg/cephfs/volumemounter.go b/pkg/cephfs/volumemounter.go
index a4833101..31845c20 100644
--- a/pkg/cephfs/volumemounter.go
+++ b/pkg/cephfs/volumemounter.go
@@ -49,7 +49,7 @@ var (
 
 // Load available ceph mounters installed on system into availableMounters
 // Called from driver.go's Run()
-func loadAvailableMounters() error {
+func loadAvailableMounters(conf *util.Config) error {
// #nosec
fuseMounterProbe := exec.Command("ceph-fuse", "--version")
  

commit ceph-csi for openSUSE:Factory

2019-09-26 Thread root
Hello community,

here is the log from the commit of package ceph-csi for openSUSE:Factory 
checked in at 2019-09-26 20:38:49

Comparing /work/SRC/openSUSE:Factory/ceph-csi (Old)
 and  /work/SRC/openSUSE:Factory/.ceph-csi.new.2352 (New)


Package is "ceph-csi"

Thu Sep 26 20:38:49 2019 rev:4 rq:732163 version:1.2.0+git0.gc420ee6d

Changes:

--- /work/SRC/openSUSE:Factory/ceph-csi/ceph-csi.changes2019-09-19 
15:50:52.951292810 +0200
+++ /work/SRC/openSUSE:Factory/.ceph-csi.new.2352/ceph-csi.changes  
2019-09-26 20:38:55.814911825 +0200
@@ -4 +4 @@
-- Update to release v1.2.0
+- Update to release v1.2.0 (bsc#1151479)



Other differences:
--



commit ceph-csi for openSUSE:Factory

2019-09-19 Thread root
Hello community,

here is the log from the commit of package ceph-csi for openSUSE:Factory 
checked in at 2019-09-19 15:50:39

Comparing /work/SRC/openSUSE:Factory/ceph-csi (Old)
 and  /work/SRC/openSUSE:Factory/.ceph-csi.new.7948 (New)


Package is "ceph-csi"

Thu Sep 19 15:50:39 2019 rev:3 rq:731316 version:1.2.0+git0.gc420ee6d

Changes:

--- /work/SRC/openSUSE:Factory/ceph-csi/ceph-csi.changes2019-07-26 
12:37:26.854019542 +0200
+++ /work/SRC/openSUSE:Factory/.ceph-csi.new.7948/ceph-csi.changes  
2019-09-19 15:50:52.951292810 +0200
@@ -0,0 +1,31 @@
+
+Mon Sep  9 19:05:00 UTC 2019 - Blaine Gardner 
+
+- Update to release v1.2.0
+  + Cephfs: Use ceph kernel client if kernel version >= 4.17
+  + implement grpc metrics for ceph-csi
+  + Add xfs fstype as default type in storageclass
+  + Add support to use ceph manager rbd command to delete an image
+  + e2e: correct log format in execCommandInPod()
+  + Add 'gosec' to the static-checks
+  + switch to cephfs, utils, and csicommon to new loging system
+  + utility to trace backend volume from RBD pvc
+  + Implement context-based logging
+  + implement klog wrapper
+  + unmap rbd image if connection timeout.
+  + start controller or node server based on config
+  + fix: Adds liveness sidecar to v1.14+ helm charts
+  + Prometheus liveness probe sidecar
+  + Wrap error if failed to fetch mon
+  + provisioners: add reconfiguring of PID limit
+  + Use "rbd device list" to list and find rbd images and their device paths
+  + Update Unstage transaction to undo steps done in Stage
+  + Move mounting staging instance to a sub-path within staging path
+  + e2e: do not fail to delete resources when "resource not found"
+  + remove post validation of rbd device
+
+---
+Mon Aug 13 11:00:17 UTC 2019 - Denis Kondratenko 
+
+- Tech preview release for containers (bsc#1145433)
+

Old:

  ceph-csi-1.1.0+git0.gc7ba26d2.tar.xz

New:

  ceph-csi-1.2.0+git0.gc420ee6d.tar.xz



Other differences:
--
++ ceph-csi.spec ++
--- /var/tmp/diff_new_pack.K4LbU0/_old  2019-09-19 15:50:54.167292562 +0200
+++ /var/tmp/diff_new_pack.K4LbU0/_new  2019-09-19 15:50:54.171292562 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for rook binaries
+# spec file for package ceph-csi
 #
-# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-
-# Rook metadata
-
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
 
 Name:  ceph-csi
-Version:   1.1.0+git0.gc7ba26d2
+Version:1.2.0+git0.gc420ee6d
 Release:   0
 Summary:   Container Storage Interface driver for Ceph block and file
 License:   Apache-2.0
@@ -33,8 +33,8 @@
 %endif
 
 # Go and spec requirements
-BuildRequires: golang-packaging
 BuildRequires: go
+BuildRequires:  golang-packaging
 BuildRequires: xz
 
 # Rook runtime requirements - referenced from packages installed in Rook images
@@ -86,3 +86,5 @@
 
 # ceph-csi RPMs aren't for users to install, just to be put in containers, so
 # don't bother adding docs or changelog or anything
+
+%changelog

++ ceph-csi-1.1.0+git0.gc7ba26d2.tar.xz -> 
ceph-csi-1.2.0+git0.gc420ee6d.tar.xz ++
/work/SRC/openSUSE:Factory/ceph-csi/ceph-csi-1.1.0+git0.gc7ba26d2.tar.xz 
/work/SRC/openSUSE:Factory/.ceph-csi.new.7948/ceph-csi-1.2.0+git0.gc420ee6d.tar.xz
 differ: char 26, line 1

++ update-tarball.sh ++
--- /var/tmp/diff_new_pack.K4LbU0/_old  2019-09-19 15:50:54.235292548 +0200
+++ /var/tmp/diff_new_pack.K4LbU0/_new  2019-09-19 15:50:54.239292548 +0200
@@ -24,7 +24,7 @@
 trap on_err ERR
 
 ROOK_REPO="github.com/ceph/ceph-csi"
-REV="release-v1.1.0"
+REV="v1.2.0"
 
 GOPATH=$WORK_DIR
 GOPATH_CEPHCSI="$GOPATH/src/github.com/ceph/ceph-csi"




commit ceph-csi for openSUSE:Factory

2019-07-26 Thread root
Hello community,

here is the log from the commit of package ceph-csi for openSUSE:Factory 
checked in at 2019-07-26 12:37:20

Comparing /work/SRC/openSUSE:Factory/ceph-csi (Old)
 and  /work/SRC/openSUSE:Factory/.ceph-csi.new.4126 (New)


Package is "ceph-csi"

Fri Jul 26 12:37:20 2019 rev:2 rq:717635 version:1.1.0+git0.gc7ba26d2

Changes:

--- /work/SRC/openSUSE:Factory/ceph-csi/ceph-csi.changes2019-07-16 
08:39:43.763042145 +0200
+++ /work/SRC/openSUSE:Factory/.ceph-csi.new.4126/ceph-csi.changes  
2019-07-26 12:37:26.854019542 +0200
@@ -1,0 +2,5 @@
+Wed Jul 17 13:32:39 UTC 2019 - Denis Kondratenko 
+
+- Use ceph-base pattern instead of individual packages 
+
+---



Other differences:
--
++ ceph-csi.spec ++
--- /var/tmp/diff_new_pack.K6UwUz/_old  2019-07-26 12:37:29.226017980 +0200
+++ /var/tmp/diff_new_pack.K6UwUz/_new  2019-07-26 12:37:29.230017977 +0200
@@ -39,24 +39,7 @@
 
 # Rook runtime requirements - referenced from packages installed in Rook images
 # From Ceph base container: github.com/ceph/ceph-container/src/daemon-base/...
-Requires:  ca-certificates
-Requires:  ceph-common
-Requires:  ceph-fuse
-Requires:  ceph-mds
-Requires:  ceph-mgr
-Requires:  ceph-mon
-Requires:  ceph-osd
-Requires:  ceph-radosgw
-Requires:  e2fsprogs
-Requires:  gptfdisk
-Requires:  kmod
-Requires:  lvm2
-Requires:  nfs-ganesha
-Requires:  nfs-ganesha-ceph
-Requires:  nfs-ganesha-rgw
-Requires:  nfs-ganesha-rados-grace
-Requires:  rbd-mirror
-Requires:  rbd-nbd
+Requires:  pattern() = ceph_base
 
 %description
 Ceph CSI plugins implement an interface between CSI enabled Container