X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeManager.spec;h=9621940d2a04bce597bbcda4e642793690f6e3a3;hb=251d15db0c0eb532fcabc1c695fa06d4862efa87;hp=eb074f0b2b43017aec0fd6470f8bed5c4ea9b32b;hpb=55f2ec0520bda53ad99c4a2016d03b9f898ce40b;p=nodemanager.git diff --git a/NodeManager.spec b/NodeManager.spec index eb074f0..9621940 100644 --- a/NodeManager.spec +++ b/NodeManager.spec @@ -3,9 +3,11 @@ # %define url $URL$ +%define slicefamily %{pldistro}-%{distroname}-%{_arch} + %define name NodeManager -%define version 1.7 -%define taglevel 1 +%define version 1.8 +%define taglevel 14 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -23,15 +25,17 @@ Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) +BuildArch: noarch + # Old Node Manager Obsoletes: sidewinder, sidewinder-common # vuseradd, vuserdel -Requires: vserver-reference +Requires: vserver-%{slicefamily} Requires: util-vserver >= 0.30.208-17 # vserver.py -Requires: util-vserver-python +Requires: util-vserver-python > 0.3-16 # Signed tickets Requires: gnupg @@ -42,6 +46,9 @@ Requires: curl # Uses function decorators Requires: python >= 2.4 +# sioc/plnet +Requires: pyplnet >= 4.3 + %description The PlanetLab Node Manager manages all aspects of PlanetLab node and slice management once the node has been initialized and configured by @@ -60,6 +67,7 @@ rm -rf $RPM_BUILD_ROOT %{__make} %{?_smp_mflags} install DESTDIR="$RPM_BUILD_ROOT" install -D -m 755 conf_files.init $RPM_BUILD_ROOT/%{_initrddir}/conf_files +install -D -m 755 fuse-pl.init $RPM_BUILD_ROOT/%{_initrddir}/fuse-pl install -D -m 755 nm.init $RPM_BUILD_ROOT/%{_initrddir}/nm install -D -m 644 nm.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nm @@ -68,14 +76,19 @@ chkconfig --add conf_files chkconfig conf_files on chkconfig --add nm chkconfig nm on +chkconfig --add fuse-pl +chkconfig fuse-pl on if [ "$PL_BOOTCD" != "1" ] ; then service nm restart + service fuse-pl restart fi %preun # 0 = erase, 1 = upgrade if [ $1 -eq 0 ] ; then + chkconfig fuse-pl off + chkconfig --del fuse-pl chkconfig nm off chkconfig --del nm chkconfig conf_files off @@ -87,15 +100,75 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc -%dir %{_datadir}/NodeManager -%{_datadir}/NodeManager/* +%{_datadir}/NodeManager/ %{_bindir}/forward_api_calls %{_initrddir}/nm %{_initrddir}/conf_files +%{_initrddir}/fuse-pl %{_sysconfdir}/logrotate.d/nm %changelog +* Tue Oct 06 2009 Marc Fiuczynski - NodeManager-1.8-14 +- Minor fix such that sliverauth.py makes a more specific call to +- GetSliceTags that include that specific tagname it is looking for. + +* Sat Sep 19 2009 Stephen Soltesz - NodeManager-1.8-13 +- Fix bug that prevented 'OVERRIDES' for working correctly. + +* Tue Sep 08 2009 Faiyaz Ahmed - NodeManager-1.8-12 +- Increase disk limits to 10G per sliver +- Sanity check slice for home directory before starting (hack) +- Check codemux arguments + +* Thu Aug 06 2009 Faiyaz Ahmed - NodeManager-1.8-11 +- * Fix Delegation +- * Move plcapi in plugin-api GetSlivers() calls. +- * Persistent Authcheck and resync session when auth failure + +* Tue Aug 04 2009 Faiyaz Ahmed - NodeManager-1.8-10 +- Disabling sliverauth module. Not ready for deployment. + +* Mon Aug 03 2009 Faiyaz Ahmed - NodeManager-1.8-9 +- Fixing overrides semantics. + +* Mon Aug 03 2009 Faiyaz Ahmed - NodeManager-1.8-8 +- Generalized plugins +- Fixed initscript start up bug. + +* Tue Jun 30 2009 Faiyaz Ahmed - NodeManager-1.8-7 +- * Fix delegation authentication problem +- * Can now disable codemux using _default slice, and setting tag {codemux: -1} + +* Tue May 26 2009 Stephen Soltesz - NodeManager-1.8-4 +- * Rerun initscripts when slice goes from disabled to enabled. + +* Tue May 26 2009 Stephen Soltesz - NodeManager-1.8-4 +- * Update session key when out of synch with PLC +- * PLCDefaults uses tagname + +* Fri Apr 17 2009 Thierry Parmentelat - NodeManager-1.8-3 +- log invokations of vsys + +* Fri Mar 27 2009 Faiyaz Ahmed - NodeManager-1.8-2 + +* Tue Mar 24 2009 Faiyaz Ahmed - NodeManager-1.8-1 + +* Wed Apr 02 2008 Faiyaz Ahmed - NodeManager-1.7-1 NodeManager-1.7-2 +- Configures vsys via vsys slice attribute {name: vsys, value: script} +- CPU reservations are now calculated via percentages instead of shares +- BW totals preserved for dynamic slices +- Closes bug where node cap sets off bw slice alarms for all slices. + * Wed Oct 03 2007 Faiyaz Ahmed . - Switched to SVN.