rpms/condor-ec2-enhanced-hooks/devel condor-ec2-enhanced-hooks.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

rrati rrati at fedoraproject.org
Wed Jul 29 15:02:56 UTC 2009


Author: rrati

Update of /cvs/pkgs/rpms/condor-ec2-enhanced-hooks/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24098/devel

Modified Files:
	.cvsignore sources 
Added Files:
	condor-ec2-enhanced-hooks.spec import.log 
Log Message:
Initial import



--- NEW FILE condor-ec2-enhanced-hooks.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define rel 17

Summary: Condor EC2 Enhanced hooks
Name: condor-ec2-enhanced-hooks
Version: 1.0
Release: %{rel}%{?dist}
License: ASL 2.0
Group: Applications/System
URL: http://www.redhat.com/mrg
# This is a Red Hat maintained package which is specific to
# our distribution.  Thus the source is only available from
# within this srpm.
Source0: %{name}-%{version}-%{rel}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
Requires: python >= 2.3
Requires: condor >= 7.2.0-4
Requires: python-condor-job-hooks-common >= 1.0-4
Requires: python-condor-%{name}-common
Requires: python-boto >= 1.7a
Requires: openssl

%description
The EC2 Enhanced feature allows for near seamless translation of Condor jobs
in the standard universe to condor EC2 jobs in the grid universe.  For all
intents and purposes, the job runs as any standard universe job runs except
on an Amazon EC2 AMI instance.

This package provides Condor job router hooks that will translate a job into
a Condor EC2 job and monitor the state of that job.  This should be installed
on condor nodes that will submitting work and wish to use the EC2 Enhanced
feature.

%package -n python-%{name}-common
Summary: Common functions/utilities for condor job hooks
Group: Applications/System
BuildRequires: python-devel
Requires: python >= 2.3
Obsoletes: condor-ec2-enhanced-common

%description -n python-%{name}-common
Common functions and utilities used by MRG condor job hooks.

%prep
%setup -q

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%_libexecdir/condor/hooks
mkdir -p %{buildroot}/%{python_sitelib}/ec2enhanced
mkdir -p %{_builddir}/%{name}-%{version}/example
cp -f hook*.py %{buildroot}/%_libexecdir/condor/hooks
cp -f functions.py %{buildroot}/%{python_sitelib}/ec2enhanced
cp -f config/condor_config.example %{_builddir}/%{name}-%{version}/example
touch %{buildroot}/%{python_sitelib}/ec2enhanced/__init__.py

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENSE-2.0.txt INSTALL example
%defattr(0755,root,root,-)
%_libexecdir/condor/hooks/hook_job_finalize.py*
%_libexecdir/condor/hooks/hook_translate.py*
%_libexecdir/condor/hooks/hook_cleanup.py*
%_libexecdir/condor/hooks/hook_retrieve_status.py*

%files -n python-%{name}-common
%defattr(-,root,root,-)
%doc LICENSE-2.0.txt
%{python_sitelib}/ec2enhanced/functions.py*
%{python_sitelib}/ec2enhanced/__init__.py*

%changelog
* Mon Jul 27 2009  <rrati at redhat> - 1.0-17
- Fixed missed dependency renames

* Mon Jul 27 2009  <rrati at redhat> - 1.0-16
- Renamed condor-ec2-enhanced-hooks-common to
  python-condor-ec2-enhanced-hooks to conform to packaging guidelines
  since the package installs in python sitelib.

* Mon Jul 27 2009  <rrati at redhat> - 1.0-15
- Fixed rpmlint/packaging issues

* Fri Feb 27 2009  <rrati at redhat> - 1.0-14
- Update docs
- Changes to work with boto 1.7a

* Fri Feb 13 2009  <rrati at redhat> - 1.0-13
- Rebuild bump

* Fri Feb 13 2009  <rrati at redhat> - 1.0-12
- Change tarball name

* Tue Feb  5 2009  <rrati at redhat> - 1.0-11
- Fixed problems in the translate hook when a job is rerouted
- Cleaned up classad parsing
- Increment counter denoting number of run attempts in EC2
- Fixed logic error if the S3 key wasn't created by the translate hook
- Changed Cmd attribute for routed job to be: "EC2: <route name>: <original cmd>"

* Tue Jan 13 2009  <rrati at redhat> - 1.0-10
- Added handling of exceptions when retrieving queues from SQS
- Finalize hook now updates the source job's stats

* Thu Dec 18 2008  <rrati at redhat> - 1.0-9
- Status hook no longer outputs updates if the job completed
- Finalize hook prints ID of job that doesn't run
- Cleanly remove tempory directory on failure cases

* Mon Dec 15 2008  <rrati at redhat> - 1.0-8
- The status hook outputs updates, not entire classads
- The finalize hook does file remapping and places files in job's iwd
- The finalize hook attempts to access AWS multiple times before quitting

* Sat Dec 13 2008  <rrati at redhat> - 1.0-7
- Use GlobalJobId a part of unique S3 key
- Handle more failure conditions when accessing AWS
- Errors are printed to stderr
- Read results from unique queue per job
- Simplication of hooks since queues are now unique
- Clean hook ensures all information has been remove from AWS
- Finalize hook failure will force job to be re-routed
- Translate hook now uses AmazonUserData instead of AmazonUserDataFile

* Tue Dec  9 2008  <rrati at redhat> - 1.0-6
- S3 data is stored in unique buckets
- Print errors when having problems accessing S3
- Only encrypted the AWS secret access key and base64 encode
- Print error message if invalid key files are given
- Handle bad messages in SQS queues

* Sun Dec  7 2008  <rrati at redhat> - 1.0-5
- Fixed python dep issue on RHEL4
- Changes for python 2.3 compatibility
- Added openssl dependency

* Mon Dec  1 2008  <rrati at redhat> - 1.0-4
- Fixed issue with uppercase file names being converted to lowercase names
  (BZ474071)

* Fri Nov  4 2008  <rrati at redhat> - 1.0-3
- Removed INSTALL and example from the common package
- Updated INSTALL to mention RSA Private Key file

* Fri Nov  4 2008  <rrati at redhat> - 1.0-2
- Add changelog
- Fix rpmlint issues

* Fri Nov  4 2008  <rrati at redhat> - 1.0-1
- Initial packaging


--- NEW FILE import.log ---
condor-ec2-enhanced-hooks-1_0-17_fc10:HEAD:condor-ec2-enhanced-hooks-1.0-17.fc10.src.rpm:1248879764


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/condor-ec2-enhanced-hooks/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	29 Jul 2009 00:58:16 -0000	1.1
+++ .cvsignore	29 Jul 2009 15:02:56 -0000	1.2
@@ -0,0 +1 @@
+condor-ec2-enhanced-hooks-1.0-17.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/condor-ec2-enhanced-hooks/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 Jul 2009 00:58:16 -0000	1.1
+++ sources	29 Jul 2009 15:02:56 -0000	1.2
@@ -0,0 +1 @@
+25b14fae11afe0f0c3862677709acd4f  condor-ec2-enhanced-hooks-1.0-17.tar.gz




More information about the fedora-extras-commits mailing list