X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeManager.spec;h=bf2ec23e58e19991ae30b87377552424416a18de;hb=74a8cfb9d2eac39ae02e5323e1fb5b1d33297981;hp=69f4ec19401aa7b6ba5ccadf8ed8ca777ee40021;hpb=c1536d8a8913935cb9283592da225a13b94b7583;p=nodemanager.git diff --git a/NodeManager.spec b/NodeManager.spec index 69f4ec1..bf2ec23 100644 --- a/NodeManager.spec +++ b/NodeManager.spec @@ -6,8 +6,8 @@ %define slicefamily %{pldistro}-%{distroname}-%{_arch} %define name NodeManager -%define version 1.8 -%define taglevel 0 +%define version 2.0 +%define taglevel 1 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -25,6 +25,9 @@ Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) +# not possible because of forward_api_calls +#BuildArch: noarch + # Old Node Manager Obsoletes: sidewinder, sidewinder-common @@ -33,7 +36,7 @@ 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 @@ -44,6 +47,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 @@ -55,16 +61,19 @@ local operations on slices. %setup -q %build +# make manages the C and Python stuff %{__make} %{?_smp_mflags} %install +# make manages the C and Python stuff 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 +mkdir -p $RPM_BUILD_ROOT/%{_initrddir}/ +rsync -av initscripts/ $RPM_BUILD_ROOT/%{_initrddir}/ +chmod 755 $RPM_BUILD_ROOT/%{_initrddir}/* + +install -D -m 644 logrotate/nm $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nm %post chkconfig --add conf_files @@ -95,18 +104,103 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc -%dir %{_datadir}/NodeManager -%dir %{_datadir}/NodeManager/plugins -%{_datadir}/NodeManager/* -%{_datadir}/NodeManager/plugins/* +%{_datadir}/NodeManager/ %{_bindir}/forward_api_calls -%{_initrddir}/nm -%{_initrddir}/conf_files -%{_initrddir}/fuse-pl +%{_initrddir}/ %{_sysconfdir}/logrotate.d/nm %changelog +* Fri Jan 29 2010 Thierry Parmentelat - NodeManager-2.0-1 +- first working version of 5.0: +- pld.c/, db-config.d/ and nodeconfig/ scripts should now sit in the module they belong to +- nodefamily is 3-fold with pldistro-fcdistro-arch +- relies on GetSlivers to expose 'GetSliceFamily' for slivers +- (in addition to the 'vref' tag that's still exposed too) +- logging reviewed for more convenience +- support for 'service nm restartdebug' +- make sync knows how to publish uncommitted code on a test node + +* Tue Jan 12 2010 Thierry Parmentelat - NodeManager-1.8-23 +- emergency tag - make the setting of hmac by the sliverauth plugin more robust + +* Mon Jan 11 2010 Thierry Parmentelat - NodeManager-1.8-22 +- support for f10 and f12 in the vref slice tag + +* Sat Jan 09 2010 Thierry Parmentelat - NodeManager-1.8-21 +- build on fedora12 +- uses slicename 'sfacm' instead of 'genicw' + +* Fri Oct 30 2009 Sapan Bhatia - NodeManager-1.8-20 +- This tag is identical to 1.8-19. The main addition is PLC-controllable vsys scripts. The reason I am +- retagging is to eliminate any confusion associated with the -19 tag which was (temporarily) modified a few +- days ago. + +* Tue Oct 27 2009 Sapan Bhatia - NodeManager-1.8-19 +- This patch makes vsys scripts PLC-configurable. Previously, vsys scripts needed to be +- self-contained. With this change, they will be able to refer to the attributes associated with a +- slice. + +* Thu Oct 22 2009 Baris Metin - NodeManager-1.8-18 +- fix for syntax error + +* Wed Oct 21 2009 anil vengalil - NodeManager-1.8-17 +- -fixed problem with sioc import at the build side +- -bwlimit.set() now accepts the device and does not asume that it is eth0 + +* Tue Oct 20 2009 Baris Metin - NodeManager-1.8-16 +- - don't hardcode the device name (depends on util-vserver-pl change rev. 15385) + +* Fri Oct 09 2009 Marc Fiuczynski - NodeManager-1.8-15 +- The seed for random previously was the meaning of life (i.e., 42) but +- that resulted in a not so random choice for the hmac. This +- implementation now uses a random.seed that is based on the current +- time. + +* 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 - - Initial build. + +%define module_current_branch 1.8