vitastor/rpm/vitastor-el8.spec

139 lines
3.2 KiB
Plaintext
Raw Normal View History

2020-11-07 01:51:14 +03:00
Name: vitastor
Release 0.6.9 New features: - Build Vitastor driver as part of QEMU - Implement renaming images in CLI (vitastor-cli modify --rename) - Add vitastor-cli alloc-osd and simple-offsets commands and use them in make-osd, thus removing the dependency on etcdctl - Make monitor remove stale deleted inode statistics from etcd automatically - Implement OSD address selection from a subnet, thus removing the need to specify OSD addresses in startup scripts explicitly Bug fixes: - Fix client failover in case of etcd shutdown or crash (make client survive etcd failures) - Stick to the last live etcd in OSD and mon to prevent random failures when one of etcds is down - Fix incorrect copying of data from journal to the data device which could lead to data corruption - Prefer local etcd IPs in OSD - Remove the total PG count restriction in optimize_change which was sometimes leading to inability to redistribute PGs over OSDs - Fix error response parsing on a failed pg state report - Fix slow linear writes with RDMA by changing default buffer settings - Fix possible 'TypeError' in openstack nova when using Vitastor cinder driver - Fix bugs in vitastor-cli create, ls, rm, modify commands Patch changes: - Add a patch for libvirt 7.6 - Add patches for QEMU 6.0 and 6.1 - Fix config file path XML location parsing in libvirt patches - Replace _ with - in QEMU options - Fix possible 'TypeError' in openstack nova when using Vitastor cinder driver - Fix possible crashes of QEMU block driver in case of incorrect options
2021-12-03 10:58:54 +03:00
Version: 0.6.9
Release: 1%{?dist}
2020-11-07 01:51:14 +03:00
Summary: Vitastor, a fast software-defined clustered block storage
License: Vitastor Network Public License 1.1
2020-11-07 01:51:14 +03:00
URL: https://vitastor.io/
Release 0.6.9 New features: - Build Vitastor driver as part of QEMU - Implement renaming images in CLI (vitastor-cli modify --rename) - Add vitastor-cli alloc-osd and simple-offsets commands and use them in make-osd, thus removing the dependency on etcdctl - Make monitor remove stale deleted inode statistics from etcd automatically - Implement OSD address selection from a subnet, thus removing the need to specify OSD addresses in startup scripts explicitly Bug fixes: - Fix client failover in case of etcd shutdown or crash (make client survive etcd failures) - Stick to the last live etcd in OSD and mon to prevent random failures when one of etcds is down - Fix incorrect copying of data from journal to the data device which could lead to data corruption - Prefer local etcd IPs in OSD - Remove the total PG count restriction in optimize_change which was sometimes leading to inability to redistribute PGs over OSDs - Fix error response parsing on a failed pg state report - Fix slow linear writes with RDMA by changing default buffer settings - Fix possible 'TypeError' in openstack nova when using Vitastor cinder driver - Fix bugs in vitastor-cli create, ls, rm, modify commands Patch changes: - Add a patch for libvirt 7.6 - Add patches for QEMU 6.0 and 6.1 - Fix config file path XML location parsing in libvirt patches - Replace _ with - in QEMU options - Fix possible 'TypeError' in openstack nova when using Vitastor cinder driver - Fix possible crashes of QEMU block driver in case of incorrect options
2021-12-03 10:58:54 +03:00
Source0: vitastor-0.6.9.el8.tar.gz
2020-11-07 01:51:14 +03:00
BuildRequires: liburing-devel >= 0.6
BuildRequires: gperftools-devel
2020-11-08 01:53:17 +03:00
BuildRequires: gcc-toolset-9-gcc-c++
BuildRequires: nodejs >= 10
BuildRequires: jerasure-devel
BuildRequires: gf-complete-devel
BuildRequires: libibverbs-devel
2021-02-26 01:02:45 +03:00
BuildRequires: cmake
2021-11-14 23:31:41 +03:00
Requires: vitastor-osd = %{version}-%{release}
Requires: vitastor-mon = %{version}-%{release}
Requires: vitastor-client = %{version}-%{release}
Requires: vitastor-client-devel = %{version}-%{release}
Requires: vitastor-fio = %{version}-%{release}
2020-11-07 01:51:14 +03:00
%description
Vitastor is a small, simple and fast clustered block storage (storage for VM drives),
architecturally similar to Ceph which means strong consistency, primary-replication,
symmetric clustering and automatic data distribution over any number of drives of any
size with configurable redundancy (replication or erasure codes/XOR).
2021-11-14 23:31:41 +03:00
%package -n vitastor-osd
Summary: Vitastor - OSD
Requires: libJerasure2
Requires: liburing >= 0.6
Requires: vitastor-client = %{version}-%{release}
%description -n vitastor-osd
Vitastor object storage daemon, i.e. server program that stores data.
%package -n vitastor-mon
Summary: Vitastor - monitor
Requires: nodejs >= 10
Requires: lpsolve
%description -n vitastor-mon
Vitastor monitor, i.e. server program responsible for watching cluster state and
scheduling cluster-level operations.
%package -n vitastor-client
Summary: Vitastor - client
Requires: liburing >= 0.6
%description -n vitastor-client
Vitastor client library and command-line interface.
%package -n vitastor-client-devel
Summary: Vitastor - development files
Group: Development/Libraries
Requires: vitastor-client = %{version}-%{release}
%description -n vitastor-client-devel
Vitastor library headers for development.
%package -n vitastor-fio
Summary: Vitastor - fio drivers
Group: Development/Libraries
Requires: vitastor-client = %{version}-%{release}
Requires: fio = 3.7-3.el8
%description -n vitastor-fio
Vitastor fio drivers for benchmarking.
2020-11-07 01:51:14 +03:00
%prep
%setup -q
%build
2020-11-08 01:53:17 +03:00
. /opt/rh/gcc-toolset-9/enable
2021-12-01 23:41:46 +03:00
%cmake .
2021-02-26 01:02:45 +03:00
%make_build
2020-11-07 01:51:14 +03:00
%install
rm -rf $RPM_BUILD_ROOT
2021-02-26 01:02:45 +03:00
%make_install
2020-11-07 01:51:14 +03:00
cd mon
npm install
cd ..
2020-11-10 23:40:56 +03:00
mkdir -p %buildroot/usr/lib/vitastor
2021-11-14 23:31:41 +03:00
cp mon/make-osd.sh %buildroot/usr/lib/vitastor
2020-11-10 23:40:56 +03:00
cp -r mon %buildroot/usr/lib/vitastor
2020-11-07 01:51:14 +03:00
%files
2021-11-15 00:00:02 +03:00
%doc GPL-2.0.txt VNPL-1.1.txt README.md README-ru.md
2021-11-14 23:31:41 +03:00
%files -n vitastor-osd
%_bindir/vitastor-osd
2020-11-07 01:51:14 +03:00
%_bindir/vitastor-dump-journal
2021-11-14 23:31:41 +03:00
%files -n vitastor-mon
/usr/lib/vitastor/mon
%files -n vitastor-client
2020-11-07 01:51:14 +03:00
%_bindir/vitastor-nbd
2021-09-26 00:52:05 +03:00
%_bindir/vitastor-cli
2020-11-07 01:51:14 +03:00
%_bindir/vitastor-rm
2021-11-13 11:57:05 +03:00
%_bindir/vita
%_libdir/libvitastor_blk.so*
%_libdir/libvitastor_client.so*
/usr/lib/vitastor/make-osd.sh
2021-11-14 23:31:41 +03:00
%files -n vitastor-client-devel
%_includedir/vitastor_c.h
2021-11-15 00:37:27 +03:00
%_libdir/pkgconfig
2021-11-14 23:31:41 +03:00
%files -n vitastor-fio
%_libdir/libfio_vitastor.so
%_libdir/libfio_vitastor_blk.so
%_libdir/libfio_vitastor_sec.so
2020-11-07 01:51:14 +03:00
%changelog