vitastor-opennebula is probably more correct than opennebula-vitastor

This commit is contained in:
Vitaliy Filippov
2024-09-05 01:44:16 +03:00
parent 2dac6ee38b
commit 17caaa59af
9 changed files with 24 additions and 17 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, vitastor-client (= ${binary:Version
Description: Vitastor Proxmox Virtual Environment storage plugin
Vitastor storage plugin for Proxmox Virtual Environment.
Package: opennebula-vitastor
Package: vitastor-opennebula
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}, vitastor-client, patch, python3, jq
Description: Vitastor OpenNebula storage plugin
+4 -2
View File
@@ -6,11 +6,13 @@
## Automatic Installation
OpenNebula plugin is packaged as `opennebula-vitastor` Debian and RPM package since Vitastor 1.9.0. So:
OpenNebula plugin is packaged as `vitastor-opennebula` Debian and RPM package since Vitastor 1.9.0. So:
- Run `apt-get install opennebula-vitastor` or `yum install vitastor` after installing OpenNebula on all nodes
- Run `apt-get install vitastor-opennebula` or `yum install vitastor-opennebula` after installing OpenNebula on all nodes
- Check that it prints "OK, Vitastor OpenNebula patches successfully applied" or "OK, Vitastor OpenNebula patches are already applied"
- If it does not, refer to [Manual Installation](#manual-installation) and apply configuration file changes manually
- Make sure that Vitastor patched versions of QEMU and libvirt are installed
(`dpkg -l qemu-system-x86`, `dpkg -l | grep libvirt`, `rpm -qa | grep qemu`, `rpm -qa | grep qemu`, `rpm -qa | grep libvirt-libs` should show "vitastor" in version names)
- [Block VM access to Vitastor cluster](#block-vm-access-to-vitastor-cluster)
## Manual Installation
+4 -2
View File
@@ -6,11 +6,13 @@
## Автоматическая установка
Плагин OpenNebula Vitastor распространяется как Debian и RPM пакет `opennebula-vitastor`, начиная с версии Vitastor 1.9.0. Так что:
Плагин OpenNebula Vitastor распространяется как Debian и RPM пакет `vitastor-opennebula`, начиная с версии Vitastor 1.9.0. Так что:
- Запустите `apt-get install opennebula-vitastor` или `yum install vitastor` после установки OpenNebula на всех серверах
- Запустите `apt-get install vitastor-opennebula` или `yum install vitastor-opennebula` после установки OpenNebula на всех серверах
- Проверьте, что он выводит "OK, Vitastor OpenNebula patches successfully applied" или "OK, Vitastor OpenNebula patches are already applied" в процессе установки
- Если сообщение не выведено, пройдите по шагам инструкцию [Ручная установка](#ручная-установка) и примените правки файлов конфигурации вручную
- Удостоверьтесь, что установлены версии QEMU и libvirt с изменениями Vitastor
(`dpkg -l qemu-system-x86`, `dpkg -l | grep libvirt`, `rpm -qa | grep qemu`, `rpm -qa | grep qemu`, `rpm -qa | grep libvirt-libs` должны показывать "vitastor" в номере версии)
- [Заблокируйте доступ виртуальных машин в Vitastor](#блокировка-доступа-вм-в-vitastor)
## Ручная установка
+5 -4
View File
@@ -89,16 +89,17 @@ Requires: fio = 3.7-1.el7
Vitastor fio drivers for benchmarking.
%package -n opennebula-vitastor
%package -n vitastor-opennebula
Summary: Vitastor for OpenNebula
Group: Development/Libraries
Requires: vitastor-client
Requires: jq
Requires: python3-lxml
Requires: patch
Requires: qemu-kvm-block-vitastor
%description -n opennebula-vitastor
%description -n vitastor-opennebula
Vitastor storage plugin for OpenNebula.
@@ -191,12 +192,12 @@ chown vitastor:vitastor /var/lib/vitastor
%_libdir/libfio_vitastor_sec.so
%files -n opennebula-vitastor
%files -n vitastor-opennebula
/var/lib/one
/etc/sudoers.d/opennebula-vitastor
%triggerin -n opennebula-vitastor -- opennebula
%triggerin -n vitastor-opennebula -- opennebula
[ $2 = 0 ] || exit 0
/var/lib/one/remotes/datastore/vitastor/install.sh
+5 -4
View File
@@ -87,16 +87,17 @@ Requires: fio = 3.7-3.el8
Vitastor fio drivers for benchmarking.
%package -n opennebula-vitastor
%package -n vitastor-opennebula
Summary: Vitastor for OpenNebula
Group: Development/Libraries
Requires: vitastor-client
Requires: jq
Requires: python3-lxml
Requires: patch
Requires: qemu-kvm-block-vitastor
%description -n opennebula-vitastor
%description -n vitastor-opennebula
Vitastor storage plugin for OpenNebula.
@@ -188,12 +189,12 @@ chown vitastor:vitastor /var/lib/vitastor
%_libdir/libfio_vitastor_sec.so
%files -n opennebula-vitastor
%files -n vitastor-opennebula
/var/lib/one
/etc/sudoers.d/opennebula-vitastor
%triggerin -n opennebula-vitastor -- opennebula
%triggerin -n vitastor-opennebula -- opennebula
[ $2 = 0 ] || exit 0
/var/lib/one/remotes/datastore/vitastor/install.sh
+5 -4
View File
@@ -81,16 +81,17 @@ Requires: fio = 3.27-8.el9
Vitastor fio drivers for benchmarking.
%package -n opennebula-vitastor
%package -n vitastor-opennebula
Summary: Vitastor for OpenNebula
Group: Development/Libraries
Requires: vitastor-client
Requires: jq
Requires: python3-lxml
Requires: patch
Requires: qemu-kvm-block-vitastor
%description -n opennebula-vitastor
%description -n vitastor-opennebula
Vitastor storage plugin for OpenNebula.
@@ -181,12 +182,12 @@ chown vitastor:vitastor /var/lib/vitastor
%_libdir/libfio_vitastor_sec.so
%files -n opennebula-vitastor
%files -n vitastor-opennebula
/var/lib/one
/etc/sudoers.d/opennebula-vitastor
%triggerin -n opennebula-vitastor -- opennebula
%triggerin -n vitastor-opennebula -- opennebula
[ $2 = 0 ] || exit 0
/var/lib/one/remotes/datastore/vitastor/install.sh