X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeManager.spec;h=f7bcfdc8cbdc535324a6e2767859eef62d7e0568;hb=b2a3980267c04dc76c7300f7472824c1002328c9;hp=08aaab33776adf8252aec3ddca51199af40668b8;hpb=475168d8b0b35536e3a4d48c8e29523c03e718b1;p=nodemanager.git diff --git a/NodeManager.spec b/NodeManager.spec index 08aaab3..f7bcfdc 100644 --- a/NodeManager.spec +++ b/NodeManager.spec @@ -1,15 +1,11 @@ -# -# $Id$ -# -%define url $URL$ - %define slicefamily %{pldistro}-%{distroname}-%{_arch} %define name NodeManager -%define version 2.0 -%define taglevel 18 +%define version 2.1 +%define taglevel 2 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) Summary: PlanetLab Node Manager Name: %{name} @@ -23,7 +19,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} -URL: %(echo %{url} | cut -d ' ' -f 2) +URL: %{SCMURL} # not possible because of forward_api_calls #BuildArch: noarch @@ -37,12 +33,13 @@ Requires: python >= 2.4 Requires: python-pycurl # Signed tickets Requires: gnupg -# vuseradd, vuserdel -Requires: vserver-%{slicefamily} +# vserver-sliceimage or lxc-sliceimage to be added explicitly in nodeimage.pkgs +# we do need the slice images in any case +Requires: sliceimage-%{slicefamily} # our interface to the vserver patch -Requires: util-vserver >= 0.30.208-17 +#Requires: util-vserver >= 0.30.208-17 # vserver.py -Requires: util-vserver-python > 0.3-16 +#Requires: util-vserver-python > 0.3-16 # sioc/plnet Requires: pyplnet >= 4.3 @@ -64,6 +61,7 @@ local operations on slices. # make manages the C and Python stuff rm -rf $RPM_BUILD_ROOT %{__make} %{?_smp_mflags} install DESTDIR="$RPM_BUILD_ROOT" +PYTHON_SITEARCH=`python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)'` # install the sliver initscript (that triggers the slice initscript if any) mkdir -p $RPM_BUILD_ROOT/usr/share/NodeManager/sliver-initscripts/ @@ -77,6 +75,8 @@ chmod 755 $RPM_BUILD_ROOT/%{_initrddir}/* install -d -m 755 $RPM_BUILD_ROOT/var/lib/nodemanager install -D -m 644 logrotate/nodemanager $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nodemanager +install -D -m 755 sshsh $RPM_BUILD_ROOT/bin/sshsh +install -D -m 644 bwlimit.py ${RPM_BUILD_ROOT}/${PYTHON_SITEARCH}/bwlimit.py ########## %post @@ -134,8 +134,94 @@ rm -rf $RPM_BUILD_ROOT %{_initrddir}/ %{_sysconfdir}/logrotate.d/nodemanager /var/lib/ +/bin/sshsh +%{python_sitearch}/bwlimit.py* %changelog +* Thu Jun 21 2012 Thierry Parmentelat - nodemanager-2.1-2 +- merged nodemanager-2.0-37 in 2.1/lxc_devel and add initscript support to lxc +- passes tests with lxc but won't build against vs due to conflict +- as bwlimit.py also ships with util-vserver-pl + +* Thu Jun 21 2012 Thierry Parmentelat - nodemanager-2.0-37 +- refactoring: isolate initscript functionality +- aimed at making initscript implementation with lxc straightforward +- show stack trace when module loading fails +- accounts.py renamed into account.py for consistency + +* Sun Jun 03 2012 Thierry Parmentelat - nodemanager-2.0-36 +- /var/log/nodemanager shows duration of mainloop + +* Fri Apr 13 2012 Thierry Parmentelat - nodemanager-2.1-1 +- first working draft for dealing with libvirt/lxc on f16 nodes +- not expected to work with mainline nodes (use 2.0 for that for now) + +* Fri Apr 13 2012 Thierry Parmentelat - nodemanager-2.0-35 +- remove Requires to deprecated vserver-* rpms, use sliceimage-* instead + +* Fri Dec 09 2011 Thierry Parmentelat - nodemanager-2.0-34 +- Added memory scheduling to core scheduler +- Core scheduler will now attempt to schedule cores on the same CPU to a slice, if a slice uses multiple cores + +* Thu Jul 07 2011 Thierry Parmentelat - nodemanager-2.0-33 +- tweaked log policy for the core scheduler +- curlwrapper has an optional verbose mode + +* Mon Jun 06 2011 Baris Metin - nodemanager-2.0-32 +- fixes for hmac and omf_control tags +- optional besteffort flag to core scheduler +- logrotate entry for /var/log/nodemanager.daemon +- a template for bash initscripts + +* Tue Mar 22 2011 Thierry Parmentelat - nodemanager-2.0-31 +- rename initscript_body into initscript_code +- fix generic vinit for broken bash syntax &>> + +* Mon Mar 21 2011 Thierry Parmentelat - nodemanager-2.0-30 +- new initscript_body slice tag, with stop and restart +- generic vinit script live updated +- new coresched module +- protect against non-existing vsys scripts +- use Config. instead of globals + +* Sun Feb 20 2011 Thierry Parmentelat - nodemanager-2.0-29 +- more robust reservation plugin + +* Thu Feb 17 2011 Thierry Parmentelat - nodemanager-2.0-28 +- bind-mount slice's .ssh into sliver for omf-friendly slices - no need to use dotsshmount (vsys) anymore +- reservation plugin more robust + +* Tue Feb 01 2011 Thierry Parmentelat - nodemanager-2.0-27 +- pass device to bwlimit + +* Tue Jan 25 2011 S.Çağlar Onur - nodemanager-2.0-26 +- start to use /etc/vservers//sysctl//{setting,value} files as new kernels don't support old syntax + +* Tue Jan 04 2011 S.Çağlar Onur - nodemanager-2.0-25 +- Catch all exceptions for sfa plugin + +* Wed Dec 22 2010 S.Çağlar Onur - nodemanager-2.0-24 +- Handle exception AttributeError: ComponentAPI instance has no attribute 'get_registry' + +* Mon Nov 29 2010 S.Çağlar Onur - nodemanager-2.0-23 +- Use networks key if interfaces is missing to solve the incompatibility between new NM and old API + +* Mon Nov 29 2010 S.Çağlar Onur - nodemanager-2.0-22 +- plugins/sliverauth.py improvements + +* Mon Oct 11 2010 S.Çağlar Onur - nodemanager-2.0-21 +- Disable sfagids plugin + +* Mon Oct 11 2010 S.Çağlar Onur - nodemanager-2.0-20 +- Re-tag nodemanager to include conflicted commits + +* Thu Sep 23 2010 Thierry Parmentelat - nodemanager-2.0-19 +- hotfix - make the UpdateSliceTag for ssh_key really incremental (was storming the API) +- sfagids plugin deleted +- band-aid patch for lack of GetSliceFamily removed + +* Mon Aug 23 2010 S.Çağlar Onur - nodemanager-2.0-18 + * Fri Jul 16 2010 Thierry Parmentelat - nodemanager-2.0-17 - revert curlwrapper to former forking-curl version - fixes in the omf plugin for ssh key location and node hrn @@ -330,5 +416,3 @@ rm -rf $RPM_BUILD_ROOT * Mon Nov 13 2006 Mark Huang - - Initial build. - -%define module_current_branch 1.8