X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeManager.spec;h=415bf8427b5c70c5b32d58ec089bbfee283969c0;hb=refs%2Fheads%2F1.7;hp=eee304ec6d8a45c8d1df62d8c6392b6bf282af2c;hpb=fcfe522fb2137be5e5c29255c01a311f91c727fa;p=nodemanager.git diff --git a/NodeManager.spec b/NodeManager.spec index eee304e..415bf84 100644 --- a/NodeManager.spec +++ b/NodeManager.spec @@ -7,7 +7,7 @@ %define name NodeManager %define version 1.7 -%define taglevel 24 +%define taglevel 47 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -25,6 +25,8 @@ Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) +BuildArch: noarch + # Old Node Manager Obsoletes: sidewinder, sidewinder-common @@ -44,6 +46,9 @@ Requires: curl # Uses function decorators Requires: python >= 2.4 +# sioc/plnet +Requires: pyplnet = 4.2 + %description The PlanetLab Node Manager manages all aspects of PlanetLab node and slice management once the node has been initialized and configured by @@ -62,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 @@ -70,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 @@ -89,15 +100,91 @@ 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 Mar 10 2009 Faiyaz Ahmed - NodeManager-1.7-47 +- * Removed thread in conf_files. The thread with die but the module's callback would happily return without any errors. + +* Tue Mar 10 2009 Faiyaz Ahmed - NodeManager-1.7-46 +- Log calls to vuseradd. If vuseradd fails, the exception will be reported in /valog/nm. + +* Mon Mar 02 2009 Faiyaz Ahmed - NodeManager-1.7-45 +- Allowing controller accounts to use unique GIDs can overwrite the default "slice" group. Controllers now use the "slice" GID instead of unique GIDs. + +* Thu Feb 26 2009 Faiyaz Ahmed - NodeManager-1.7-44 +- Delegation code optimization +- Fixed some comments + +* Mon Feb 02 2009 Faiyaz Ahmed - NodeManager-1.7-43 +- BUGFIX: Extra logging was causing the main thread to die when the API was unavailable (which happens nightly due to db cleanup job). Fixed. + +* Fri Jan 30 2009 Faiyaz Ahmed - NodeManager-1.7-42 +- * Can add or remove BW limits from PLC w/o reboots. + +* Fri Jan 30 2009 Faiyaz Ahmed - NodeManager-1.7-41 +- Syntax fix. + +* Fri Jan 30 2009 Faiyaz Ahmed - NodeManager-1.7-40 +- * Ensure RSPEC update on all account types per epoch. +- * BUGFIX: HTBs were never being created when default slice's overrides weren'tset. + +* Thu Jan 29 2009 Faiyaz Ahmed - NodeManager-1.7-39 +- Supports disabling of HTBs from PLC. + +* Wed Dec 03 2008 Daniel Hokka Zakrisson - NodeManager-1.7-38 +- Add support for plugins. +- Move network code to a separate module. +- Add AdminTicket API. +- Add support for sysctl slice attributes. + +* Tue Sep 23 2008 Faiyaz Ahmed - NodeManager-1.7-37 +- Slices are created 1 at a time to avoid race conditions. + +* Fri Sep 19 2008 Faiyaz Ahmed - NodeManager-1.7-36 +- Internet2 clique flow classification is now setup by NM. + +* Wed Sep 17 2008 Faiyaz Ahmed - NodeManager-1.7-35 +- Clique network shares don't exist. Removed from bwmon. + +* Fri Sep 12 2008 Faiyaz Ahmed - NodeManager-1.7-34 +- * Fixed slice restart via xmlrpc to actually set resources +- * Reverted bwmon to check current min/max limits before manipulating HTB. + +* Wed Sep 03 2008 Faiyaz Ahmed - NodeManager-1.7-33 +- bwmon now has enable/disable flag to control throttling. + +* Mon Sep 01 2008 Thierry Parmentelat - NodeManager-1.7-32 +- always log message when expected vserver reference is missing + +* Mon Aug 25 2008 Faiyaz Ahmed - NodeManager-1.7-31 +- Emails were only being sent of high bandwidth caps were being exceeded. Fixed. + +* Thu Aug 21 2008 Faiyaz Ahmed - NodeManager-1.7-30 +- bwmon: Only mention the limit the slice went over. Not both it and the second limit. + +* Wed Aug 20 2008 Faiyaz Ahmed - NodeManager-1.7-29 +- Fixed KeyError in logging. + +* Wed Aug 20 2008 Faiyaz Ahmed - NodeManager-1.7-28 +- Fixed syntax error in notify function call. Also fixed values in email message and logging. + +* Mon Aug 18 2008 Daniel Hokka Zakrisson - NodeManager-1.7-27 +- Fix the FUSE initscript. + +* Sun Aug 17 2008 Daniel Hokka Zakrisson - NodeManager-1.7-26 +- FUSE support. + +* Wed Aug 13 2008 Faiyaz Ahmed - NodeManager-1.7-25 +- Removed thread created for each sliver (!!!). +- Slivers now spawned out of main thread. +- This closes the Delegation bug and closes the recent rash of NM instabilities due to queue overflows. [ticket: 384] + * Fri Aug 01 2008 Faiyaz Ahmed - NodeManager-1.7-24 - * Update bandwidth related attributes on every NM sync. Bwlimit will check if values have changed. - * Vsys supports local_ scripts and NM will disregard them.