b7ad53
%ifnarch x86_64
3de836
%define skip_mem_check 1
3de836
%endif
3de836
f144a8
Name:           libstoragemgmt
dbdf40
Version:        1.8.1
62708f
Release:        2%{?dist}
f144a8
Summary:        Storage array management library
f144a8
Group:          System Environment/Libraries
f144a8
License:        LGPLv2+
4797fc
URL:            https://github.com/libstorage/libstoragemgmt
4797fc
Source0:        https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
62708f
Patch1:         BZ_1872745.patch
62708f
Patch2:         BZ_1903665.patch
f144a8
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f144a8
Requires:       %{name}-python
dbdf40
dbdf40
# Netapp 7 mode plugin is no more.
dbdf40
Obsoletes:      %{name}-netapp-plugin
dbdf40
5b1bf2
BuildRequires:  autoconf automake libtool yajl-devel libxml2-devel check-devel perl
5b1bf2
BuildRequires:  openssl-devel
5b1bf2
BuildRequires:  python-argparse
5b1bf2
BuildRequires:  glib2-devel
5b1bf2
BuildRequires:  systemd
4797fc
BuildRequires:  bash-completion
4797fc
BuildRequires:  libconfig-devel
3de836
BuildRequires:  systemd-devel
3de836
BuildRequires:  python-devel
3de836
BuildRequires:  procps
3de836
BuildRequires:  chrpath
35f900
BuildRequires:  python-six
35f900
BuildRequires:  sqlite-devel
3de836
%if 0%{?skip_mem_check} == 0
3de836
BuildRequires:  valgrind
3de836
%endif
f144a8
Requires: initscripts
5b1bf2
Requires(post): systemd
5b1bf2
Requires(preun): systemd
5b1bf2
Requires(postun): systemd
5b1bf2
f144a8
%description
f144a8
The libStorageMgmt library will provide a vendor agnostic open source storage
f144a8
application programming interface (API) that will allow management of storage
f144a8
arrays.  The library includes a command line interface for interactive use and
f144a8
scripting (command lsmcli).  The library also has a daemon that is used for
f144a8
executing plug-ins in a separate process (lsmd).
f144a8
f144a8
%package        devel
f144a8
Summary:        Development files for %{name}
f144a8
Group:          Development/Libraries
f144a8
Requires:       %{name}%{?_isa} = %{version}-%{release}
f144a8
f144a8
%description    devel
f144a8
The %{name}-devel package contains libraries and header files for
f144a8
developing applications that use %{name}.
f144a8
f144a8
%package        python
f144a8
Summary:        Python client libraries and plug-in support for %{name}
f144a8
Group:          System Environment/Libraries
f144a8
Requires:       %{name} = %{version}-%{release}
3de836
Requires:       %{name}-python-clibs
b7ad53
Requires:       python-six
f144a8
BuildArch:      noarch
f144a8
1f984a
%description    python
f144a8
The %{name}-python package contains python client libraries as
f144a8
well as python framework support and open source plug-ins written in python.
f144a8
3de836
%package        python-clibs
3de836
Summary:        Python C extension module for %{name}
3de836
Group:          System Environment/Libraries
3de836
Requires:       %{name} = %{version}-%{release}
3de836
3de836
%description    python-clibs
3de836
The %{name}-python-clibs package contains python client C extension
3de836
libraries.
f144a8
f144a8
%package        smis-plugin
f144a8
Summary:        Files for SMI-S generic array support for %{name}
f144a8
Group:          System Environment/Libraries
f144a8
BuildRequires:  pywbem
4797fc
Requires:       pywbem
4797fc
Requires:       %{name}-python = %{version}-%{release}
4797fc
Requires(post): %{name}-python = %{version}-%{release}
4797fc
Requires(postun): %{name}-python = %{version}-%{release}
f144a8
BuildArch:      noarch
f144a8
f144a8
%description    smis-plugin
f144a8
The %{name}-smis-plugin package contains plug-in for generic SMI-S array
f144a8
support.
f144a8
f144a8
%package        targetd-plugin
f144a8
Summary:        Files for targetd array support for %{name}
f144a8
Group:          System Environment/Libraries
4797fc
Requires:       %{name}-python = %{version}-%{release}
4797fc
Requires(post): %{name}-python = %{version}-%{release}
4797fc
Requires(postun): %{name}-python = %{version}-%{release}
f144a8
BuildArch:      noarch
f144a8
f144a8
%description    targetd-plugin
f144a8
The %{name}-targetd-plugin package contains plug-in for targetd array
f144a8
support.
f144a8
f144a8
f144a8
%package        nstor-plugin
f144a8
Summary:        Files for NexentaStor array support for %{name}
f144a8
Group:          System Environment/Libraries
4797fc
Requires:       %{name}-python = %{version}-%{release}
4797fc
Requires(post): %{name}-python = %{version}-%{release}
4797fc
Requires(postun): %{name}-python = %{version}-%{release}
f144a8
BuildArch:      noarch
f144a8
f144a8
%description    nstor-plugin
f144a8
The %{name}-nstor-plugin package contains plug-in for NexentaStor array
f144a8
support.
f144a8
4797fc
%package        megaraid-plugin
4797fc
Summary:        Files for LSI MegaRAID support for %{name}
4797fc
Group:          System Environment/Libraries
4797fc
Requires:       %{name}-python = %{version}-%{release}
4797fc
Requires(post): %{name}-python = %{version}-%{release}
4797fc
Requires(postun): %{name}-python = %{version}-%{release}
4797fc
BuildArch:      noarch
4797fc
4797fc
%description    megaraid-plugin
4797fc
The %{name}-megaraid-plugin package contains the plugin for LSI
4797fc
MegaRAID storage management via storcli.
4797fc
4797fc
%package        hpsa-plugin
3de836
Summary:        Files for HPE SmartArray support for %{name}
4797fc
Group:          System Environment/Libraries
3de836
Requires:       python-pyudev
4797fc
Requires:       %{name}-python = %{version}-%{release}
4797fc
Requires(post): %{name}-python = %{version}-%{release}
4797fc
Requires(postun): %{name}-python = %{version}-%{release}
4797fc
BuildArch:      noarch
4797fc
4797fc
%description    hpsa-plugin
3de836
The %{name}-hpsa-plugin package contains the plugin for HPE
4797fc
SmartArray storage management via hpssacli.
4797fc
1f984a
%package        udev
5b1bf2
Summary:        Udev files for %{name}
1f984a
Group:          System Environment/Base
1f984a
1f984a
%description    udev
1f984a
The %{name}-udev package contains udev rules and helper utilities for
1f984a
uevents generated by the kernel.
1f984a
ad4da3
%package        arcconf-plugin
ad4da3
Summary:        Files for Microsemi Adaptec and Smart Family support for %{name}
ad4da3
Group:          System Environment/Libraries
ad4da3
Requires:       %{name}-python = %{version}-%{release}
ad4da3
Requires(post): %{name}-python = %{version}-%{release}
ad4da3
Requires(postun): %{name}-python = %{version}-%{release}
ad4da3
BuildArch:      noarch
ad4da3
ad4da3
%description    arcconf-plugin
ad4da3
The %{name}-arcconf-plugin package contains the plugin for Microsemi
ad4da3
Adaptec RAID and Smart Family Controller storage management.
ad4da3
ad4da3
%package        nfs-plugin
ad4da3
Summary:        Files for NFS local filesystem support for %{name}
ad4da3
Group:          System Environment/Libraries
ad4da3
Requires:       %{name}-python = %{version}-%{release}
ad4da3
Requires:       %{name}-nfs-plugin-clibs = %{version}-%{release}
1b828f
Requires:       nfs-utils
ad4da3
Requires(post): %{name}-python = %{version}-%{release}
ad4da3
Requires(postun): %{name}-python = %{version}-%{release}
ad4da3
BuildArch:      noarch
ad4da3
ad4da3
%description    nfs-plugin
ad4da3
The nfs-plugin package contains plug-in for local NFS exports support.
ad4da3
ad4da3
%package        nfs-plugin-clibs
ad4da3
Summary:        Python C extension module for %{name} NFS plugin
ad4da3
Group:          System Environment/Libraries
ad4da3
Requires:       %{name} = %{version}-%{release}
ad4da3
ad4da3
%description    nfs-plugin-clibs
ad4da3
The %{name}-nfs-plugin-clibs package contains python C extension for %{name}
ad4da3
NFS plugin.
ad4da3
dbdf40
ad4da3
%package        local-plugin
ad4da3
Summary:        Files for local pseudo plugin of %{name}
ad4da3
Group:          System Environment/Libraries
ad4da3
Requires:       %{name}-python = %{version}-%{release}
ad4da3
Requires(post): %{name}-python = %{version}-%{release}
ad4da3
Requires(postun): %{name}-python = %{version}-%{release}
8b5823
Requires:       %{name}-arcconf-plugin = %{version}-%{release}
8b5823
Requires:       %{name}-nfs-plugin = %{version}-%{release}
8b5823
Requires:       %{name}-megaraid-plugin = %{version}-%{release}
8b5823
Requires:       %{name}-hpsa-plugin = %{version}-%{release}
ad4da3
BuildArch:      noarch
ad4da3
ad4da3
%description    local-plugin
dbdf40
The nfs-plugin package contains plug-in for local NFS exports support.
ad4da3
LibstorageMgmt local plugin allows user to manage locally storage system
ad4da3
without caring which real plugin(s) should be used.
ad4da3
f144a8
%prep
8b5823
%autosetup -p1
5b1bf2
4797fc
#Make sure you always have a build section, even when you don't
4797fc
#need it, see: https://bugzilla.redhat.com/show_bug.cgi?id=192422
f144a8
%build
f144a8
8b5823
# We need to run this again as we changed Makefile.am in Patch2
8b5823
./autogen.sh
8b5823
f144a8
#Tell the install program to preserve file date/timestamps
dbdf40
%configure --disable-static --with-yajl --without-ontap \
3de836
%if 0%{?skip_mem_check} == 1
3de836
    --without-mem-leak-test
3de836
%endif
f144a8
f144a8
V=1 make %{?_smp_mflags}
f144a8
f144a8
%install
f144a8
rm -rf %{buildroot}
f144a8
make install DESTDIR=%{buildroot}
f144a8
find %{buildroot} -name '*.la' -exec rm -f {} ';'
f144a8
4797fc
install -d -m 0755 %{buildroot}/%{_unitdir}
4797fc
install -m 0644 packaging/daemon/libstoragemgmt.service \
5b1bf2
    %{buildroot}/%{_unitdir}/libstoragemgmt.service
f144a8
5b1bf2
#Files for udev handling
4797fc
mkdir -p %{buildroot}/%{_udevrulesdir}
4797fc
install -m 0644 tools/udev/90-scsi-ua.rules \
4797fc
    %{buildroot}/%{_udevrulesdir}/90-scsi-ua.rules
4797fc
install -m 0755 tools/udev/scan-scsi-target \
4797fc
    %{buildroot}/%{_udevrulesdir}/../scan-scsi-target
1f984a
f144a8
%clean
f144a8
rm -rf %{buildroot}
f144a8
5b1bf2
%check
5b1bf2
if ! make check
5b1bf2
then
b7ad53
  cat ./test-suite.log || true
5b1bf2
  exit 1
5b1bf2
fi
5b1bf2
f144a8
%pre
f144a8
getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
f144a8
getent passwd libstoragemgmt >/dev/null || \
f144a8
    useradd -r -g libstoragemgmt -d /var/run/lsm -s /sbin/nologin \
f144a8
    -c "daemon account for libstoragemgmt" libstoragemgmt
f144a8
f144a8
%post
f144a8
/sbin/ldconfig
4797fc
# Create tmp socket folders.
4797fc
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
5b1bf2
%systemd_post libstoragemgmt.service
5b1bf2
f144a8
%preun
5b1bf2
%systemd_preun libstoragemgmt.service
f144a8
f144a8
%postun
f144a8
/sbin/ldconfig
5b1bf2
%systemd_postun libstoragemgmt.service
f144a8
4797fc
# Need to restart lsmd if plugin is new installed or removed.
4797fc
%post smis-plugin
4797fc
if [ $1 -eq 1 ]; then
4797fc
    # New install.
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
4797fc
%postun smis-plugin
4797fc
if [ $1 -eq 0 ]; then
4797fc
    # Remove
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
4797fc
%post targetd-plugin
4797fc
if [ $1 -eq 1 ]; then
4797fc
    # New install.
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
4797fc
%postun targetd-plugin
4797fc
if [ $1 -eq 0 ]; then
4797fc
    # Remove
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
4797fc
%post nstor-plugin
4797fc
if [ $1 -eq 1 ]; then
4797fc
    # New install.
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
4797fc
%postun nstor-plugin
4797fc
if [ $1 -eq 0 ]; then
4797fc
    # Remove
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
4797fc
%post megaraid-plugin
4797fc
if [ $1 -eq 1 ]; then
4797fc
    # New install.
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
%postun megaraid-plugin
4797fc
if [ $1 -eq 0 ]; then
4797fc
    # Remove
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
4797fc
%post hpsa-plugin
4797fc
if [ $1 -eq 1 ]; then
4797fc
    # New install.
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
%postun hpsa-plugin
4797fc
if [ $1 -eq 0 ]; then
4797fc
    # Remove
4797fc
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
4797fc
fi
4797fc
ad4da3
# Need to restart lsmd if plugin is new installed or removed.
ad4da3
%post nfs-plugin
ad4da3
if [ $1 -eq 1 ]; then
ad4da3
    # New install.
ad4da3
    /usr/bin/systemctl try-restart libstoragemgmt.service \
ad4da3
        >/dev/null 2>&1 || :
ad4da3
fi
ad4da3
ad4da3
%postun nfs-plugin
ad4da3
if [ $1 -eq 0 ]; then
ad4da3
    # Remove
ad4da3
    /usr/bin/systemctl try-restart libstoragemgmt.service \
ad4da3
        >/dev/null 2>&1 || :
ad4da3
fi
ad4da3
ad4da3
# Need to restart lsmd if plugin is new installed or removed.
ad4da3
%post arcconf-plugin
ad4da3
if [ $1 -eq 1 ]; then
ad4da3
    # New install.
ad4da3
    /usr/bin/systemctl try-restart libstoragemgmt.service \
ad4da3
        >/dev/null 2>&1 || :
ad4da3
fi
ad4da3
ad4da3
%postun arcconf-plugin
ad4da3
if [ $1 -eq 0 ]; then
ad4da3
    # Remove
ad4da3
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
ad4da3
fi
ad4da3
8b5823
# Need to restart lsmd if plugin is new installed or removed.
8b5823
%post local-plugin
8b5823
if [ $1 -eq 1 ]; then
8b5823
    # New install.
8b5823
    /usr/bin/systemctl try-restart libstoragemgmt.service \
8b5823
        >/dev/null 2>&1 || :
8b5823
fi
8b5823
8b5823
%postun local-plugin
8b5823
if [ $1 -eq 0 ]; then
8b5823
    # Remove
8b5823
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
8b5823
fi
8b5823
f144a8
%files
f144a8
%defattr(-,root,root,-)
f144a8
%doc README COPYING.LIB
f144a8
%{_mandir}/man1/lsmcli.1*
f144a8
%{_mandir}/man1/lsmd.1*
4797fc
%{_mandir}/man5/lsmd.conf.5*
f144a8
%{_libdir}/*.so.*
f144a8
%{_bindir}/lsmcli
4797fc
%{_datadir}/bash-completion/completions/lsmcli
f144a8
%{_bindir}/lsmd
f144a8
%{_bindir}/simc_lsmplugin
4797fc
%dir %{_sysconfdir}/lsm
4797fc
%dir %{_sysconfdir}/lsm/pluginconf.d
4797fc
%config(noreplace) %{_sysconfdir}/lsm/lsmd.conf
4797fc
%{_mandir}/man1/simc_lsmplugin.1*
f144a8
4797fc
%{_unitdir}/%{name}.service
f144a8
1b828f
%ghost %dir %attr(0775, root, libstoragemgmt) /run/lsm/
1b828f
%ghost %dir %attr(0775, root, libstoragemgmt) /run/lsm/ipc
f144a8
4797fc
%attr(0644, root, root) %{_tmpfilesdir}/%{name}.conf
f144a8
f144a8
%files devel
f144a8
%defattr(-,root,root,-)
f144a8
%{_includedir}/*
f144a8
%{_libdir}/*.so
4797fc
%{_libdir}/pkgconfig/%{name}.pc
ad4da3
%{_mandir}/man3/lsm_*
ad4da3
%{_mandir}/man3/libstoragemgmt*
f144a8
f144a8
%files python
f144a8
%defattr(-,root,root,-)
f144a8
#Python library files
5b1bf2
%dir %{python_sitelib}/lsm
f144a8
%{python_sitelib}/lsm/__init__.*
5b1bf2
%dir %{python_sitelib}/lsm/external
f144a8
%{python_sitelib}/lsm/external/*
5b1bf2
%{python_sitelib}/lsm/_client.*
5b1bf2
%{python_sitelib}/lsm/_common.*
5b1bf2
%{python_sitelib}/lsm/_data.*
5b1bf2
%{python_sitelib}/lsm/_iplugin.*
5b1bf2
%{python_sitelib}/lsm/_pluginrunner.*
5b1bf2
%{python_sitelib}/lsm/_transport.*
3de836
%{python_sitelib}/lsm/_local_disk.*
f144a8
%{python_sitelib}/lsm/version.*
5b1bf2
%dir %{python_sitelib}/lsm/plugin
5b1bf2
%{python_sitelib}/lsm/plugin/__init__.*
5b1bf2
%dir %{python_sitelib}/lsm/plugin/sim
5b1bf2
%{python_sitelib}/lsm/plugin/sim/__init__.*
5b1bf2
%{python_sitelib}/lsm/plugin/sim/simulator.*
5b1bf2
%{python_sitelib}/lsm/plugin/sim/simarray.*
5b1bf2
%dir %{python_sitelib}/lsm/lsmcli
5b1bf2
%{python_sitelib}/lsm/lsmcli/__init__.*
5b1bf2
%{python_sitelib}/lsm/lsmcli/data_display.*
5b1bf2
%{python_sitelib}/lsm/lsmcli/cmdline.*
f144a8
%{_bindir}/sim_lsmplugin
4797fc
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/sim.conf
4797fc
%{_mandir}/man1/sim_lsmplugin.1*
8b5823
%dir %{_libexecdir}/lsm.d
8b5823
%{_libexecdir}/lsm.d/find_unused_lun.py*
8b5823
%{_libexecdir}/lsm.d/local_sanity_check.py*
f144a8
3de836
# Compiled C files for python library
3de836
%files python-clibs
3de836
%{python_sitelib}/lsm/_clib.*
3de836
f144a8
%files smis-plugin
f144a8
%defattr(-,root,root,-)
5b1bf2
%dir %{python_sitelib}/lsm/plugin/smispy
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/__init__.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/smis.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/dmtf.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/utils.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/smis_common.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/smis_cap.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/smis_sys.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/smis_pool.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/smis_disk.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/smis_vol.*
5b1bf2
%{python_sitelib}/lsm/plugin/smispy/smis_ag.*
f144a8
%{_bindir}/smispy_lsmplugin
4797fc
%{_mandir}/man1/smispy_lsmplugin.1*
f144a8
f144a8
%files targetd-plugin
f144a8
%defattr(-,root,root,-)
5b1bf2
%dir %{python_sitelib}/lsm/plugin/targetd
5b1bf2
%{python_sitelib}/lsm/plugin/targetd/__init__.*
5b1bf2
%{python_sitelib}/lsm/plugin/targetd/targetd.*
f144a8
%{_bindir}/targetd_lsmplugin
4797fc
%{_mandir}/man1/targetd_lsmplugin.1*
f144a8
f144a8
%files nstor-plugin
f144a8
%defattr(-,root,root,-)
5b1bf2
%dir %{python_sitelib}/lsm/plugin/nstor
5b1bf2
%{python_sitelib}/lsm/plugin/nstor/__init__.*
5b1bf2
%{python_sitelib}/lsm/plugin/nstor/nstor.*
f144a8
%{_bindir}/nstor_lsmplugin
4797fc
%{_mandir}/man1/nstor_lsmplugin.1*
f144a8
1f984a
%files udev
1f984a
%defattr(-,root,root,-)
4797fc
%{_udevrulesdir}/../scan-scsi-target
4797fc
%{_udevrulesdir}/90-scsi-ua.rules
4797fc
4797fc
%files megaraid-plugin
4797fc
%defattr(-,root,root,-)
4797fc
%dir %{python_sitelib}/lsm/plugin/megaraid
4797fc
%{python_sitelib}/lsm/plugin/megaraid/__init__.*
4797fc
%{python_sitelib}/lsm/plugin/megaraid/megaraid.*
4797fc
%{python_sitelib}/lsm/plugin/megaraid/utils.*
4797fc
%{_bindir}/megaraid_lsmplugin
4797fc
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/megaraid.conf
4797fc
%{_mandir}/man1/megaraid_lsmplugin.1*
4797fc
4797fc
%files hpsa-plugin
4797fc
%defattr(-,root,root,-)
4797fc
%dir %{python_sitelib}/lsm/plugin/hpsa
4797fc
%{python_sitelib}/lsm/plugin/hpsa/__init__.*
4797fc
%{python_sitelib}/lsm/plugin/hpsa/hpsa.*
4797fc
%{python_sitelib}/lsm/plugin/hpsa/utils.*
4797fc
%{_bindir}/hpsa_lsmplugin
4797fc
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/hpsa.conf
4797fc
%{_mandir}/man1/hpsa_lsmplugin.1*
1f984a
ad4da3
%files nfs-plugin
ad4da3
%defattr(-,root,root,-)
ad4da3
%dir %{python_sitelib}/lsm/plugin/nfs
ad4da3
%{python_sitelib}/lsm/plugin/nfs/__init__.*
ad4da3
%{python_sitelib}/lsm/plugin/nfs/nfs.*
ad4da3
%{_sysconfdir}/lsm/pluginconf.d/nfs.conf
ad4da3
%{_bindir}/nfs_lsmplugin
ad4da3
%{_mandir}/man1/nfs_lsmplugin.1*
ad4da3
ad4da3
%files nfs-plugin-clibs
ad4da3
%{python_sitelib}/lsm/plugin/nfs/nfs_clib.*
ad4da3
ad4da3
%files arcconf-plugin
ad4da3
%defattr(-,root,root,-)
ad4da3
%dir %{python_sitelib}/lsm/plugin/arcconf
ad4da3
%{python_sitelib}/lsm/plugin/arcconf/__init__.*
ad4da3
%{python_sitelib}/lsm/plugin/arcconf/arcconf.*
ad4da3
%{python_sitelib}/lsm/plugin/arcconf/utils.*
ad4da3
%{_bindir}/arcconf_lsmplugin
ad4da3
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/arcconf.conf
ad4da3
%{_mandir}/man1/arcconf_lsmplugin.1*
ad4da3
ad4da3
%files local-plugin
ad4da3
%defattr(-,root,root,-)
ad4da3
%dir %{python_sitelib}/lsm/plugin/local
ad4da3
%{python_sitelib}/lsm/plugin/local/__init__.*
ad4da3
%{python_sitelib}/lsm/plugin/local/local.*
ad4da3
%{_sysconfdir}/lsm/pluginconf.d/local.conf
ad4da3
%{_bindir}/local_lsmplugin
ad4da3
%{_mandir}/man1/local_lsmplugin.1*
ad4da3
f144a8
%changelog
62708f
* Thu Feb 4 2021 Tony Asleson <tasleson@redhat.com> - 1.8.1-2
62708f
- https://bugzilla.redhat.com/show_bug.cgi?id=1872745
62708f
- https://bugzilla.redhat.com/show_bug.cgi?id=1903665
62708f
dbdf40
* Tue Aug 13 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-1
dbdf40
- Upgrade to 1.8.1
dbdf40
- Obsolete the netapp plugin.
dbdf40
1b828f
* Thu Mar 28 2019 Tony Asleson <tasleson@redhat.com> - 1.7.3-3
1b828f
* https://bugzilla.redhat.com/show_bug.cgi?id=1693678
1b828f
1b828f
* Sat Feb 16 2019 Tony Asleson <tasleson@redhat.com> - 1.7.3-2
1b828f
* https://bugzilla.redhat.com/show_bug.cgi?id=1629735
1b828f
1b828f
* Fri Feb 15 2019 Tony Asleson <tasleson@redhat.com> - 1.7.3-1
1b828f
- Add nfs-utils as a dependency
1b828f
- Upgrade to 1.7.3
1b828f
1b828f
* Wed Dec 19 2018 Tony Asleson <tasleson@redhat.com> - 1.7.2-1
1b828f
- Upgrade to 1.7.2
1b828f
8b5823
* Fri Aug 31 2018 Gris Ge <fge@redhat.com> - 1.6.2-4
8b5823
- Fix FHS problem of find_unused_lun.py and etc, (RHBZ #1623515)
8b5823
8b5823
* Thu Jul 12 2018 Gris Ge <fge@redhat.com> 1.6.2-3
8b5823
- Fix rpm runtime dependency of libstoragemgmt-local-plugin.
8b5823
8b5823
* Tue Jun 26 2018 Gris Ge <fge@redhat.com> 1.6.2-2
8b5823
- Silence socket EPIPE error. (RHBZ #1582458)
8b5823
8b5823
* Tue May 15 2018 Gris Ge <fge@redhat.com> 1.6.2-1
8b5823
- Upgrade to 1.6.2
8b5823
ad4da3
* Tue Dec 12 2017 Gris Ge <fge@redhat.com> - 1.6.1-2
ad4da3
- Fix MegaRAID cache query and set. (RHBZ #1524490)
ad4da3
ad4da3
* Tue Oct 31 2017 Gris Ge <fge@redhat.com> - 1.6.1-1
ad4da3
- Upgrade to 1.6.1.
ad4da3
ad4da3
* Fri Oct 20 2017 Gris Ge <fge@redhat.com> - 1.6.0-2
ad4da3
- Fix missing pywbem import in SMI-S plugin
ad4da3
ad4da3
* Thu Oct 19 2017 Gris Ge <fge@redhat.com> - 1.6.0-1
ad4da3
- Upgrade to 1.6.0.
ad4da3
ad4da3
* Wed Oct 11 2017 Gris Ge <fge@redhat.com> - 1.5.0-2
ad4da3
- Fix multilib confliction of nfs-plugin by move binrary file to
ad4da3
  another subpackage libstoragemgmt-nfs-plugin-clibs
b7ad53
ad4da3
* Sat Sep 30 2017 Gris Ge <fge@redhat.com> - 1.5.0-1
ad4da3
- Upgraded to 1.5.0.
b7ad53
35f900
* Thu Mar 30 2017 Gris Ge <fge@redhat.com> 1.4.0-3
35f900
- Fix ONTAP SSL connection. # RHBZ 1437130
35f900
35f900
* Thu Feb 23 2017 Gris Ge <fge@redhat.com> 1.4.0-2
35f900
- Include a patch for incorrect use of sizeof in C library.
35f900
35f900
* Tue Feb 21 2017 Gris Ge <fge@redhat.com> 1.4.0-1
35f900
- Add Python3 support.
35f900
- New sub rpm package python3-libstoragemgmt.
35f900
- Add support of lmiwbem.
35f900
- Allow plugin test to be run concurrently.
35f900
- Bug fixes:
35f900
    * Fix megaraid plugin for dell PERC.
35f900
    * Fix local disk rotation speed query on NVMe disk.
35f900
    * Fix lsmcli incorrect try-expect on local disk query.
35f900
    * Fix all the gcc compile warnings.
35f900
    * Fix the obsolete usage of AC_OUTPUT in configure.ac.
35f900
- Library adds:
35f900
    * Query serial of local disk:
35f900
        lsm_local_disk_serial_num_get()/lsm.LocalDisk.serial_num_get()
35f900
    * Query LED status of local disk:
35f900
        lsm_local_disk_led_status_get()/lsm.LocalDisk.led_status_get()
35f900
    * Query link speed of local disk:
35f900
        lsm_local_disk_link_speed_get()/lsm.LocalDisk.link_speed_get()
35f900
3de836
* Wed Aug 03 2016 Gris Ge <fge@redhat.com> 1.3.4-1
3de836
- Upgrade to 1.3.4
3de836
3de836
* Wed Jul 13 2016 Gris Ge <fge@redhat.com> 1.3.2-7
3de836
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=1355637
3de836
3de836
* Wed Jun 22 2016 Gris Ge <fge@redhat.com> 1.3.2-6
3de836
- Apply the forgotten patch6.
3de836
3de836
* Wed Jun 22 2016 Gris Ge <fge@redhat.com> 1.3.2-5
3de836
- Fix compile warning by removing unused static function _sd_name_of().
3de836
3de836
* Tue Jun 21 2016 Gris Ge <fge@redhat.com> 1.3.2-4
3de836
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=1348394
3de836
3de836
* Tue Jun 21 2016 Gris Ge <fge@redhat.com> 1.3.2-3
3de836
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=1346898
3de836
3de836
* Fri Jun 17 2016 Gris Ge <fge@redhat.com> 1.3.2-2
3de836
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=1346901
3de836
3de836
* Thu May 26 2016 Gris Ge <fge@redhat.com> 1.3.2-1
3de836
- New upstream release 1.3.2
3de836
4797fc
* Tue Sep 8 2015 Tony Asleson <tasleson@redhat.com> 1.2.3-4
4797fc
- Fix 'make check' when running as root
4797fc
  https://bugzilla.redhat.com/show_bug.cgi?id=1260899
4797fc
4797fc
* Thu Jul 2 2015 Tony Asleson <tasleson@redhat.com> 1.2.3-3
4797fc
- Megaraid fixes
4797fc
  * https://bugzilla.redhat.com/show_bug.cgi?id=1238554
4797fc
  * https://bugzilla.redhat.com/show_bug.cgi?id=1238582
4797fc
  * https://bugzilla.redhat.com/show_bug.cgi?id=1238566
4797fc
- Command line exit code fix:
4797fc
  * https://bugzilla.redhat.com/show_bug.cgi?id=1238737
4797fc
4797fc
* Thu Jun 25 2015 Tony Asleson <tasleson@redhat.com> 1.2.3-2
4797fc
- Be explicit in package version requirements
4797fc
- Add build section back to get debug-infos
4797fc
4797fc
* Wed Jun 24 2015 Tony Asleson <tasleson@redhat.com> 1.2.3-1
3de836
- New upstream release
4797fc
- New sub-pacakges:
4797fc
    * libstoragemgmt-megaraid-plugin
4797fc
    * libstoragemgmt-hpsa-plugin
4797fc
- Add bash-completion script for lsmcli
4797fc
- Replace the hardcoded udev path with %{_udevrulesdir}.
4797fc
- Mark /run/lsm and /run/lsm/ipc as %ghost folder.
4797fc
- Add 'Requires(post)' and 'Requires(postun)' to plugins in order
4797fc
  to make sure plugin is installed after libstoragemgmt and removed before
4797fc
  libstoragemgmt.
4797fc
5b1bf2
* Thu Dec 11 2014 Tony Asleson <tasleson@redhat.com> 1.1.0-2
5b1bf2
- Remove PyYAML build dependency
5b1bf2
5b1bf2
* Thu Dec 4 2014 Tony Asleson <tasleson@redhat.com> 1.1.0-1
5b1bf2
- New upstream release
5b1bf2
5b1bf2
* Mon Oct 6 2014 Tony Asleson  <tasleson@redhat.com> - 1.0.0-4
5b1bf2
- Fix rpmdiff, error for path names
5b1bf2
  https://bugzilla.redhat.com/show_bug.cgi?id=1149368
5b1bf2
- Fix rpmdiff, multilib regressions
5b1bf2
  https://bugzilla.redhat.com/show_bug.cgi?id=1149371
5b1bf2
5b1bf2
* Fri Oct 3 2014 Tony Asleson  <tasleson@redhat.com> - 1.0.0-3
5b1bf2
- Use new systemd rpm macros
5b1bf2
  https://bugzilla.redhat.com/show_bug.cgi?id=1149010
5b1bf2
- Place config file in correct tmpfiles.d directory
5b1bf2
  https://bugzilla.redhat.com/show_bug.cgi?id=1122087
5b1bf2
5b1bf2
* Mon Sep 8 2014 Tony Asleson  <tasleson@redhat.com> - 1.0.0-2
5b1bf2
- Removed REST sub-package
5b1bf2
5b1bf2
* Sun Sep 7 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-1
5b1bf2
- New upstream release
5b1bf2
1f984a
* Fri Feb 28 2014 Tony Asleson <tasleson@redhat.com> - 0.0.24-4
1f984a
- https://bugzilla.redhat.com/show_bug.cgi?id=1071382
1f984a
1f984a
* Mon Feb 10 2014 Tony Asleson <tasleson@redhat.com> - 0.0.24-3
1f984a
- Corrected coverity found bugs
1f984a
1f984a
* Thu Jan 30 2014 Tony Asleson <tasleson@redhat.com> - 0.0.24-2
1f984a
- Missed patch to correct python paths
1f984a
1f984a
* Thu Jan 30 2014 Tony Asleson <tasleson@redhat.com> - 0.0.24-1
1f984a
- New upstream release
1f984a
- Patch nstor plugin for json instead of simple-json
1f984a
1f984a
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.0.22-10
1f984a
- Mass rebuild 2014-01-24
1f984a
1f984a
* Fri Jan 3 2014 Ewan D. Milne <emilne@redhat.com> 0.0.22-9
1f984a
- Fixed DEVPATH parsing in scan-scsi-target
1f984a
1f984a
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.0.22-7
1f984a
- Mass rebuild 2013-12-27
1f984a
1f984a
* Mon Dec 2 2013 Tony Asleson <tasleson@redhat.com> 0.0.22-6
1f984a
- https://bugzilla.redhat.com/show_bug.cgi?id=1019467
1f984a
1f984a
* Fri Nov 22 2013 Tony Asleson <tasleson@redhat.com> 0.0.22-5
1f984a
- https://bugzilla.redhat.com/show_bug.cgi?id=1019320
1f984a
f144a8
* Mon Oct 14 2013 Tony Asleson <tasleson@redhat.com> 0.0.22-4
f144a8
- https://bugzilla.redhat.com/show_bug.cgi?id=905465
f144a8
f144a8
* Fri Oct 4 2013 Tony Asleson <tasleson@redhat.com> 0.0.22-3
f144a8
- https://bugzilla.redhat.com/show_bug.cgi?id=998898
f144a8
f144a8
* Tue Aug 13 2013 Tony Asleson <tasleson@redhat.com> 0.0.22-2
f144a8
- BZ 987027
f144a8
- BZ 990577
f144a8
- BZ 968384
f144a8
- New upstream release
f144a8
f144a8
* Tue Jul 16 2013 Tony Asleson <tasleson@redhat.com> 0.0.21-1
f144a8
- New upstream release
f144a8
- Put plug-ins in separate sub packages
f144a8
- Don't include IBM plug-in on RHEL > 6, missing paramiko
f144a8
f144a8
* Tue May 28 2013 Tony Asleson <tasleson@redhat.com> - 0.0.20-1
f144a8
- New upstream release
f144a8
- Separate package for python libraries
f144a8
- Make timestamps match on version.py in library
f144a8
- Add python-paramiko requirement for IBM plug-in
f144a8
f144a8
* Mon Apr 22 2013 Tony Asleson <tasleson@redhat.com> 0.0.19-1
f144a8
- New upstream release
f144a8
f144a8
* Fri Mar 8 2013 Tony Asleson <tasleson@redhat.com> 0.0.18-1
f144a8
- New upstream release
f144a8
- Corrected spec file for missing "fi" in postinstall
f144a8
f144a8
* Tue Jan 29 2013 Tony Asleson <tasleson@redhat.com> 0.0.16-1
f144a8
- New upstream release
f144a8
3de836
* Wed Oct 31 2012 Tony Asleson <tasleson@redhat.com> 0.0.14-1
f144a8
- Initial RHEL Release
f144a8
- Removed conditional checks for fedora as RHEL7 uses systemd
f144a8
f144a8
* Wed Oct 3 2012 Tony Asleson <tasleson@redhat.com> - 0.0.13-1
f144a8
- New upstream release
f144a8
f144a8
* Tue Sep 18 2012 Tony Asleson <tasleson@redhat.com> - 0.0.12-1
f144a8
- New upstream release
f144a8
f144a8
* Mon Aug 13 2012 Tony Asleson <tasleson@redhat.com> 0.0.11-1
f144a8
- New upstream release
f144a8
f144a8
* Fri Jul 27 2012 Dan HorĂ¡k <dan[at]danny.cz> - 0.0.9-3
f144a8
- detect also non-x86 arches in Pegasus check
f144a8
f144a8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
f144a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f144a8
f144a8
* Tue Jun 12 2012 Tony Asleson <tasleson@redhat.com> 0.0.9-1
f144a8
- Initial checkin of lio plug-in
f144a8
- System filtering via URI (smispy)
f144a8
- Error code mapping (ontap)
f144a8
- Fixed build so same build tarball is used for all binaries
f144a8
f144a8
* Mon Jun 4 2012 Tony Asleson <tasleson@redhat.com> 0.0.8-1
f144a8
- Make building of SMI-S CPP plugin optional
f144a8
- Add pkg-config file
f144a8
- SMIS: Fix exception while retrieving Volumes
f144a8
- SMIS: Fix exception while retrieving Volumes
f144a8
- lsm: Add package imports
f144a8
- Make Smis class available in lsm python package
f144a8
- Add option to disable building C unit test
f144a8
- Make simulator classes available in lsm python package
f144a8
- Make ontap class available in lsm python package
f144a8
- Changes to support building on Fedora 17 (v2)
f144a8
- Spec. file updates from feedback from T. Callaway (spot)
f144a8
- F17 linker symbol visibility correction
f144a8
- Remove unneeded build dependencies and cleaned up some warnings
f144a8
- C Updates, client C library feature parity with python
f144a8
f144a8
* Fri May 11 2012 Tony Asleson <tasleson@redhat.com> 0.0.7-1
f144a8
- Bug fix for smi-s constants
f144a8
- Display formatting improvements
f144a8
- Added header option for lsmcli
f144a8
- Improved version handling for builds
f144a8
- Made terminology consistent
f144a8
- Ability to list visibility for access groups and volumes
f144a8
- Simulator plug-in fully supports all block operations
f144a8
- Added support for multiple systems with a single plug-in instance
f144a8
f144a8
* Fri Apr 20 2012 Tony Asleson <tasleson@redhat.com> 0.0.6-1
f144a8
- Documentation improvements (man & source code)
f144a8
- Support for access groups
f144a8
- Unified spec files Fedora/RHEL
f144a8
- Package version auto generate
f144a8
- Rpm target added to make
f144a8
- Bug fix for missing optional property on volume retrieval (smispy plug-in)
f144a8
f144a8
* Fri Apr 6 2012 Tony Asleson <tasleson@redhat.com> 0.0.5-1
f144a8
- Spec file clean-up improvements
f144a8
- Async. operation added to lsmcli and ability to check on job status
f144a8
- Sub volume replication support
f144a8
- Ability to check for child dependencies on VOLUMES, FS and files
f144a8
- SMI-S Bug fixes and improvements
f144a8
f144a8
* Mon Mar 26 2012 Tony Asleson <tasleson@redhat.com> 0.0.4-1
f144a8
- Restore from snapshot
f144a8
- Job identifiers string instead of integer
f144a8
- Updated license address
f144a8
f144a8
* Wed Mar 14 2012 Tony Asleson <tasleson@redhat.com> 0.0.3-1
f144a8
- Changes to installer, daemon uid, gid, /var/run/lsm/*
f144a8
- NFS improvements and bug fixes
f144a8
- Python library clean up (rpmlint errors)
f144a8
f144a8
* Sun Mar 11 2012 Tony Asleson <tasleson@redhat.com> 0.0.2-1
f144a8
- Added NetApp native plugin
f144a8
f144a8
* Mon Feb 6 2012 Tony Asleson <tasleson@redhat.com>  0.0.1alpha-1
f144a8
- Initial version of package