04c0657
# Packages names
04c0657
%global vdsm_name vdsm
04c0657
%global vdsm_bootstrap vdsm-bootstrap
04c0657
%global vdsm_reg vdsm-reg
04c0657
04c0657
# Required users and groups
04c0657
%global vdsm_user vdsm
04c0657
%global vdsm_group kvm
04c0657
%global qemu_group qemu
d308462
%global snlk_group sanlock
d308462
%global snlk_user sanlock
04c0657
205ef3f
# Upstream git release
205ef3f
# % global vdsm_release gf2f6683
205ef3f
# % global vdsm_relvtag .git%{vdsm_release}
205ef3f
# % global vdsm_relttag -%{vdsm_release}
205ef3f
205ef3f
# Fedora official build
205ef3f
%global fedora_koji_build 1
cadbf41
%global with_hooks 1
cadbf41
205ef3f
# Default to skipping autoreconf.  Distros can change just this one line
205ef3f
# (or provide a command-line override) if they backport any patches that
205ef3f
# touch configure.ac or Makefile.am.
205ef3f
%{!?enable_autotools:%define enable_autotools 1}
205ef3f
04c0657
# Required paths
3483c14
%if 0%{?fedora} >= 18
3483c14
%global _polkitdir %{_datadir}/polkit-1/rules.d
3483c14
%else
04c0657
%global _polkitdir %{_localstatedir}/lib/polkit-1/localauthority/10-vendor.d
3483c14
%endif
04c0657
205ef3f
%if !0%{fedora_koji_build} || 0%{?fedora} >= 19
205ef3f
%global with_gluster 1
205ef3f
%endif
205ef3f
205ef3f
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
205ef3f
%global with_systemd 1
205ef3f
%endif
205ef3f
205ef3f
%if 0%{?fedora} >= 18
205ef3f
%global with_systemd_macros 1
205ef3f
%endif
439e9e8
04c0657
Name:           %{vdsm_name}
e18cab9
Version:        4.10.3
205ef3f
Release:        16%{?vdsm_relvtag}%{?dist}%{?extra_release}
04c0657
Summary:        Virtual Desktop Server Manager
04c0657
04c0657
Group:          Applications/System
04c0657
License:        GPLv2+
6239658
Url:            http://www.ovirt.org/wiki/Vdsm
04c0657
# The source for this package was pulled from upstream's vcs.
04c0657
# Use the following commands to generate the tarball:
04c0657
#  git clone http://gerrit.ovirt.org/p/vdsm
04c0657
#  cd vdsm
04c0657
#  git reset --hard {vdsm_release}
04c0657
#  ./autogen.sh --system
6239658
#  make VERSION={version}-{vdsm_release} dist
1134cd7
Source0:        %{vdsm_name}-%{version}%{?vdsm_relttag}.tar.gz
2901aaa
83d581e
# ovirt-3.2 patches
83d581e
Patch0:         0001-schema-Fix-schema-for-VM.updateDevice.patch
83d581e
Patch1:         0002-schema-Missing-comment-for-new-VmDeviceType.patch
83d581e
Patch2:         0003-api-Report-CPU-thread-info-in-getVdsCapabilities.patch
83d581e
Patch3:         0004-caps.py-osversion-validate-OVIRT.patch
83d581e
Patch4:         0005-restarting-libvirtd-didn-t-work-over-allinone-setup.patch
83d581e
Patch5:         0006-Integrate-Smartcard-support.patch
83d581e
Patch6:         0007-vdsm.spec-python-ordereddict-only-for-rhel-7.patch
83d581e
Patch7:         0008-vdsm.spec-Don-t-require-python-ordereddict-on-fedora.patch
83d581e
Patch8:         0009-vdsm.spec-BuildRequires-python-pthreading.patch
83d581e
Patch9:         0010-Searching-for-both-py-and-pyc-file-to-start-super-vd.patch
83d581e
Patch10:        0011-adding-getHardwareInfo-API-to-vdsm.patch
83d581e
Patch11:        0012-Explicitly-shutdown-m2crypto-socket.patch
83d581e
Patch12:        0013-spec-require-policycoreutils-and-skip-sebool-errors.patch
83d581e
Patch13:        0014-spec-requires-selinux-policy-to-avoid-selinux-failur.patch
83d581e
Patch14:        0015-vdsmd.service-require-either-ntpd-or-chronyd.patch
83d581e
Patch15:        0016-isRunning-didn-t-check-local-variable-before-reading.patch
83d581e
Patch16:        0017-udev-Race-fix-load-and-trigger-dev-rule.patch
83d581e
Patch17:        0018-Change-scsi_id-command-path-to-be-configured-at-runt.patch
83d581e
Patch18:        0019-upgrade-force-upgrade-to-v2-before-upgrading-to-v3.patch
83d581e
Patch19:        0020-misc-rename-safelease-to-clusterlock.patch
83d581e
Patch20:        0021-domain-select-the-cluster-lock-using-makeClusterLock.patch
83d581e
Patch21:        0022-clusterlock-add-the-local-locking-implementation.patch
83d581e
Patch22:        0023-upgrade-catch-MetaDataKeyNotFoundError-when-preparin.patch
83d581e
Patch23:        0024-vdsm.spec-Require-openssl.patch
83d581e
Patch24:        0025-Fedora-18-require-a-newer-udev.patch
83d581e
Patch25:        0026-fix-sloppy-backport-of-safelease-rename.patch
83d581e
Patch26:        0027-removing-the-use-of-zombie-reaper-from-supervdsm.patch
83d581e
Patch27:        0028-configNet-allow-delete-update-of-devices-with-no-ifc.patch
83d581e
Patch28:        0029-Requires-policycoreutils-2.1.13-55-to-avoid-another-.patch
83d581e
Patch29:        0030-After-fail-to-connect-to-supervdsm-more-than-3-time-.patch
83d581e
# This patch is not present in the upstream ovirt-3.2 branch and it was added to
83d581e
# add a missing file in the base vdsm tar.gz
83d581e
Patch30:        0031-packaging-add-load_needed_modules.py.in.patch
83d581e
Patch31:        0032-tool-_enable_bond_dev-reopen-bonding_masters-per-bon.patch
83d581e
Patch32:        0033-gluster-Handling-Attribute-error-in-Python-2.6.patch
83d581e
Patch33:        0034-bootstrap-remove-glusterfs-packages.patch
83d581e
Patch34:        0035-gluster-set-glusterfs-dependency-version.patch
83d581e
Patch35:        0036-Do-not-delete-the-template-when-zeroing-a-dependant-.patch
775dac5
Patch36:        0037-vdsm.spec-fence-agents-all.patch
7fe9c50
Patch37:        0038-fix-storage.fuser.patch
7fe9c50
Patch38:        0039-Bump-up-libvirt-version-to-fix-network-linking.patch
e80a7f2
Patch39:        0040-vdsm.spec.in-with_gluster.patch
205ef3f
Patch40:        0041-Don-t-user-sudo-in-fuser.patch
205ef3f
Patch41:        0042-svdsm-fix-fuser-import-in-supervdsmServer.patch
205ef3f
Patch42:        0043-Removing-vdsm-configuration-when-removing-vdsm-servi.patch
205ef3f
Patch43:        0044-Seperating-supervdsm-log-to-supervdsm.log-file.patch
205ef3f
Patch44:        0045-vdsm.spec-Adding-with_systemd-macro.patch
205ef3f
Patch45:        0046-spec-use-the-fedora-systemd-macros.patch
205ef3f
Patch46:        0047-spec-enable-gluster-upstream-and-on-fedora-19.patch
83d581e
04c0657
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
04c0657
04c0657
BuildRequires: python
d308462
BuildRequires: python-devel
d308462
BuildRequires: python-nose
d308462
d308462
# BuildRequires needed by the tests during the build
d308462
BuildRequires: python-ethtool
6791742
BuildRequires: python-pthreading
e18cab9
BuildRequires: libselinux-python
d308462
BuildRequires: libvirt-python
3483c14
BuildRequires: genisoimage
e18cab9
BuildRequires: openssl
e18cab9
BuildRequires: m2crypto
6791742
%ifarch x86_64
6791742
BuildRequires: python-dmidecode
6791742
%endif
6791742
%if 0%{?rhel} == 6
e18cab9
BuildRequires: python-ordereddict
e18cab9
%endif
04c0657
439e9e8
# Autotools BuildRequires
439e9e8
%if 0%{?enable_autotools}
439e9e8
BuildRequires: autoconf
439e9e8
BuildRequires: automake
439e9e8
BuildRequires: gettext-devel
439e9e8
BuildRequires: libtool
439e9e8
%endif
439e9e8
04c0657
%if !0%{?rhel}
5cdc942
BuildRequires: pyflakes
5cdc942
BuildRequires: python-pep8
205ef3f
%endif
205ef3f
205ef3f
%if 0%{?with_systemd}
04c0657
BuildRequires: systemd-units
04c0657
%endif
04c0657
d308462
Requires: which
04c0657
Requires: sudo >= 1.7.3
e18cab9
Requires: logrotate
04c0657
Requires: xz
d308462
Requires: ntp
3483c14
Requires: iproute
83d581e
Requires: python-ethtool
3483c14
Requires: rpm-python
3483c14
Requires: nfs-utils
3483c14
Requires: python-pthreading
e18cab9
Requires: m2crypto
e18cab9
Requires: %{name}-xmlrpc = %{version}-%{release}
3483c14
3483c14
%ifarch x86_64
6791742
Requires: python-dmidecode
3483c14
Requires: dmidecode
3483c14
%endif
04c0657
04c0657
%if 0%{?rhel}
e18cab9
%if 0%{?rhel} >= 7
e18cab9
ExclusiveArch:  x86_64
e18cab9
Requires: device-mapper-multipath
e18cab9
Requires: e2fsprogs
b68c53f
Requires: fence-agents-all
e18cab9
Requires: iscsi-initiator-utils
e18cab9
Requires: libvirt
e18cab9
Requires: lvm2
e18cab9
Requires: python
e18cab9
Requires: qemu-kvm
e18cab9
Requires: qemu-kvm-img
e18cab9
Requires: sanlock, sanlock-python
e18cab9
Requires: selinux-policy-targeted
e18cab9
%else
d308462
Requires: python
d308462
# Update the qemu-kvm requires when block_stream will be included
3483c14
Requires: qemu-kvm >= 2:0.12.1.2-2.295.el6_3.4
3483c14
Requires: qemu-img >= 2:0.12.1.2-2.295.el6_3.4
83d581e
Requires: libvirt >= 0.9.10-21.el6_3.5
04c0657
Requires: iscsi-initiator-utils >= 6.2.0.872-15
d308462
Requires: device-mapper-multipath >= 0.4.9-52
04c0657
Requires: e2fsprogs >= 1.41.12-11
b68c53f
Requires: fence-agents
3483c14
Requires: kernel >= 2.6.32-279.9.1
3483c14
Requires: sanlock >= 2.3-4, sanlock-python
3483c14
Requires: initscripts >= 9.03.31-2.el6_3.1
e18cab9
Requires: mom >= 0.3.0
83d581e
Requires: selinux-policy-targeted >= 3.7.19-80
3483c14
Requires: lvm2 >= 2.02.95-10.el6_3.2
e18cab9
Requires: logrotate < 3.8.0
e18cab9
%endif
04c0657
%else
b68c53f
%if 0%{?fedora} >= 19
b68c53f
Requires: fence-agents-all
b68c53f
%else
b68c53f
Requires: fence-agents
b68c53f
%endif
d308462
# Subprocess and thread bug was found on python 2.7.2
d308462
Requires: python >= 2.7.3
04c0657
Requires: qemu-kvm >= 2:0.15.0-4
04c0657
Requires: qemu-img >= 2:0.15.0-4
7fe9c50
Requires: libvirt >= 0.10.2.4-1
04c0657
Requires: iscsi-initiator-utils >= 6.2.0.872-14
04c0657
Requires: device-mapper-multipath >= 0.4.9-18
04c0657
Requires: e2fsprogs >= 1.41.14
3483c14
Requires: kernel >= 3.6
e18cab9
Requires: mom >= 0.3.0
3483c14
Requires: sanlock >= 2.4-2, sanlock-python
3483c14
Requires: sed >= 4.2.1-10
3483c14
Requires: selinux-policy-targeted >= 3.10.0-149
3483c14
Requires: lvm2 >= 2.02.95
04c0657
%endif
04c0657
6791742
%if 0%{?fedora} >= 18
83d581e
Requires: selinux-policy-targeted >= 3.11.1-71
83d581e
# In order to avoid a policycoreutils bug (rhbz 889698) when selinux is
83d581e
# disabled we now require the version 2.1.13-55 (or newer) of Fedora.
83d581e
Requires: policycoreutils >= 2.1.13-55
83d581e
Requires: systemd >= 197-1.fc18.2
6791742
%endif
6791742
e18cab9
Requires: libvirt-python, libvirt-lock-sanlock, libvirt-client
04c0657
Requires: psmisc >= 22.6-15
04c0657
Requires: bridge-utils
04c0657
Requires: sos
6239658
Requires: tree
04c0657
Requires: dosfstools
04c0657
Requires: policycoreutils-python
3483c14
Requires: genisoimage
04c0657
Requires: libselinux-python
d308462
Requires: %{name}-python = %{version}-%{release}
d308462
Requires: pyparted
3483c14
04c0657
Requires(post): /usr/sbin/saslpasswd2
3483c14
Requires(post): /bin/hostname
e18cab9
Requires(post): policycoreutils-python
e18cab9
Requires(preun): policycoreutils-python
04c0657
04c0657
%description
04c0657
The VDSM service is required by a Virtualization Manager to manage the
04c0657
Linux hosts. VDSM manages and monitors the host's storage, memory and
04c0657
networks as well as virtual machine creation, other host administration
04c0657
tasks, statistics gathering, and log collection.
04c0657
d308462
%package cli
d308462
Summary:        VDSM command line interface
d308462
BuildArch:      noarch
d308462
d308462
Requires: %{name}-python = %{version}-%{release}
d308462
Requires: %{name}-xmlrpc = %{version}-%{release}
d308462
d308462
%description cli
d308462
Call VDSM commands from the command line. Used for testing and debugging.
d308462
d308462
%package xmlrpc
d308462
Summary:        VDSM xmlrpc API
d308462
BuildArch:      noarch
d308462
d308462
Requires: %{name}-python = %{version}-%{release}
d308462
d308462
%description xmlrpc
d308462
An XMLRPC interface for interacting with vdsmd. Primary control interface for
d308462
ovirt-engine and vdsClient.
d308462
e18cab9
%package jsonrpc
e18cab9
Summary:        VDSM API Server
d308462
BuildArch:      noarch
d308462
d308462
Requires: %{name}-python = %{version}-%{release}
6791742
%if 0%{?rhel} == 6
e18cab9
Requires: python-ordereddict
e18cab9
%endif
d308462
e18cab9
%description jsonrpc
e18cab9
A Json-based RPC interface that serves as the protocol for libvdsm.
d308462
d308462
%package bootstrap
d308462
Summary:        VDSM bootstrapping package
d308462
BuildArch:      noarch
d308462
d308462
%description bootstrap
d308462
VDSM bootstrapping package. Used for delivering the bootstrap code onto the
d308462
Virtualization Manager.
d308462
d308462
%package reg
d308462
Summary:        VDSM registration package
d308462
BuildArch:      noarch
d308462
d308462
Requires: %{name} = %{version}-%{release}
3483c14
Requires: m2crypto
83d581e
Requires: openssl
d308462
d308462
%description reg
d308462
VDSM registration package. Used to register a Linux host to a Virtualization
d308462
Manager.
d308462
d308462
%package python
d308462
Summary:        VDSM python libraries
d308462
d308462
%description python
e18cab9
Shared libraries between the various VDSM packages.
d308462
d308462
%package debug-plugin
d308462
Summary:        VDSM Debug Plugin
d308462
Requires:       vdsm
d308462
Requires:       %{name}-xmlrpc = %{version}-%{release}
d308462
BuildArch:      noarch
d308462
d308462
%description debug-plugin
d308462
Used by the trained monkeys at Red Hat to insert chaos and mayhem in to VDSM.
d308462
d308462
%package tests
d308462
Summary:        VDSM Test Suite
d308462
Requires:       vdsm = %{version}-%{release}
3483c14
Requires:       dracut
3483c14
Requires:       python-nose
d308462
BuildArch:      noarch
d308462
d308462
%description tests
d308462
A test suite for verifying the functionality of a running vdsm instance
d308462
04c0657
%package hook-vhostmd
04c0657
Summary:        VDSM hook set for interaction with vhostmd
04c0657
Requires:       vhostmd
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-vhostmd
04c0657
VDSM hook to use vhostmd per VM according to Virtualization Manager requests.
04c0657
04c0657
%package hook-faqemu
04c0657
Summary:        Fake qemu process for VDSM quality assurance
04c0657
BuildArch:      noarch
3483c14
Requires:       vdsm
04c0657
04c0657
%description hook-faqemu
04c0657
VDSM hook used for testing VDSM with multiple fake virtual machines without
04c0657
running real guests.
3483c14
To enable this hook on your host, set vars.fake_kvm_support=True in your
3483c14
/etc/vdsm/vdsm.conf before adding the host to ovirt-Engine.
04c0657
04c0657
%package hook-directlun
04c0657
Summary:        Direct LUN support for VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-directlun
04c0657
VDSM hook enable user to add storage LUN for VDSM
04c0657
without the sharing and storage handling of VDSM.
04c0657
04c0657
%package hook-fileinject
04c0657
Summary:        Allow uploading file to VMs disk
04c0657
BuildArch:      noarch
3483c14
Requires:       python-libguestfs
04c0657
04c0657
%description hook-fileinject
04c0657
Hook is getting target file name and its content and
04c0657
create that file in target machine.
04c0657
04c0657
%package hook-floppy
04c0657
Summary:        Allow adding floppy to VM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-floppy
04c0657
Allow adding floppy to VM
04c0657
04c0657
%package hook-hostusb
04c0657
Summary:        Allow attaching USB device from host
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-hostusb
04c0657
Hook is getting vendor and product id of USB device
04c0657
disconnect it from host and attach it to VM
04c0657
04c0657
%package hook-hugepages
04c0657
Summary:        Huge pages enable user to handle VM with 2048KB page files.
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-hugepages
04c0657
Hook is getting number of huge pages reserve them for the VM,
04c0657
and enable user to handle VM with 2048KB page files.
04c0657
04c0657
%package hook-isolatedprivatevlan
04c0657
Summary:        Isolated network environment for VMs
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-isolatedprivatevlan
04c0657
limit VM traffic to a specific gateway by its mac address,
04c0657
hook prevent VM from spoofing its mac or  ip address
04c0657
by using <filterref filter='clean-traffic'/> libvirt filter
04c0657
and by adding custom filter: isolatedprivatevlan-vdsm.xml
04c0657
e18cab9
%package hook-nestedvt
e18cab9
Summary:        Nested Virtualization support for VDSM
e18cab9
BuildArch:      noarch
e18cab9
e18cab9
%description hook-nestedvt
e18cab9
If the nested virtualization is enabled in your kvm module
e18cab9
this hook will expose it to the guests.
e18cab9
04c0657
%package hook-numa
83d581e
Summary:        numa sopport for VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-numa
83d581e
Hooks is getting number/rage of numa nodes and numa mode,
04c0657
and update the VM xml.
04c0657
04c0657
%package hook-pincpu
04c0657
Summary:        Hook pin VM so specific CPUs
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-pincpu
04c0657
pincpu is hook for VDSM.
04c0657
pincpu enable to pin virtual machine to a specific CPUs.
04c0657
04c0657
%package hook-promisc
04c0657
Summary:        Network interface promiscuous mode support for VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-promisc
04c0657
VDSM promiscuous mode let user define a VM interface that will capture
04c0657
all network traffic.
04c0657
3483c14
%package hook-qemucmdline
3483c14
Summary:        QEMU cmdline hook for VDSM
3483c14
BuildArch:      noarch
3483c14
Requires:       vdsm
3483c14
3483c14
%description hook-qemucmdline
3483c14
Provides support for injecting QEMU cmdline via VDSM hook.
3483c14
It exploits libvirt's qemu:commandline facility available in the
3483c14
qemu xml namespace.
3483c14
04c0657
%package hook-qos
04c0657
Summary:        QoS network in/out traffic support for VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-qos
04c0657
Hook adds QoS in/out traffic to VMs interfaces
04c0657
04c0657
%package hook-scratchpad
04c0657
Summary:        One time disk creation for VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-scratchpad
04c0657
scratchpad hook for VDSM
04c0657
Hook creates a disk for a VM onetime usage,
04c0657
the disk will be erased when the VM destroyed.
04c0657
VM cannot be migrated when using scratchpad hook
04c0657
04c0657
%package hook-smbios
04c0657
Summary:        Adding custom smbios entries to libvirt domain via VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-smbios
04c0657
Adding custom smbios entries to libvirt domain via VDSM
04c0657
such as: vendor, version, date and release
04c0657
04c0657
%package hook-sriov
04c0657
Summary:        sr-iov support for VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-sriov
04c0657
sr-iov hook enable to add virtual functions exposed by the device
04c0657
directly to a virtual machine.
04c0657
e18cab9
%package hook-vmfex
e18cab9
Summary:        vmfex support for VDSM
e18cab9
BuildArch:      noarch
e18cab9
e18cab9
%description hook-vmfex
e18cab9
Hook for vmfex.
e18cab9
04c0657
%package hook-vmdisk
04c0657
Summary:        External disk support for VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
%description hook-vmdisk
04c0657
Hook adds additional disk image for a VM (raw or qcow2)
04c0657
fe637cd
%if 0%{?with_gluster}
d308462
%package gluster
d308462
Summary:        Gluster Plugin for VDSM
04c0657
BuildArch:      noarch
04c0657
04c0657
Requires: %{name} = %{version}-%{release}
83d581e
Requires: glusterfs >= 3.4.0
83d581e
Requires: glusterfs-server
83d581e
Requires: glusterfs-fuse
83d581e
Requires: glusterfs-rdma
04c0657
d308462
%description gluster
d308462
Gluster plugin enables VDSM to serve Gluster functionalities.
fe637cd
%endif
04c0657
04c0657
%prep
3483c14
%setup -q
6791742
83d581e
# ovirt-3.2 patches
205ef3f
%patch0 -p1
205ef3f
%patch1 -p1
205ef3f
%patch2 -p1
205ef3f
%patch3 -p1
205ef3f
%patch4 -p1
205ef3f
%patch5 -p1
205ef3f
%patch6 -p1
205ef3f
%patch7 -p1
205ef3f
%patch8 -p1
205ef3f
%patch9 -p1
205ef3f
%patch10 -p1
205ef3f
%patch11 -p1
205ef3f
%patch12 -p1
205ef3f
%patch13 -p1
205ef3f
%patch14 -p1
205ef3f
%patch15 -p1
205ef3f
%patch16 -p1
205ef3f
%patch17 -p1
205ef3f
%patch18 -p1
205ef3f
%patch19 -p1
205ef3f
%patch20 -p1
205ef3f
%patch21 -p1
205ef3f
%patch22 -p1
205ef3f
%patch23 -p1
205ef3f
%patch24 -p1
205ef3f
%patch25 -p1
205ef3f
%patch26 -p1
205ef3f
%patch27 -p1
205ef3f
%patch28 -p1
205ef3f
%patch29 -p1
205ef3f
%patch30 -p1
205ef3f
%patch31 -p1
205ef3f
%patch32 -p1
205ef3f
%patch33 -p1
205ef3f
%patch34 -p1
205ef3f
%patch35 -p1
205ef3f
%patch36 -p1
205ef3f
%patch37 -p1
205ef3f
%patch38 -p1
205ef3f
%patch39 -p1
205ef3f
%patch40 -p1
205ef3f
%patch41 -p1
205ef3f
%patch42 -p1
205ef3f
%patch43 -p1
205ef3f
%patch44 -p1
205ef3f
%patch45 -p1
205ef3f
%patch46 -p1
83d581e
e18cab9
%if 0%{?rhel} == 6
e18cab9
sed -i '/ su /d' vdsm/vdsm-logrotate.conf.in
e18cab9
%endif
2901aaa
04c0657
%build
439e9e8
%if 0%{?enable_autotools}
439e9e8
autoreconf -if
439e9e8
%endif
04c0657
%configure %{?with_hooks:--enable-hooks}
04c0657
make
2f81350
# Setting software_version and software_revision in dsaversion.py
2f81350
baserelease=`echo "%{release}" | sed 's/\([0-9]\+\(\.[0-9]\+\)\?\).*/\1/'`
2f81350
baseversion=`echo "%{version}" | sed 's/\([0-9]\+\(\.[0-9]\+\)\?\).*/\1/'`
2f81350
sed -i -e 's/^software_version =.*/software_version = "'"${baseversion}"'"/' \
2f81350
       -e 's/^software_revision =.*/software_revision = "'"${baserelease}"'"/' vdsm/dsaversion.py
04c0657
04c0657
%install
04c0657
rm -rf %{buildroot}
04c0657
make DESTDIR=%{buildroot} install
04c0657
04c0657
# Install the respawn utility
04c0657
install -Dm 0755 vdsm/respawn \
04c0657
                 %{buildroot}%{_datadir}/%{vdsm_name}/respawn
04c0657
04c0657
# Install the lvm rules
04c0657
install -Dm 0644 vdsm/storage/12-vdsm-lvm.rules \
04c0657
                 %{buildroot}/lib/udev/rules.d/12-vdsm-lvm.rules
04c0657
d308462
install -Dm 0644 vdsm/limits.conf \
d308462
                 %{buildroot}/etc/security/limits.d/99-vdsm.conf
d308462
205ef3f
%if 0%{?with_systemd}
205ef3f
# Install the systemd scripts
205ef3f
install -Dm 0755 vdsm/vdsmd.init %{buildroot}/lib/systemd/systemd-vdsmd
205ef3f
install -Dm 0644 vdsm/vdsmd.service %{buildroot}%{_unitdir}/vdsmd.service
205ef3f
install -Dm 0755 vdsm_reg/vdsm-reg.init \
205ef3f
                 %{buildroot}/lib/systemd/systemd-vdsm-reg
205ef3f
install -Dm 0644 vdsm_reg/vdsm-reg.service \
205ef3f
                 %{buildroot}%{_unitdir}/vdsm-reg.service
205ef3f
%else
04c0657
# Install the SysV init scripts
04c0657
install -Dm 0755 vdsm/vdsmd.init %{buildroot}%{_initrddir}/vdsmd
04c0657
install -Dm 0755 vdsm_reg/vdsm-reg.init %{buildroot}%{_initrddir}/vdsm-reg
205ef3f
%endif
04c0657
205ef3f
%if 0%{?rhel}
04c0657
# This is not commonplace, but we want /var/log/core to be a world-writable
04c0657
# dropbox for core dumps
04c0657
install -dDm 1777 %{buildroot}%{_localstatedir}/log/core
04c0657
%else
04c0657
# Install the configuration sample
04c0657
install -Dm 0644 vdsm/vdsm.conf.sample \
04c0657
                 %{buildroot}%{_sysconfdir}/vdsm/vdsm.conf
04c0657
04c0657
# Install the polkit for libvirt
3483c14
%if 0%{?fedora} >= 18
3483c14
install -Dm 0644 vdsm/vdsm-libvirt-access.rules \
3483c14
                 %{buildroot}%{_polkitdir}/10-vdsm-libvirt-access.rules
3483c14
%else
04c0657
install -Dm 0644 vdsm/vdsm-libvirt-access.pkla \
04c0657
                 %{buildroot}%{_polkitdir}/10-vdsm-libvirt-access.pkla
04c0657
%endif
3483c14
%endif
04c0657
04c0657
%check
d308462
# Disabling the nose tests until they'll all succeed in koji.
2ca4079
# make check is failing on F-18+ due to pep8 issues. See RHBZ # 837014
2ca4079
# make check NOSE_EXCLUDE=".*"
04c0657
04c0657
%clean
04c0657
rm -rf %{buildroot}
04c0657
04c0657
%pre
3483c14
# Force standard locale behavior (English)
3483c14
export LC_ALL=C
3483c14
04c0657
/usr/bin/getent passwd %{vdsm_user} >/dev/null || \
04c0657
    /usr/sbin/useradd -r -u 36 -g %{vdsm_group} -d /var/lib/vdsm \
04c0657
        -s /sbin/nologin -c "Node Virtualization Manager" %{vdsm_user}
d308462
/usr/sbin/usermod -a -G %{qemu_group},%{snlk_group} %{vdsm_user}
d308462
/usr/sbin/usermod -a -G %{qemu_group},%{vdsm_group} %{snlk_user}
04c0657
04c0657
%post
6791742
%{_bindir}/vdsm-tool sebool-config || :
3483c14
# set the vdsm "secret" password for libvirt
3483c14
%{_bindir}/vdsm-tool set-saslpasswd
3483c14
3483c14
# Have moved vdsm section in /etc/sysctl.conf to /etc/sysctl.d/vdsm.
3483c14
# So Remove them if it is played with /etc/sysctl.conf.
3483c14
if grep -q "# VDSM section begin" /etc/sysctl.conf; then
3483c14
    /bin/sed -i '/# VDSM section begin/,/# VDSM section end/d' \
3483c14
        /etc/sysctl.conf
d308462
fi
d308462
3483c14
# Make the /etc/sysctl.d/vdsm take effect immediately after installation.
3483c14
/sbin/sysctl -q -p /etc/sysctl.d/vdsm
d308462
04c0657
%if 0%{?rhel}
04c0657
if [ "$1" -eq 1 ] ; then
04c0657
    /sbin/chkconfig --add vdsmd
04c0657
fi
04c0657
%else
205ef3f
%if 0%{?with_systemd_macros}
205ef3f
%systemd_post vdsmd.service
205ef3f
%else
04c0657
if [ "$1" -eq 1 ] ; then
04c0657
    /bin/systemctl enable vdsmd.service >/dev/null 2>&1 || :
04c0657
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
04c0657
fi
04c0657
exit 0
04c0657
%endif
205ef3f
%endif
04c0657
04c0657
%preun
205ef3f
if [ "$1" -eq 0 ]; then
205ef3f
        start_conf_section="## beginning of configuration section by vdsm"
205ef3f
        end_conf_section="## end of configuration section by vdsm"
205ef3f
        by_vdsm="by vdsm"
205ef3f
205ef3f
        /bin/sed -i -e "/${start_conf_section}/,/${end_conf_section}/d" \
205ef3f
                    -e "/${by_vdsm}/d" \
205ef3f
               %{_sysconfdir}/libvirt/libvirtd.conf \
205ef3f
               %{_sysconfdir}/libvirt/qemu.conf \
205ef3f
               %{_sysconfdir}/sysconfig/libvirtd \
205ef3f
               %{_sysconfdir}/sysctl.conf \
205ef3f
               %{_sysconfdir}/libvirt/qemu-sanlock.conf
205ef3f
fi
205ef3f
04c0657
%if 0%{?rhel}
04c0657
if [ "$1" -eq 0 ]
04c0657
then
04c0657
    /sbin/service vdsmd stop > /dev/null 2>&1 || :
04c0657
    /sbin/chkconfig --del vdsmd
04c0657
04c0657
    /bin/sed -i '/# VDSM section begin/,/# VDSM section end/d' \
04c0657
        /etc/sysctl.conf
04c0657
6791742
    %{_bindir}/vdsm-tool sebool-unconfig || :
04c0657
3483c14
    /usr/sbin/saslpasswd2 -p -a libvirt -d vdsm@ovirt
04c0657
04c0657
    if /sbin/initctl status libvirtd >/dev/null 2>/dev/null ; then
04c0657
        /sbin/initctl stop libvirtd  >/dev/null 2>/dev/null
04c0657
        rm -f /etc/init/libvirtd.conf
04c0657
04c0657
        /sbin/chkconfig libvirtd on
04c0657
        /sbin/service libvirtd start >/dev/null
04c0657
    fi
04c0657
fi
04c0657
%else
205ef3f
%if 0%{?with_systemd_macros}
205ef3f
%systemd_preun vdsmd.service
205ef3f
%else
04c0657
if [ "$1" -eq 0 ]; then
04c0657
    /bin/systemctl --no-reload disable vdsmd.service > /dev/null 2>&1 || :
04c0657
    /bin/systemctl stop vdsmd.service > /dev/null 2>&1 || :
04c0657
fi
04c0657
exit 0
04c0657
%endif
205ef3f
%endif
04c0657
04c0657
%postun
04c0657
%if 0%{?rhel}
04c0657
if [ "$1" -ge 1 ]; then
04c0657
    /sbin/service vdsmd condrestart > /dev/null 2>&1
04c0657
fi
04c0657
exit 0
04c0657
%else
205ef3f
%if 0%{?with_systemd_macros}
205ef3f
%systemd_postun_with_restart vdsmd.service
205ef3f
%else
04c0657
if [ "$1" -ge 1 ] ; then
04c0657
    /bin/systemctl try-restart vdsmd.service >/dev/null 2>&1 || :
04c0657
fi
04c0657
exit 0
04c0657
%endif
205ef3f
%endif
04c0657
04c0657
%if 0%{?rhel}
04c0657
%triggerun -- libvirt
04c0657
if [ "$2" -eq "0" ]; then
04c0657
    /sbin/initctl stop libvirtd > /dev/null 2>&1 || :
04c0657
fi
04c0657
04c0657
%triggerpostun -- libvirt
04c0657
if [ "$2" -ge "1" ]; then
04c0657
    /sbin/initctl restart libvirtd > /dev/null 2>&1 || :
04c0657
fi
04c0657
%endif
04c0657
04c0657
%post reg
04c0657
%if 0%{?rhel}
04c0657
if [ "$1" -eq 1 ] ; then
04c0657
    /sbin/chkconfig --add vdsm-reg
04c0657
fi
04c0657
%else
205ef3f
%if 0%{?with_systemd_macros}
205ef3f
%systemd_post vdsm-reg.service
205ef3f
%else
04c0657
if [ "$1" -eq 1 ] ; then
3483c14
    /bin/systemctl enable vdsm-reg.service >/dev/null 2>&1 || :
04c0657
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
04c0657
fi
04c0657
exit 0
04c0657
%endif
205ef3f
%endif
04c0657
04c0657
%preun reg
04c0657
%if 0%{?rhel}
04c0657
if [ "$1" -eq 0 ]
04c0657
then
04c0657
    /sbin/service vdsm-reg stop > /dev/null 2>&1 || :
04c0657
    /sbin/chkconfig --del vdsm-reg
04c0657
fi
04c0657
%else
205ef3f
%if 0%{?with_systemd_macros}
205ef3f
%systemd_preun vdsm-reg.service
205ef3f
%else
04c0657
if [ "$1" -eq 0 ]; then
3483c14
    /bin/systemctl --no-reload disable vdsm-reg.service > /dev/null 2>&1 || :
3483c14
    /bin/systemctl stop vdsm-reg.service > /dev/null 2>&1 || :
04c0657
fi
04c0657
exit 0
04c0657
%endif
205ef3f
%endif
04c0657
04c0657
%files
04c0657
%defattr(-, root, root, -)
83d581e
%doc COPYING README vdsm/vdsm.conf.sample
205ef3f
%if 0%{?with_systemd}
04c0657
/lib/systemd/systemd-vdsmd
04c0657
%{_unitdir}/vdsmd.service
205ef3f
%else
205ef3f
%{_initrddir}/vdsmd
04c0657
%endif
205ef3f
83b9f8f
%dir %attr(-, %{vdsm_user}, %{vdsm_group}) /rhev/data-center
d308462
%ghost %dir %attr(-, %{vdsm_user}, %{vdsm_group}) /rhev/data-center/hsm-tasks
d308462
%ghost %dir %attr(-, %{vdsm_user}, %{vdsm_group}) /rhev/data-center/mnt
04c0657
%dir %{_libexecdir}/%{vdsm_name}
04c0657
%dir %{_datadir}/%{vdsm_name}
04c0657
%dir %{_datadir}/%{vdsm_name}/storage
3483c14
%dir %{_datadir}/%{vdsm_name}/storage/imageRepository
d308462
%{_datadir}/%{vdsm_name}/alignmentScan.py*
d308462
%{_datadir}/%{vdsm_name}/blkid.py*
04c0657
%{_datadir}/%{vdsm_name}/caps.py*
1134cd7
%{_datadir}/%{vdsm_name}/clientIF.py*
6791742
%{_datadir}/%{vdsm_name}/dmidecodeUtil.py*
d308462
%{_datadir}/%{vdsm_name}/API.py*
04c0657
%{_datadir}/%{vdsm_name}/hooking.py*
1134cd7
%{_datadir}/%{vdsm_name}/hooks.py*
1134cd7
%{_datadir}/%{vdsm_name}/libvirtvm.py*
d308462
%{_datadir}/%{vdsm_name}/lsblk.py*
d308462
%{_datadir}/%{vdsm_name}/md_utils.py*
1134cd7
%{_datadir}/%{vdsm_name}/mk_sysprep_floppy
d308462
%{_datadir}/%{vdsm_name}/parted_utils.py*
d308462
%{_datadir}/%{vdsm_name}/mkimage.py*
1134cd7
%{_datadir}/%{vdsm_name}/supervdsm.py*
1134cd7
%{_datadir}/%{vdsm_name}/supervdsmServer.py*
d308462
%{_datadir}/%{vdsm_name}/vmChannels.py*
d308462
%{_datadir}/%{vdsm_name}/tc.py*
04c0657
%{_datadir}/%{vdsm_name}/vdsm
04c0657
%{_datadir}/%{vdsm_name}/vdsm-restore-net-config
04c0657
%{_datadir}/%{vdsm_name}/vdsm-store-net-config
1134cd7
%{_datadir}/%{vdsm_name}/vm.py*
04c0657
%{_datadir}/%{vdsm_name}/write-net-config
e18cab9
%{_datadir}/%{vdsm_name}/zombieReaper.py*
e18cab9
%attr (755,vdsm,kvm) %{_datadir}/%{vdsm_name}/dummybr.py*
3483c14
%attr (755,vdsm,kvm) %{_datadir}/%{vdsm_name}/nwfilter.py*
04c0657
%config(noreplace) %{_sysconfdir}/%{vdsm_name}/logger.conf
205ef3f
%config(noreplace) %{_sysconfdir}/%{vdsm_name}/svdsm.logger.conf
3483c14
%config(noreplace) %{_sysconfdir}/%{vdsm_name}/mom.conf
3483c14
%config(noreplace) %{_sysconfdir}/%{vdsm_name}/mom.policy
04c0657
%config(noreplace) %{_sysconfdir}/logrotate.d/vdsm
04c0657
%config(noreplace) %{_sysconfdir}/rwtab.d/vdsm
3483c14
%config(noreplace) %{_sysconfdir}/sysctl.d/vdsm
04c0657
%{_sysconfdir}/sudoers.d/50_vdsm
04c0657
%{_sysconfdir}/cron.hourly/vdsm-logrotate
04c0657
%{_sysconfdir}/cron.d/vdsm-libvirt-logrotate
04c0657
%{_datadir}/%{vdsm_name}/guestIF.py*
04c0657
%{_datadir}/%{vdsm_name}/logUtils.py*
04c0657
%{_datadir}/%{vdsm_name}/dsaversion.py*
04c0657
%{_libexecdir}/%{vdsm_name}/persist-vdsm-hooks
04c0657
%{_libexecdir}/%{vdsm_name}/unpersist-vdsm-hook
6239658
%{_libexecdir}/%{vdsm_name}/ovirt_functions.sh
d308462
%{_libexecdir}/%{vdsm_name}/vdsm-gencerts.sh
04c0657
%{_datadir}/%{vdsm_name}/storage/__init__.py*
6239658
%{_datadir}/%{vdsm_name}/storage/blockSD.py*
6239658
%{_datadir}/%{vdsm_name}/storage/blockVolume.py*
6239658
%{_datadir}/%{vdsm_name}/storage/devicemapper.py*
04c0657
%{_datadir}/%{vdsm_name}/storage/dispatcher.py*
6239658
%{_datadir}/%{vdsm_name}/storage/domainMonitor.py*
6239658
%{_datadir}/%{vdsm_name}/storage/fileSD.py*
6239658
%{_datadir}/%{vdsm_name}/storage/fileUtils.py*
6239658
%{_datadir}/%{vdsm_name}/storage/fileVolume.py*
6239658
%{_datadir}/%{vdsm_name}/storage/fuser.py*
04c0657
%{_datadir}/%{vdsm_name}/storage/hba.py*
6239658
%{_datadir}/%{vdsm_name}/storage/hsm.py*
04c0657
%{_datadir}/%{vdsm_name}/storage/image.py*
d308462
%{_datadir}/%{vdsm_name}/storage/iscsiadm.py*
6239658
%{_datadir}/%{vdsm_name}/storage/iscsi.py*
04c0657
%{_datadir}/%{vdsm_name}/storage/localFsSD.py*
04c0657
%{_datadir}/%{vdsm_name}/storage/lvm.py*
6239658
%{_datadir}/%{vdsm_name}/storage/misc.py*
6239658
%{_datadir}/%{vdsm_name}/storage/mount.py*
6239658
%{_datadir}/%{vdsm_name}/storage/multipath.py*
6239658
%{_datadir}/%{vdsm_name}/storage/nfsSD.py*
04c0657
%{_datadir}/%{vdsm_name}/storage/outOfProcess.py*
6239658
%{_datadir}/%{vdsm_name}/storage/persistentDict.py*
6239658
%{_datadir}/%{vdsm_name}/storage/resourceFactories.py*
3483c14
%{_datadir}/%{vdsm_name}/storage/remoteFileHandler.py*
6239658
%{_datadir}/%{vdsm_name}/storage/resourceManager.py*
83d581e
%{_datadir}/%{vdsm_name}/storage/clusterlock.py*
04c0657
%{_datadir}/%{vdsm_name}/storage/sdc.py*
6239658
%{_datadir}/%{vdsm_name}/storage/sd.py*
6239658
%{_datadir}/%{vdsm_name}/storage/securable.py*
6239658
%{_datadir}/%{vdsm_name}/storage/sp.py*
6239658
%{_datadir}/%{vdsm_name}/storage/storageConstants.py*
6239658
%{_datadir}/%{vdsm_name}/storage/storage_exception.py*
6239658
%{_datadir}/%{vdsm_name}/storage/storage_mailbox.py*
d308462
%{_datadir}/%{vdsm_name}/storage/storageServer.py*
d308462
%{_datadir}/%{vdsm_name}/storage/sync.py*
6239658
%{_datadir}/%{vdsm_name}/storage/taskManager.py*
6239658
%{_datadir}/%{vdsm_name}/storage/task.py*
6239658
%{_datadir}/%{vdsm_name}/storage/threadLocal.py*
6239658
%{_datadir}/%{vdsm_name}/storage/threadPool.py*
6239658
%{_datadir}/%{vdsm_name}/storage/volume.py*
3483c14
%{_datadir}/%{vdsm_name}/storage/imageRepository/__init__.py*
3483c14
%{_datadir}/%{vdsm_name}/storage/imageRepository/formatConverter.py*
04c0657
%{_libexecdir}/%{vdsm_name}/safelease
04c0657
%{_libexecdir}/%{vdsm_name}/spmprotect.sh
04c0657
%{_libexecdir}/%{vdsm_name}/spmstop.sh
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_start
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_start
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_cont
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_cont
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_pause
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_pause
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_hibernate
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_hibernate
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_dehibernate
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_dehibernate
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_source
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_migrate_source
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_destination
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_migrate_destination
d308462
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_destroy
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_destroy
d308462
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vm_set_ticket
d308462
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vm_set_ticket
e18cab9
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_nic_hotplug
e18cab9
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_nic_hotplug
e18cab9
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_nic_hotunplug
e18cab9
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_nic_hotunplug
e18cab9
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_nic_hotplug_fail
e18cab9
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_nic_hotunplug_fail
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/before_vdsm_start
04c0657
%dir %{_libexecdir}/%{vdsm_name}/hooks/after_vdsm_stop
04c0657
%{_datadir}/%{vdsm_name}/addNetwork
3483c14
%{_datadir}/%{vdsm_name}/configNetwork.py*
04c0657
%{_datadir}/%{vdsm_name}/delNetwork
3483c14
%{_datadir}/%{vdsm_name}/dumpStorageTable.py*
04c0657
%{_datadir}/%{vdsm_name}/get-conf-item
04c0657
%{_datadir}/%{vdsm_name}/kaxmlrpclib.py*
04c0657
%{_datadir}/%{vdsm_name}/ksm.py*
3483c14
%{_datadir}/%{vdsm_name}/momIF.py*
04c0657
%{_datadir}/%{vdsm_name}/neterrors.py*
3483c14
%{_datadir}/%{vdsm_name}/respawn
3483c14
%{_datadir}/%{vdsm_name}/set-conf-item
04c0657
%{python_sitelib}/sos/plugins/vdsm.py*
d308462
/lib/udev/rules.d/12-vdsm-lvm.rules
d308462
/etc/security/limits.d/99-vdsm.conf
04c0657
%{_mandir}/man8/vdsmd.8*
04c0657
%if 0%{?rhel}
04c0657
%dir %{_localstatedir}/log/core
04c0657
%else
3483c14
%if 0%{?fedora} >= 18
3483c14
%{_polkitdir}/10-vdsm-libvirt-access.rules
3483c14
%else
04c0657
%{_polkitdir}/10-vdsm-libvirt-access.pkla
04c0657
%endif
3483c14
%endif
04c0657
04c0657
%defattr(-, %{vdsm_user}, %{qemu_group}, -)
04c0657
%dir %{_localstatedir}/lib/libvirt/qemu/channels
04c0657
04c0657
%defattr(-, %{vdsm_user}, %{vdsm_group}, -)
04c0657
%dir %{_sysconfdir}/pki/%{vdsm_name}
04c0657
%dir %{_sysconfdir}/pki/%{vdsm_name}/keys
04c0657
%dir %{_sysconfdir}/pki/%{vdsm_name}/certs
04c0657
%config(noreplace) %{_sysconfdir}/pki/%{vdsm_name}/keys/libvirt_password
04c0657
%dir %{_localstatedir}/lib/%{vdsm_name}
04c0657
%dir %{_localstatedir}/lib/%{vdsm_name}/netconfback
04c0657
%ghost %dir %{_localstatedir}/run/%{vdsm_name}
04c0657
%ghost %dir %{_localstatedir}/run/%{vdsm_name}/pools
d308462
%ghost %dir %{_localstatedir}/run/%{vdsm_name}/payload
04c0657
%dir %{_localstatedir}/log/%{vdsm_name}
04c0657
%dir %{_localstatedir}/log/%{vdsm_name}/backup
04c0657
d308462
%files python
d308462
%defattr(-, root, root, -)
d308462
%{_bindir}/vdsm-tool
d308462
%if !0%{?rhel}
d308462
%config(noreplace) %{_sysconfdir}/%{vdsm_name}/vdsm.conf
d308462
%endif
3483c14
%{python_sitearch}/%{vdsm_name}/__init__.py*
3483c14
%{python_sitearch}/%{vdsm_name}/config.py*
3483c14
%{python_sitearch}/%{vdsm_name}/constants.py*
3483c14
%{python_sitearch}/%{vdsm_name}/define.py*
3483c14
%{python_sitearch}/%{vdsm_name}/exception.py*
3483c14
%{python_sitearch}/%{vdsm_name}/libvirtconnection.py*
3483c14
%{python_sitearch}/%{vdsm_name}/netinfo.py*
3483c14
%{python_sitearch}/%{vdsm_name}/qemuImg.py*
3483c14
%{python_sitearch}/%{vdsm_name}/SecureXMLRPCServer.py*
3483c14
%{python_sitearch}/%{vdsm_name}/utils.py*
3483c14
%{python_sitearch}/%{vdsm_name}/vdscli.py*
3483c14
%{python_sitearch}/%{vdsm_name}/betterPopen/__init__.py*
3483c14
%{python_sitearch}/%{vdsm_name}/betterPopen/createprocess.so
3483c14
%{python_sitearch}/%{vdsm_name}/tool/__init__.py*
e18cab9
%{python_sitearch}/%{vdsm_name}/tool/load_needed_modules.py*
3483c14
%{python_sitearch}/%{vdsm_name}/tool/passwd.py*
e18cab9
%{python_sitearch}/%{vdsm_name}/tool/seboolsetup.py*
3483c14
%{python_sitearch}/%{vdsm_name}/tool/validate_ovirt_certs.py*
d308462
d308462
%files tests
d308462
%doc %{_datadir}/%{vdsm_name}/tests/README
d308462
%defattr(-, root, root, -)
d308462
%{_datadir}/%{vdsm_name}/tests/*.py*
d308462
%{_datadir}/%{vdsm_name}/tests/cpu_info.out
3483c14
%{_datadir}/%{vdsm_name}/tests/caps_libvirt.out
3483c14
%{_datadir}/%{vdsm_name}/tests/glob_1c60971a-8647-44ac-ae33-6520887f8843.out
3483c14
%{_datadir}/%{vdsm_name}/tests/lvs_3386c6f2-926f-42c4-839c-38287fac8998.out
d308462
%{_datadir}/%{vdsm_name}/tests/netmaskconversions
3483c14
%{_datadir}/%{vdsm_name}/tests/run_tests.sh
3483c14
%{_datadir}/%{vdsm_name}/tests/route_info.out
3483c14
%{_datadir}/%{vdsm_name}/tests/tc_filter_show.out
fe637cd
%if 0%{?with_gluster}
e18cab9
%{_datadir}/%{vdsm_name}/tests/glusterVolumeProfileInfo.xml
e18cab9
%{_datadir}/%{vdsm_name}/tests/glusterVolumeProfileInfoNfs.xml
fe637cd
%else
fe637cd
%exclude %{_datadir}/%{vdsm_name}/tests/gluster*
fe637cd
%endif
d308462
%{_datadir}/%{vdsm_name}/tests/functional/*.py*
d308462
04c0657
%files hook-vhostmd
04c0657
%defattr(-, root, root, -)
04c0657
%doc COPYING
04c0657
%{_sysconfdir}/sudoers.d/50_vdsm_hook_vhostmd
04c0657
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_vhostmd
04c0657
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_destination/50_vhostmd
04c0657
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_dehibernate/50_vhostmd
04c0657
%{_libexecdir}/%{vdsm_name}/hooks/after_vm_destroy/50_vhostmd
04c0657
3483c14
%files hook-qemucmdline
3483c14
%defattr(-, root, root, -)
3483c14
%doc COPYING
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_qemucmdline
3483c14
04c0657
%if 0%{?with_hooks}
04c0657
%files hook-directlun
3483c14
%defattr(-, root, root, -)
3483c14
%{_sysconfdir}/sudoers.d/50_vdsm_hook_directlun
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_directlun
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/after_vm_destroy/50_directlun
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_destination/50_directlun
04c0657
04c0657
%files hook-fileinject
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_fileinject
04c0657
04c0657
%files hook-floppy
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_floppy
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_source/50_floppy
04c0657
04c0657
%files hook-hostusb
3483c14
%defattr(-, root, root, -)
3483c14
%{_sysconfdir}/sudoers.d/50_vdsm_hook_hostusb
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_hostusb
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_source/50_hostusb
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/after_vm_destroy/50_hostusb
04c0657
04c0657
%files hook-hugepages
3483c14
%defattr(-, root, root, -)
3483c14
%{_sysconfdir}/sudoers.d/50_vdsm_hook_hugepages
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_hugepages
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_destination/50_hugepages
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/after_vm_destroy/50_hugepages
04c0657
04c0657
%files hook-isolatedprivatevlan
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_isolatedprivatevlan
04c0657
%config(noreplace) %{_sysconfdir}/libvirt/nwfilter/isolatedprivatevlan-vdsm.xml
04c0657
e18cab9
%files hook-nestedvt
e18cab9
%defattr(-, root, root, -)
e18cab9
%{_sysconfdir}/modprobe.d/vdsm-nestedvt.conf
e18cab9
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_nestedvt
e18cab9
04c0657
%files hook-numa
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_numa
04c0657
04c0657
%files hook-pincpu
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_pincpu
04c0657
04c0657
%files hook-promisc
3483c14
%defattr(-, root, root, -)
3483c14
%{_sysconfdir}/sudoers.d/50_vdsm_hook_promisc
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/after_vm_start/50_promisc
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_destroy/50_promisc
04c0657
04c0657
%files hook-qos
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_qos
04c0657
04c0657
%files hook-scratchpad
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_scratchpad
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_source/50_scratchpad
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/after_vm_destroy/50_scratchpad
04c0657
04c0657
%files hook-smbios
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_smbios
04c0657
04c0657
%files hook-sriov
3483c14
%defattr(-, root, root, -)
3483c14
%{_sysconfdir}/sudoers.d/50_vdsm_hook_sriov
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_sriov
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/after_vm_destroy/50_sriov
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_source/50_sriov
04c0657
04c0657
%files hook-vmdisk
3483c14
%defattr(-, root, root, -)
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_vmdisk
e18cab9
e18cab9
%files hook-vmfex
e18cab9
%defattr(-, root, root, -)
e18cab9
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_migrate_destination/50_vmfex
e18cab9
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_vmfex
04c0657
%endif
04c0657
04c0657
%files debug-plugin
04c0657
%defattr(-, root, root, -)
04c0657
%{_datadir}/%{vdsm_name}/vdsmDebugPlugin.py*
d308462
%{_datadir}/%{vdsm_name}/debugPluginClient.py*
04c0657
04c0657
%files cli
04c0657
%defattr(-, root, root, -)
04c0657
%doc COPYING
04c0657
%{_bindir}/vdsClient
04c0657
%{_datadir}/%{vdsm_name}/vdsClient.py*
d308462
%{_datadir}/%{vdsm_name}/vdsClientGluster.py*
04c0657
%{_sysconfdir}/bash_completion.d/vdsClient
04c0657
%{_mandir}/man1/vdsClient.1*
04c0657
d308462
%files xmlrpc
d308462
%defattr(-, root, root, -)
d308462
%{_datadir}/%{vdsm_name}/BindingXMLRPC.py*
d308462
e18cab9
%files jsonrpc
e18cab9
%{_datadir}/%{vdsm_name}/BindingJsonRpc.py*
e18cab9
%{_datadir}/%{vdsm_name}/Bridge.py*
e18cab9
%{_datadir}/%{vdsm_name}/vdsmapi.py*
e18cab9
%{_datadir}/%{vdsm_name}/vdsmapi-schema.json
d308462
04c0657
%files bootstrap
04c0657
%defattr(-, root, root, -)
04c0657
%doc COPYING
3483c14
%{_datadir}/%{vdsm_bootstrap}
04c0657
04c0657
%files reg
04c0657
%defattr(-, root, root, -)
04c0657
%doc COPYING
04c0657
%dir %{_sysconfdir}/%{vdsm_reg}
04c0657
%dir %{_datadir}/%{vdsm_reg}
04c0657
%config(noreplace) %{_sysconfdir}/logrotate.d/vdsm-reg
04c0657
%config(noreplace) %{_sysconfdir}/%{vdsm_reg}/vdsm-reg.conf
04c0657
%config(noreplace) %{_sysconfdir}/%{vdsm_reg}/logger.conf
d308462
%ghost %dir /data
d308462
%ghost %dir %attr(0775, root, root) /data/updates
205ef3f
%if 0%{?with_systemd}
04c0657
/lib/systemd/systemd-vdsm-reg
04c0657
%{_unitdir}/vdsm-reg.service
205ef3f
%else
205ef3f
%{_initrddir}/vdsm-reg
04c0657
%endif
04c0657
%{_datadir}/%{vdsm_reg}/vdsm-reg-setup
04c0657
%{_datadir}/%{vdsm_reg}/vdsm-complete
04c0657
%{_datadir}/%{vdsm_reg}/vdsm-gen-cert
04c0657
%{_datadir}/%{vdsm_reg}/vdsm-upgrade
04c0657
%{_datadir}/%{vdsm_reg}/config.py*
04c0657
%{_datadir}/%{vdsm_reg}/deployUtil.py*
d308462
%attr(0755, -, -) %{_datadir}/%{vdsm_reg}/register-to-engine.py*
04c0657
%{_datadir}/%{vdsm_reg}/createDaemon.py*
6239658
%{python_sitelib}/ovirt_config_setup/engine.py*
04c0657
%{_datadir}/%{vdsm_reg}/save-config
04c0657
%{_sysconfdir}/ovirt-config-boot.d/vdsm-config
04c0657
%{_sysconfdir}/ovirt-commandline.d/vdsm-reg
04c0657
%{_sysconfdir}/cron.hourly/vdsm-reg-logrotate
04c0657
%{_mandir}/man8/vdsm-reg.8*
04c0657
04c0657
%defattr(-, %{vdsm_user}, %{vdsm_group},-)
04c0657
%dir %{_var}/log/%{vdsm_reg}
04c0657
04c0657
%files hook-faqemu
04c0657
%defattr(-, root, root, -)
04c0657
%doc COPYING
04c0657
%{_libexecdir}/%{vdsm_name}/vdsm-faqemu
3483c14
%{_libexecdir}/%{vdsm_name}/hooks/after_vdsm_stop/10_faqemu
04c0657
%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/10_faqemu
04c0657
fe637cd
%if 0%{?with_gluster}
d308462
%files gluster
d308462
%defattr(-, root, root, -)
d308462
%dir %{_datadir}/%{vdsm_name}/gluster
d308462
%doc COPYING
83d581e
%{_datadir}/%{vdsm_name}/gluster/__init__.py*
d308462
%{_datadir}/%{vdsm_name}/gluster/api.py*
83d581e
%{_datadir}/%{vdsm_name}/gluster/cli.py*
83d581e
%{_datadir}/%{vdsm_name}/gluster/exception.py*
83d581e
%{_datadir}/%{vdsm_name}/gluster/hostname.py*
fe637cd
%else
fe637cd
%exclude %{_datadir}/%{vdsm_name}/gluster/*
fe637cd
%endif
d308462
205ef3f
04c0657
%changelog
205ef3f
* Tue Apr 23 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-16
205ef3f
- Don't user sudo in fuser
205ef3f
- svdsm: fix fuser import in supervdsmServer
205ef3f
- Removing vdsm configuration when removing vdsm service
205ef3f
- Seperating supervdsm log to supervdsm.log file
205ef3f
- vdsm.spec: Adding with_systemd macro
205ef3f
- spec: use the fedora systemd macros
205ef3f
- spec: enable gluster upstream and on fedora 19
205ef3f
e80a7f2
* Tue Apr  9 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-15
e80a7f2
- fix the patches backported to ovirt-3.2
e80a7f2
- resync the fedora spec file with the upstream one
e80a7f2
7fe9c50
* Mon Apr  8 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-14
7fe9c50
- fix storage.fuser
7fe9c50
- Bump up libvirt version to fix network linking.
7fe9c50
fe637cd
* Wed Apr 3 2013 Douglas Schilling Landgraf <dougsland@redhat.com> 4.10.3-13
fe637cd
- Temporarily deactivate Gluster sub-package.
fe637cd
b68c53f
* Mon Mar 26 2013 Douglas Schilling Landgraf <dougsland@redhat.com> 4.10.3-12
b68c53f
- Applying direct to spec the fence-agents changes and removing the patch.
b68c53f
83d581e
* Mon Mar 25 2013 Douglas Schilling Landgraf <dougsland@redhat.com> 4.10.3-11
83d581e
- adapt vdsm.spec to new fence-agents package name.
83d581e
83d581e
* Thu Mar 14 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-10
83d581e
- gluster: Handling Attribute error in Python 2.6
83d581e
- bootstrap: remove glusterfs packages
83d581e
- gluster: set glusterfs dependency version
83d581e
- Do not delete the template when zeroing a dependant
83d581e
83d581e
* Wed Feb 27 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-9
83d581e
- packaging: add load_needed_modules.py.in
83d581e
- tool: _enable_bond_dev: reopen bonding_masters per bond
83d581e
83d581e
* Tue Feb 19 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-8
83d581e
- configNet: allow delete/update of devices with no ifcfg (#906383)
83d581e
- Requires policycoreutils-2.1.13-55 to avoid another
83d581e
- After fail to connect to supervdsm more than 3 time
83d581e
83d581e
* Thu Feb 14 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-7
83d581e
- Fedora 18: require a newer udev (applied properly to the fedora specfile)
83d581e
83d581e
* Wed Jan 30 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-6
83d581e
- Explicitly shutdown  m2crypto socket
83d581e
- spec: require policycoreutils and skip sebool errors
83d581e
- spec: requires selinux-policy to avoid selinux failure
83d581e
- vdsmd.service: require either ntpd or chronyd
83d581e
- isRunning didn't check local variable before reading
83d581e
- udev: Race fix- load and trigger dev rule (#891300)
83d581e
- Change scsi_id command path to be configured at runtime (#886087)
83d581e
- upgrade: force upgrade to v2 before upgrading to v3 (#893184)
83d581e
- misc: rename safelease to clusterlock
83d581e
- domain: select the cluster lock using makeClusterLock
83d581e
- clusterlock: add the local locking implementation (#877715)
83d581e
- upgrade: catch MetaDataKeyNotFoundError when preparing
83d581e
- vdsm.spec: Require openssl (#905728)
83d581e
- Fedora 18: require a newer udev
83d581e
- fix sloppy backport of safelease rename
83d581e
- removing the use of zombie reaper from supervdsm
83d581e
83d581e
* Fri Jan 18 2013 Douglas Schilling Landgraf <dougsland@redhat.com> 4.10.3-5
83d581e
- Searching for both py and pyc file to start super vdsm
83d581e
- adding getHardwareInfo API to vdsm
83d581e
83d581e
* Tue Jan 15 2013 Douglas Schilling Landgraf <dougsland@redhat.com> 4.10.3-4
83d581e
- python-ordereddict only for rhel more then 7
83d581e
- dont require python ordereddict on fedora
83d581e
- BuildRequires python-pthreading
6791742
c702136
* Wed Jan 02 2013 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-3
c702136
- caps.py: osversion() validate OVIRT
c702136
- restarting libvirtd didn't work over allinone setup
c702136
- Integrate Smartcard support
c702136
c702136
* Thu Dec 27 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-2
c702136
- api: Report CPU thread info in getVdsCapabilities
c702136
- schema: Missing comment for new VmDeviceType
c702136
- schema: Fix schema for VM.updateDevice
c702136
e18cab9
* Wed Dec 12 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.3-1
e18cab9
- vdsm-4.10.3
e18cab9
5cdc942
* Mon Nov 5 2012 Douglas Schilling Landgraf <dougsland@redhat.com> 4.10.1-100.gf2f6683
5cdc942
- vdsm-4.10.1-100-gf2f6683
5cdc942
3483c14
* Wed Oct 31 2012 Douglas Schilling Landgraf <dougsland@redhat.com> 4.10.1-1
3483c14
- vdsm-4.10.1
3483c14
- merged vdsm.spec from f17 with last upstream vdsm.spec
3483c14
3483c14
* Wed Oct 24 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-12
3483c14
- configure selinux for sanlock on nfs
3483c14
2ca4079
* Sat Oct 20 2012 Peter Robinson <pbrobinson@fedoraproject.org> 4.10.0-11
2ca4079
- Merge F17 changes into F18+ and disable make check due to pep8 issues
2ca4079
- Add pyparted dependency
2ca4079
2ca4079
* Thu Oct  4 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-10
53d7f88
- BZ#845660 Use buffer size in multiplies of the recommended transfer size
53d7f88
2ca4079
* Mon Sep 24 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-9
6368f7b
- BZ#845660 Use the recommended alignment instead of using pagesize
6368f7b
2ca4079
* Tue Sep 11 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-8
439e9e8
- add the autotools support
439e9e8
2ca4079
* Fri Aug 17 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-7
439e9e8
- enable all the vdsm hooks
439e9e8
2ca4079
* Wed Aug  1 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-6
9240b56
- BZ#842948: deployUtil - safely remove bridge
9240b56
2ca4079
* Tue Jul 17 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-5
6581ca8
- configNet: atomicBackup: remove new files upon restore
6581ca8
- configNet: clear up atomicBackup arg
6581ca8
- Remove redundant 'explicitBonding' parameter from setupNetworks
6581ca8
- BZ#837054 - Do not detach network from the bond during bond resize
6581ca8
- BZ#836954 - Allow to break bond and create a new network on its interface in single action.
6581ca8
- BZ#837443: remove bridge before add VDSM bridge
6581ca8
- BZ#837443: removeVlan() drop/remove interface
6581ca8
- configNetwork: fix NetInfo call
6581ca8
- BZ#837443: replace the netinfo import
6581ca8
- BZ#837443: removeBridge() drop/remove interface
6581ca8
- ovirt_functions: fix elif statement
6581ca8
- BZ#838097 _addNetworkValidation: do not explode if STP/DNS1 option passed
6581ca8
- BZ#832199: move selinux from init to spec
6581ca8
- bump libvirt version to fix readonly lease unsupported issue
6581ca8
2ca4079
* Fri Jun 29 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-4
2728a14
- deployUtil: use os.uname instead of /bin/uname
2728a14
- deployUtil: slightly saner kernel version comparison
2728a14
- BZ#835784 - Allow to create a network on top of existing bond in additional
2728a14
  to create a new bond and network
2728a14
- BZ#833119 - Allow to create VLANed network on top of existing bond
2728a14
- BZ#833803 - Avoid bond breaking after network detach
2728a14
- Handle bond properly if connectivity check fail.
2728a14
- BZ#806555 having /etc/ovirt-node-* means it is a node
2728a14
2ca4079
* Tue Jun 26 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-3
83b9f8f
- BZ#832577: node can't be approved
83b9f8f
- BZ#824298 fix typo in keyword argument exc_info
83b9f8f
2ca4079
* Wed Jun 20 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-2
2901aaa
- deployUtil.yumFind: rename and simplify semantics
2901aaa
- drop deployUtil.yumSearch
2901aaa
- deployUtil.yumSearchVersion: compare versions sanely
2901aaa
- Iterates over delete candidates networks only once
2901aaa
- 'options' translation in setupNetworks is not relevant
2901aaa
- Minor optimization for delNetwork
2901aaa
- Don't ignore bridgeless networks in ifaceUsers
2901aaa
- Minor optimization for addNetwork
2901aaa
- Use already known iface in addNetwork
2901aaa
- Use proper MTU on bonding when add network
2901aaa
- Add bridge on top of VLAN if exists
2901aaa
- BZ#830485 - Add netConfigDirty bit to getVdsCaps report
2901aaa
- remove flag skipLibvirt
2901aaa
- BZ#826873 - Allow to change bond without network attached to it
2901aaa
- BZ#830486 - Allow to change network according the diffs from previous state
2901aaa
- BZ#826467 - Allow to remove bond and attach network to NIC
2901aaa
- Related to BZ#826873 - Allow to create bond without network
2901aaa
2ca4079
* Mon Jun 11 2012 Federico Simoncelli <fsimonce@redhat.com> 4.10.0-1
f91fe8c
- vdsm-4.10.0
f91fe8c
2ca4079
* Mon Jun  4 2012 Federico Simoncelli <fsimonce@redhat.com> 4.9.6-2.gite952471
2f81350
- BZ#822158 Report version-release in a short format
2f81350
2ca4079
* Mon Jun  4 2012 Federico Simoncelli <fsimonce@redhat.com> 4.9.6-1.gite952471
6f40b18
- vdsm-4.9.6-ge952471
6f40b18
2ca4079
* Mon May 28 2012 Federico Simoncelli <fsimonce@redhat.com> 4.9.6-0.git1b07249
d308462
- vdsm-4.9.6-g1b07249
d308462
2ca4079
* Tue Feb 28 2012 Dan Kenigsberg <danken@redhat.com> - 4.9.4-0.gb3642e5
Dan Kenigsberg 1fdb6bc
- vdsm-4.9.4-0.gb3642e5
Dan Kenigsberg 1fdb6bc
2ca4079
* Wed Jan 25 2012 Dan Kenigsberg <danken@redhat.com> - 4.9.3.2-0
Dan Kenigsberg c9230ef
- vdsm-4.9.3.2
Dan Kenigsberg c9230ef
- Reverts "BZ#773666 - Fix HSM flows should not change rw permissions."
Dan Kenigsberg c9230ef
2ca4079
* Mon Jan 16 2012 Federico Simoncelli <fsimonce@redhat.com> - 4.9.3.1-0
1134cd7
- vdsm-4.9.3.1
1134cd7
2ca4079
* Fri Jan 13 2012 Dan Kenigsberg <danken@redhat.com> - 4.9.2-1.git1d7b929
Dan Kenigsberg ef89a24
- vdsm-4.9.2-g1d7b929
Dan Kenigsberg ef89a24
2ca4079
* Tue Jan 10 2012 Federico Simoncelli <fsimonce@redhat.com> - 4.9.2-0.git951b41d
6239658
- vdsm-4.9.2-g951b41d
6239658
2ca4079
* Fri Dec 02 2011 Federico Simoncelli <fsimonce@redhat.com> - 4.9.1-2.git931a43e
04c0657
- add the revision control comments to the specfile
04c0657
2ca4079
* Wed Nov 30 2011 Federico Simoncelli <fsimonce@redhat.com> - 4.9.1-1.git6ee166c
04c0657
- require iscsi-initiator-utils >= 6.2.0.872-14 bz442980
04c0657
- fix the rpmlint errors
04c0657
04c0657
* Wed Oct 12 2011 Federico Simoncelli <fsimonce@redhat.com> - 4.9.0-0
04c0657
- Initial upstream release
04c0657
04c0657
* Thu Nov 02 2006 Simon Grinberg <simong@qumranet.com> -  0.0-1
04c0657
- Initial build