This repository has been archived by the owner on Jan 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
condor-low-latency.spec
180 lines (142 loc) · 5.29 KB
/
condor-low-latency.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
%{!?is_fedora: %define is_fedora %(/bin/sh -c "if [ -e /etc/fedora-release ];then echo '1'; fi")}
%define rel 3
Summary: Low Latency Scheduling
Name: condor-low-latency
Version: 1.2
Release: %{rel}%{?dist}
License: ASL 2.0
Group: Applications/System
URL: http://git.fedorahosted.org/git/grid/carod.git
Source0: %{name}-%{version}-%{rel}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
Requires: python >= 2.3
Requires: condor >= 7.0.2-4
Requires: condor-job-hooks
Requires: python-condorutils >= 1.5-4
Requires: python-qpid
%description
Low Latency Scheduling provides a means for bypassing HTCondor's normal
scheduling process and instead submit work directly to an execute node
using the AMQP protocol.
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}/%{_sysconfdir}/condor
mkdir -p %{_builddir}/%{name}-%{version}/example
cp -f carod %{buildroot}/%_sbindir
cp -f config/60condor-low-latency.config.example %{_builddir}/%{name}-%{version}/example
%post
%if 0%{?is_fedora} == 0
if [[ -f /etc/opt/grid/carod.conf ]]; then
mv -f /etc/opt/grid/carod.conf /etc/condor
rmdir --ignore-fail-on-non-empty -p /etc/opt/grid
fi
%endif
exit 0
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE-2.0.txt INSTALL example
%defattr(0755,root,root,-)
%_sbindir/carod
%changelog
* Thu Nov 8 2012 <rrati@redhat> - 1.2-3
- Updated for branding change to HTCondor
* Fri Jul 22 2011 <rrati@redhat> - 1.2-2
- Updated python-condorutils dep
* Fri Jul 1 2011 <rrati@redhat> - 1.2-1
- Change config param names:
LL_DAEMON -> CAROD
LL_BROKER -> CAROD_BROKER
- Fixed issues with message expiration
- Updated docs
- Provided example configuration file
* Tue Feb 8 2011 <rrati@redhat> - 1.1-3
- Updated dep on python-condorutils
- Updates for new read_condor_config
* Fri Jan 28 2011 <rrati@redhat> - 1.1-2
- Fixed issue on python2.3 with setting unlimited message size when calling
message_flow
* Mon Jan 3 2011 <rrati@redhat> - 1.1-1
- Updated source URL
* Fri Jun 11 2010 <rrati@redhat> - 1.1-0.2
- Catch SIGQUIT signal
- More logging
- Updated INSTALL doc
* Mon Mar 29 2010 <rrati@redhat> - 1.1-0.1
- Removed packaged config file
- Transitioned to condorutils module
- Cleaned up exception handling, defined exceptions locally rather than
relying on jobhooks/condorutils module
- Changed from syslog to logging module
- Added new params to control logging
* Fri Oct 23 2009 <rrati@redhat> - 1.0-21
- Removed conflict with condor-ec2-enhanced
* Tue Oct 15 2009 <rrati@redhat> - 1.0-20
- Removed error message when processng a status update that would be printed
if carod received an update for a job it didn't know about
* Tue Aug 18 2009 <rrati@redhat> - 1.0-19
- Split documentation into two files, one for carod and one for
the job-hooks
- Added conflict with condor-ec2-enhanced
- Removed ll_condor_config and pulled its contents into the INSTALL
documentation
* Mon Aug 17 2009 <rrati@redhat> - 1.0-18
- Handle AMQP broker restarts (BZ488998)
- Fixed typo that allows correct usage of --help (BZ491826)
* Mon Jul 27 2009 <rrati@redhat> - 1.0-17
- Clean up buildroot in install section
* Mon Jul 27 2009 <rrati@redhat> - 1.0-16
- Updated dependencies to match hooks-common rename
* Mon Jul 27 2009 <rrati@redhat> - 1.0-15
- Fix rpmlint/packaging issues
* Wed Jun 24 2009 <rrati@redhat> - 1.0-14
- carod will first look for its configuration in condor's configuration
files, then fall back to its config file
- The config file has moved from /etc/opt/grid to /etc/condor
- Condor should control the start/stop/restart of carod
* Tue Jun 2 2009 <rrati@redhat> - 1.0-13
- The correlation id on response messages is set to the message id of the job
running
* Fri Mar 13 2009 <rrati@redhat> - 1.0-12
- Fixed deadlocking issues (BZ489874)
- Fixed problems sending results message (BZ489880)
- Fixed exception cases that would result in the message not getting
released for reprocessing
* Fri Mar 6 2009 <rrati@redhat> - 1.0-11
- Removed the vanilla universe restriction (BZ489001)
- Fixed issue with AMQP message body of None (BZ489000)
- Fxed equal sign (=) in attribute value ending up part of the header
- Attributes and values are trimmed (BZ489003)
- Preserve attribute value type information (BZ488996)
* Thu Feb 19 2009 <rrati@redhat> - 1.0-10
- Set JobStatus correctly (BZ459615)
* Fri Feb 13 2009 <rrati@redhat> - 1.0-9
- Change source tarball name
* Thu Jan 29 2009 <rrati@redhat> - 1.0-8
- Fix init file patch for Red Hat Enterprise Linux 4
* Mon Jan 12 2009 <rrati@redhat> - 1.0-7
- BZ474405
* Tue Dec 16 2008 <rrati@redhat> - 1.0-6
- If TransferOutput is set, only transfer the files listed as well as
stdout/stderr files if they exist
- Only package files in the job's iwd
* Fri Dec 5 2008 <rrati@redhat> - 1.0-5
- Cleaned up socket close code to provide cleaner shutdown
* Wed Dec 3 2008 <rrati@redhat> - 1.0-4
- Fixed python dependency with RHEL4
- Fixed issues running on python 2.3
* Wed Nov 19 2008 <rrati@redhat> - 1.0-3
- Low Latency daemon is on by default
- Daemon now appropriately handles Universe being set
* Fri Nov 4 2008 <rrati@redhat> - 1.0-2
- Add changelog
- Fix rpmlint issues
- Renamed init script to condor-low-latency
* Fri Nov 4 2008 <rrati@redhat> - 1.0-1
- Initial packaging