Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Cloud
:
oVirt
:
3.3.2
>
ovirt-node-plugin-vdsm
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
ovirt-node-plugin-vdsm-SLE_11_SP3.spec
@@ -0,0 +1,118 @@ +%define is_f19 %(test "0%{?fedora}" -eq "019" && echo 1 || echo 0) + +Summary: A plugin to make oVirt Node installs compatible with oVirt Engine and vdsm +Name: ovirt-node-plugin-vdsm +Version: 0.1.1 +Release: 6%{?BUILD_NUMBER}%{?extra_release}%{?dist} +Source0: %{name}-%{version}.tar.gz +License: GPLv2+ +Group: Applications/System + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +URL: http://www.ovirt.org/ +Requires: ovirt-node >= 3.0.0 +Requires: python +Requires: vdsm-reg >= 4.10.3 +Requires: ovirt-host-deploy-offline >= 1.1.0 +%if ! 0%{?centos} +Requires: vdsm-hook-vhostmd +%endif +Requires: vdsm-gluster +Requires(post): augeas +%if 0%{!?suse_version} +BuildArch: noarch +%endif +BuildRequires: python-devel + +%define app_root %{_datadir}/%{name} +%define recipe_root %{_datadir}/ovirt-node-recipe + +%description +Provides UI and associated scripts for integrating oVirt Node and oVirt Engine + +%package recipe +Summary: Kickstarts for building oVirt Node isos including %{name} +Group: Applications/System +Requires: ovirt-node-recipe >= 2.6.0 + +%description recipe +Provides kickstart files for generating an oVirt Node ISO image containing +%{name}. + +%prep +%setup -q + + +%build +%configure + +%install +%{__rm} -rf %{buildroot} +make install DESTDIR=%{buildroot} + +%post +# semanage is not present in the image and virt_use_nfs is on (see rhbz#642209) +# remove it from vdsmd startup script to avoid error +if [ -e /etc/init.d/vdsmd ] ; then +sed -i 's#/usr/sbin/semanage#/bin/true#' /etc/init.d/vdsmd || : + +# libvirtd upstart job is already configured on rhevh +sed -i 's/ && start_libvirtd$//' /etc/init.d/vdsmd || : + +# chkconfig results (symlinks) cannnot be peristed +sed -i 's#/sbin/chkconfig \$srv off##' /etc/init.d/vdsmd || : +fi + +# reserve vdsm port 54321 +augtool << \EOF_sysctl +set /files/etc/sysctl.conf/net.ipv4.ip_local_reserved_ports 54321 +save +EOF_sysctl + +#SELinux Booleans +if [ -x /usr/sbin/setsebool ] ; then +/usr/sbin/setsebool -P virt_use_nfs=1 \ + virt_use_sanlock=1 \ + sanlock_use_nfs=1 || : +fi + +# ensure Network Manager is disabled +%if %{is_f19} +/usr/bin/systemctl mask NetworkManager.service +%endif + +%preun + +%files recipe +%defattr(-,root,root) +%{recipe_root} + +%files +%defattr(-,root,root) +%dir %{python_sitelib}/ovirt +%dir %{python_sitelib}/ovirt/node +%dir %{python_sitelib}/ovirt/node/setup +%{python_sitelib}/ovirt/node/setup/vdsm +%{_sysconfdir}/ovirt-plugins.d + +%changelog +* Wed Nov 06 2013 Douglas Schilling Landgraf <dougsland@redhat.com> - 0.1.1-6 +- engine_page: replace != None to is not None +- engine_page: valid.Empty() handling None +- engine_page: fix logic to show fingerprint msg +- engine_page: replace TBD string + +* Mon Oct 21 2013 Douglas Schilling Landgraf <dougsland@redhat.com> - 0.1.1-5 +- engine_page: Add validation for cert remove + +* Fri May 17 2013 Mike Burns <mburns@redhat.com> 0.0.2 +- Rename to ovirt-node-plugin-vdsm +- rebase onto ovirt-node 3.0.0 codebase +- add note about changing sshd when setting passwd +- fix password changing +- fix some requirements +- add minimization + +* Fri Feb 15 2013 Mike Burns <mburns@redhat.com> 0.0.1 +- initial commit +- engine_page from current ovirt-node