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.changes 2019-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 <stefan.h...@suse.com> + +- 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 <stefan.h...@suse.com> + +- Fixed spec-file: + * Rook expects CSI version-string with a leading "v" + +------------------------------------------------------------------- +Thu May 28 09:43:46 UTC 2020 - Thomas Bechtold <tbecht...@suse.com> + +- change version format back to make ceph-csi-image building again. + +------------------------------------------------------------------- +Wed May 27 04:21:30 UTC 2020 - Thomas Bechtold <tbecht...@suse.com> + +- 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 <tbecht...@suse.com> + +- 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 support ( ceph-csi Arm64 image) + * Upgrade documentation from v1.2.2 to v2.0.0 + * Updated code base to kube v1.17 + * leader election enabled in deployment + * Added Version flag to cephcsi + * Removed Kubernetes 1.13.x support with 2.0.0 release + * CSI: run all containers as privileged in daemonset pods + * Upgrade: csi-attacher sidecar from v1.2.0 to v2.1.0 + * Upgrade: csi-snapshotter sidecar from v1.2.1 to v1.2.2 + * Upgrade: csi-node-driver-registrar sidecar from v1.1.0 to v1.2.0 + * Upgrade: csi-resizer from sidecar v0.3.0 to v0.4.0 + * Update csi-provisioner from sidecar v1.3.0 to v1.4.0 + * Remove deprecated containerized flag in rbd + * Discard umount error if the directory is not mounted + * Use EmptyDir to store provisioner socket + * Add ContentSource to the CreateVolume response + * Rbd: only load nbd module if not available yet + * Enhance scripts to deploy ceph cluster using rook + * Add e2e tests for RBD resizer + * Update minikube to latest released version + * Update golangci-lint version to v1.21.0 + * Fix to use kubectl create not kubectl apply in the e2e + * Add volume size roundoff for expand request + * Add E2E for cephfs resize functionality + * Add Documentation for PVC resize + * Fix block resize issue in RBD + * Add 13.0.0 Mimic supported version to the readme + * update Metrics supported version in Readme + * Remove hard-coded UpdateStrategy from templates + * Add E2E for block PVC resize + * Enable logging in E2E if the test fails + * Enable Block E2E for rbd + * Add ID-based logging for ExpandVolume + * Validate rbd image name in NodeExpand + +------------------------------------------------------------------- Old: ---- ceph-csi-1.2.2+git0.gf8c854dc.tar.xz update-tarball.sh New: ---- _service _servicedata ceph-csi-3.0.0+git0.f831f5257.obscpio ceph-csi-3.0.0+git0.f831f5257.tar.gz ceph-csi.obsinfo vendor.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ceph-csi.spec ++++++ --- /var/tmp/diff_new_pack.aUXb9H/_old 2020-08-14 09:30:28.252310525 +0200 +++ /var/tmp/diff_new_pack.aUXb9H/_new 2020-08-14 09:30:28.256310527 +0200 @@ -1,7 +1,7 @@ # # spec file for package ceph-csi # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,19 @@ # +# Remove stripping of Go binaries. +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true + Name: ceph-csi -Version: 1.2.2+git0.gf8c854dc +Version: 3.0.0+git0.f831f5257 Release: 0 Summary: Container Storage Interface driver for Ceph block and file License: Apache-2.0 URL: https://github.com/ceph/ceph-csi -Source0: %{name}-%{version}.tar.xz +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz Source98: README -Source99: update-tarball.sh %if 0%{?suse_version} # _insert_obs_source_lines_here @@ -33,9 +36,12 @@ %endif # Go and spec requirements -BuildRequires: go -BuildRequires: golang-packaging -BuildRequires: xz +BuildRequires: golang(API) >= 1.13 + +# for go-ceph bindings +BuildRequires: libcephfs-devel +BuildRequires: librados-devel +BuildRequires: librbd-devel # Rook runtime requirements - referenced from packages installed in Rook images # From Ceph base container: github.com/ceph/ceph-container/src/daemon-base/... @@ -52,40 +58,31 @@ # The tasty, meaty build section ################################################################################ -%define _buildshell /bin/bash - -%{go_nostrip} -%{go_provides} - %prep -%setup -q -n %{name} +%setup -q +# make sure we use the content from the vendor tarball +rm -rf vendor/ +%setup -q -T -D -a 1 %build -%goprep github.com/ceph/ceph-csi -export CGO_ENABLED=0 -# 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 +# version format is defined in _service +version_parsed=`echo %{version} | cut -d '+' -f 1` +git_commit_parsed=`echo %{version} | sed 's/.*\.//'` + +go build \ + -mod=vendor \ + -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" \ + -o _output/cephcsi \ + ./cmd/ %install - -bin_location=%{_builddir}/go/bin/ -install_location=%{buildroot}%{_bindir} - -install --mode=755 --directory "${install_location}" - -mv ${bin_location}/cmd ${bin_location}/cephcsi -install --preserve-timestamps --mode=755 --target-directory="${install_location}" "${bin_location}"/cephcsi +install --mode=755 --directory %{buildroot}%{_bindir} +install --preserve-timestamps --mode=755 --target-directory=%{buildroot}%{_bindir} _output/cephcsi ################################################################################ # Specify which files we built belong to each package ++++++ README ++++++ --- /var/tmp/diff_new_pack.aUXb9H/_old 2020-08-14 09:30:28.304310552 +0200 +++ /var/tmp/diff_new_pack.aUXb9H/_new 2020-08-14 09:30:28.308310554 +0200 @@ -1,5 +1,8 @@ To update the package: -- run update-tarball.sh to create a new tarball +- update the revision field in _service +- run "osc service dr" + * make sure you have the source services from _service installed locally + * this will also update the vendor.tar.gz tarball - update ceph-csi.changes - osc commit ++++++ _service ++++++ <services> <service name="obs_scm" mode="disabled"> <param name="url">https://github.com/ceph/ceph-csi.git</param> <param name="scm">git</param> <param name="exclude">.git</param> <!-- see https://github.com/openSUSE/obs-service-tar_scm/blob/master/tar_scm.service.in for hints --> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="revision">v3.0.0</param> </service> <service name="tar" mode="disabled"/> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">gz</param> </service> <service name="set_version" mode="disabled"> <param name="basename">ceph-csi</param> </service> <service name="go_modules" mode="disabled"> </service> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/ceph/ceph-csi.git</param> <param name="changesrevision">d503729fc45ab6064ec472e2f4f66903fbb67be6</param></service></servicedata>++++++ ceph-csi.obsinfo ++++++ name: ceph-csi version: 3.0.0+git0.f831f5257 mtime: 1595841285 commit: f831f52579c2d866e5c89d58a73bb3716aec40c4