[condor-wallaby-base-db] Initial import (755079)

rrati rrati at fedoraproject.org
Fri Jan 6 16:35:42 UTC 2012


commit 3606af2181898f0a2813217722a9d9b9080d063a
Author: Robert Rati <rrati at redhat.com>
Date:   Fri Jan 6 10:35:23 2012 -0600

    Initial import (755079)

 .gitignore                  |    1 +
 0001-Build-fixes.patch      |   54 +++++++++
 0002-Packaging-fixes.patch  |   31 +++++
 condor-wallaby-base-db.spec |  265 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 5 files changed, 352 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..22339f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/condor-wallaby-base-db-1.18.tar.gz
diff --git a/0001-Build-fixes.patch b/0001-Build-fixes.patch
new file mode 100644
index 0000000..f59acb7
--- /dev/null
+++ b/0001-Build-fixes.patch
@@ -0,0 +1,54 @@
+From 76b28012f81b0923486b16c75008c72f758a000e Mon Sep 17 00:00:00 2001
+From: Robert Rati <rrati at redhat.com>
+Date: Fri, 9 Dec 2011 10:28:02 -0600
+Subject: [PATCH 1/2] Build fixes
+
+---
+ Rakefile                       |    1 -
+ condor-wallaby-base-db.spec.in |   10 ++++++++++
+ 2 files changed, 10 insertions(+), 1 deletions(-)
+
+diff --git a/Rakefile b/Rakefile
+index 2a19731..50e4ce7 100644
+--- a/Rakefile
++++ b/Rakefile
+@@ -1,6 +1,5 @@
+ require 'rake'
+ require 'erb'
+-require 'grit'
+ 
+ PKG_RELEASE=ENV['PKG_RELEASE'] || 1
+ 
+diff --git a/condor-wallaby-base-db.spec.in b/condor-wallaby-base-db.spec.in
+index 7500884..9d8c9d8 100644
+--- a/condor-wallaby-base-db.spec.in
++++ b/condor-wallaby-base-db.spec.in
+@@ -18,6 +18,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ %endif
+ Requires: wallaby-utils >= 0.10.7
+ BuildRequires: ruby
++%if ! %{building_for_el5}
++BuildRequires: rubygem-rake
++%endif
+ BuildArch: noarch
+ 
+ %description
+@@ -75,8 +78,15 @@ rm -rf %{buildroot}
+ %{_localstatedir}/lib/wallaby/patches/db-1.15.wpatch
+ %{_localstatedir}/lib/wallaby/patches/db-1.16.wpatch
+ %{_localstatedir}/lib/wallaby/patches/db-1.17.wpatch
++%{_localstatedir}/lib/wallaby/patches/db-1.18.wpatch
+ 
+ %changelog
++* Fri Dec 9 2011 rrati <rrati at redhat> - 1.18-1
++- New params: MASTER.USE_PROCD, RESTART_PROCD_ON_ERROR, COLLECTOR_ARGS,
++              SHARED_PORT_ARGS
++- *_PLUGINS now allow values set on a local machine
++- Added build dep on rake
++
+ * Thu Dec 1 2011 rrati <rrati at redhat> - 1.17-1
+ - Added SCHEDD.SPOOL and SCHEDD.HISTORY params
+ - Updated BaseHAScheduler to use new SCHEDD.* params
+-- 
+1.7.6.4
+
diff --git a/0002-Packaging-fixes.patch b/0002-Packaging-fixes.patch
new file mode 100644
index 0000000..ff0d677
--- /dev/null
+++ b/0002-Packaging-fixes.patch
@@ -0,0 +1,31 @@
+From 0ea4198077c6fd155b15f1d716ce566931b44023 Mon Sep 17 00:00:00 2001
+From: Robert Rati <rrati at redhat.com>
+Date: Fri, 9 Dec 2011 15:08:15 -0600
+Subject: [PATCH 2/2] Packaging fixes
+
+---
+ Rakefile |    8 ++++++++
+ 1 files changed, 8 insertions(+), 0 deletions(-)
+
+diff --git a/Rakefile b/Rakefile
+index 50e4ce7..d39a579 100644
+--- a/Rakefile
++++ b/Rakefile
+@@ -62,6 +62,14 @@ end
+ 
+ def commit_version
+   new_version = pkg_version
++  # This is a hack.  We need to label the database version and generate
++  # the patch file, then re-label so we get the patch file in the label
++  patch_message = "generated database patch for #{new_version}"
++  sh "git tag v#{new_version}"
++  sh "bin/create-db-diffs.rb"
++  sh "git add #{db_patch_dir}/*"
++  sh "git commit -m '#{patch_message}' #{db_patch_dir}/*"
++  sh "git tag -d v#{new_version}"
+   message = "bumping DB_VERSION from #{@old_version} to #{new_version}"
+   sh "git commit -m '#{message}' #{db_version_file}"
+   sh "git tag v#{new_version}"
+-- 
+1.7.6.4
+
diff --git a/condor-wallaby-base-db.spec b/condor-wallaby-base-db.spec
new file mode 100644
index 0000000..b338041
--- /dev/null
+++ b/condor-wallaby-base-db.spec
@@ -0,0 +1,265 @@
+%if (0%{?fedora} == 0 && 0%{?rhel} <= 5)
+%global building_for_el5 1
+%else
+%global building_for_el5 0
+%endif
+
+Summary: Base condor database for wallaby
+Name: condor-wallaby-base-db
+Version: 1.18
+Release: 1%{?dist}
+Group: Applications/System
+License: ASL 2.0
+URL: http://git.fedorahosted.org/git/grid/wallaby-condor-db.git
+Source0: https://fedorahosted.org/releases/g/r/grid/%{name}-%{version}.tar.gz
+Patch0: 0001-Build-fixes.patch
+Patch1: 0002-Packaging-fixes.patch
+%if %{building_for_el5}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%endif
+Requires: wallaby-utils >= 0.10.7
+BuildRequires: ruby
+%if ! %{building_for_el5}
+BuildRequires: rubygem-rake
+%endif
+BuildArch: noarch
+
+%description
+A default database to be loaded into wallaby that provides configuration
+options for a condor pool
+
+%prep
+%setup -q
+
+%patch0 -p1
+%patch1 -p1
+
+%build
+%if %{building_for_el5}
+db_ver=`cat DB_VERSION`
+sed "s/<.*db_version.*>/$db_ver/" condor-base-db.snapshot.in > condor-base-db.snapshot
+%else
+rake
+%endif
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/%{_localstatedir}/lib/condor-wallaby-base-db
+mkdir -p %{buildroot}/%{_localstatedir}/lib/wallaby
+mkdir -p %{buildroot}/%{_localstatedir}/lib/wallaby/patches
+cp condor-base-db.snapshot %{buildroot}/%{_localstatedir}/lib/condor-wallaby-base-db
+cp -r patches %{buildroot}/%{_localstatedir}/lib/wallaby
+
+# Unwanted db patch files.
+rm -f %{buildroot}/%{_localstatedir}/lib/wallaby/patches/db-1.1.wpatch
+rm -f %{buildroot}/%{_localstatedir}/lib/wallaby/patches/db-1.2.wpatch
+rm -f %{buildroot}/%{_localstatedir}/lib/wallaby/patches/db-1.3.wpatch
+rm -f %{buildroot}/%{_localstatedir}/lib/wallaby/patches/db-1.4.wpatch
+
+%if %{building_for_el5}
+%clean
+rm -rf %{buildroot}
+%endif
+
+%files
+%if %{building_for_el5}
+%defattr(-, root, root, -)
+%endif
+%doc LICENSE
+%{_localstatedir}/lib/condor-wallaby-base-db/condor-base-db.snapshot
+%{_localstatedir}/lib/wallaby/patches/db-1.5.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.6.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.7.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.8.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.9.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.10.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.11.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.12.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.13.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.14.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.15.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.16.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.17.wpatch
+%{_localstatedir}/lib/wallaby/patches/db-1.18.wpatch
+
+%changelog
+* Fri Dec 9 2011 rrati <rrati at redhat> - 1.18-1
+- New params: MASTER.USE_PROCD, RESTART_PROCD_ON_ERROR, COLLECTOR_ARGS,
+              SHARED_PORT_ARGS
+- *_PLUGINS now allow values set on a local machine
+- Added build dep on rake
+
+* Thu Dec 1 2011 rrati <rrati at redhat> - 1.17-1
+- Added SCHEDD.SPOOL and SCHEDD.HISTORY params
+- Updated BaseHAScheduler to use new SCHEDD.* params
+
+* Mon Oct 10 2011 rrati <rrati at redhat> - 1.16-2
+- Fixed issue with incorect db version metadata in patch files
+
+* Fri Sep 30 2011 rrati <rrati at redhat> - 1.16-1
+- Renamed Aviary security feature
+- Added SSL functionality for QueryServer
+- Updated wallaby-utils dep
+
+* Mon Aug 29 2011 rrati <rrati at redhat> - 1.15-1
+- Added a v before BaseDBVersion number
+- Added SSL functionality for Aviary
+- Added UPDATE_INTERVAL to startd subsystem
+- Updated low-latency params to use CAROD subsystem
+- Added ability for other watchdog agents to manage an HA Scheduler setup 
+  via BaseHAScheduler feature
+
+* Thu Jun 23 2011 rrati <rrati at redhat> - 1.14-1
+- Added BaseScheduler dependency to AviaryScheduler
+- Edited dependencies on Scheduler/HAScheduler
+- Removed all SEC_* params from all features except Master
+- Added FS, NTLM to SEC_DEFAULT_AUTHENTICATION_METHODS on Master
+- All SEC_* params now are neither must_change or needs_restart
+- New Param: UPDATE_INTERVAL
+
+* Fri Jun  3 2011 rrati <rrati at redhat> - 1.13-1
+- Updated VALID_SPOOL_FILES on PowerManagementCollector Feature
+- Updated ROOSTER_WAKEUP_CMD on PowerManagementSubnetManager
+
+* Wed Apr 13 2011 rrati <rrati at redhat> - 1.12-1
+- Updated WSFCPP_HOME location
+- Added deps of Master, JobQueueLocation to QueryServer feature
+
+* Tue Apr  5 2011 rrati <rrati at redhat> - 1.11-1
+- All plugin definitions in features now append
+
+* Tue Apr  5 2011 rrati <rrati at redhat> - 1.10-1
+- Added Features: AviaryScheduler, Axis2Home, QueryServer
+- Added Parameters: QUERY_SERVER.QUERY_SERVER_LOG, QUERY_SERVER.SCHEDD_NAME
+                    QUERY_SERVER.QUERY_SERVER_DEBUG, QUERY_SERVER.HTTP_PORT,
+                    QUERY_SERVER_ARGS, QUERY_SERVER, SCHEDD.HTTP_PORT
+                    QUERY_SERVER.HISTORY_INTERVAL, WSFCPP_HOME
+- Added Subsystems: query_server
+- Updated job_server subsystem to care about SPOOL parameter
+
+* Tue Mar 29 2011 rrati <rrati at redhat> - 1.9-1
+- Added Features: SharedPort
+- Added Parameters: DAEMON_SOCKET_DIR,SHARED_PORT,SHARED_PORT_DEBUG,
+  USE_SHARED_PORT
+- Added Subsystems: shared_port
+- Updated Subsystems to include new QMF params
+- Minor fixes to kind/type metadata: capitalization & fixed types
+- Fix URL location
+
+* Wed Mar 16 2011 rrati <rrati at redhat> - 1.8-1
+- Added params EC2_GAHP_LOG, GRIDMANAGER_MAX_SUBMITTED_JOBS_PER_RESOURCE_EC2
+  EC2_GAHP, GRIDMANAGER_MAX_SUBMITTED_JOBS_PER_RESOURCE_AMAZON
+- Updated EC2 Feature to add above features
+- Changed AMAZON_GAHP to not require restart
+
+* Tue Mar  8 2011 rrati <rrati at redhat> - 1.7-2
+- Fixed changelog
+
+* Tue Mar  8 2011 rrati <rrati at redhat> - 1.7-1
+- Added features PowerManagementNode, PowerManagementCollector,
+  PowerManagementSubnetManager
+- Added params related to new features
+- Added QMF authentication params
+- Updated TriggerService feature to enable absent node detection
+- Added ENABLE_ABSENT_NODES_DETECTION param
+
+* Tue Feb  8 2011 rrati <rrati at redhat> - 1.6-1
+- Updated TriggerService to set DC_DAEMON_LIST
+- Fixed setting of CONDOR_HOST in HACentralManager feature
+
+* Wed Jan  5 2011 rrati <rrati at redhat> - 1.5-2
+- Removed garbage at beginning of snapshot file
+
+* Thu Dec 23 2010 rrati <rrati at redhat> - 1.5-1
+- Removed SEC_DEFAULT_INTEGRITY and SEC_DEFAULT_ENCRYPTION from the Master
+  feature
+- Added BaseDBVersion feature and parameter
+
+* Mon Sep 27 2010 willb <willb at redhat> - 1.4-5
+- BZ 637200:  All SEC_(.*) parameters now require a restart.
+
+* Mon Sep 20 2010 rrati <rrati at redhat> - 1.4-4
+- Removed ConsoleSchedulerForJobServer feature
+- Moved QUEUE_ALL_USERS_TRUSTED to the ConsoleScheduler feature
+
+* Tue Aug 31 2010 rrati <rrati at redhat> - 1.4-3
+- Fixed setting of CONDOR_HOST in HACentralManager feature
+
+* Tue Aug 17 2010 rrati <rrati at redhat> - 1.4-2
+- Fixed setting of DATA param in TriggerService
+- DATA no longer has a default value
+
+* Wed Aug 11 2010 rrati <rrati at redhat> - 1.4-1
+- Created BaseJobExecuter feature
+- Scheduler feature now has correct params for Local Universe
+- Fixed SCHEDD_PREEMPTION_REQUIREMENTS value in SchedulerDedicatedPreemption
+
+* Tue Jul 27 2010 rrati <rrati at redhat> - 1.3-2
+- Fixed setting of parameters that require user input
+
+* Tue Jul 27 2010 rrati <rrati at redhat> - 1.3-1
+- Removed Credd feature and releated parameters/subsystems
+- Added LOG related parameters for LowLatency and JobHooks
+- Removed LIBEXEC and parameter deps on it
+
+* Wed Jun 23 2010 rrati <rrati at redhat> - 1.2-1
+- Separated QMF parameters into features starting with Console
+- Added JobServer feature
+- *.PLUGINS attributes require restart if changed
+- Changed carod subsystem to ll_daemon
+- Added ADDRESS_FILE params for/to all daemoncore daemons
+- Re-org for Scheduler/QMF based features
+- DEDICATEDSCHEDULER must now be set by the user.  No default value provided
+- Tweak to the Dedicated Scheduler
+- Added many more parameters
+
+* Thu Jun 10 2010 rrati <rrati at redhat> - 1.1-0.7
+- Added kbdd feature/subsystem and supporting params
+- Removed old explicit subsystem entries
+- Removed the QMF plugin configuration from the Collector feature and added
+  a ConsoleCollector feature
+- Added MASTER param and the Master feature now defines the MASTER executabl
+- Added LL_BROKER params to the LowLatency feature
+- All changes to hook or binary paths require a restart
+- Changed location of base db snapshot installation
+
+* Fri May 21 2010 rrati <rrati at redhat> - 1.1-0.6
+- Changed value for COLLECTOR_NAME to "Wallaby Configured Pool"
+
+* Fri May 21 2010 rrati <rrati at redhat> - 1.1-0.5
+- Fixed setting of COLLECTOR_NAME.  The Master feature sets it to "", and
+  the Collector feature will set it to $(FULL_HOSTNAME)
+
+* Thu May 20 2010 rrati <rrati at redhat> - 1.1-0.4
+- Tightened security a bit.  The Master Feature no longer gives the host
+  AMINISTRATOR level access
+- Removed the VM_BRIDGE_SCRIPT parameter
+
+* Tue Mar 09 2010 rrati <rrati at redhat> - 1.1-0.3
+- Added LL_DAEMON to LowLatency feature
+- Added JobHooks feature and LowLatency depends upon it
+
+* Thu Mar 04 2010 rrati <rrati at redhat> - 1.1-0.2
+- Fixed revision history dates
+
+* Thu Mar 04 2010 rrati <rrati at redhat> - 1.1-0.1
+- Added feature NodeAccess, and all features affecting DAEMON_LIST depend
+  upon it now
+- Changed DynamicProvisioning -> DynamicSlots
+- Added LIBVIRT_XML_SCRIPT param and added it to VMUniverse
+- Set COLLECTOR_NAME = $(CONDOR_HOST)
+- Removed ALLOW_WRITE_DAEMON, ALLOW_READ_STARTD, ALLOW_READ_COLLECTOR,
+  ALLOW_READ_DAEMON, ALLOW_WRITE_COLLECTOR, ALLOW_WRITE_STARTD params
+- FETCHWORKDELAY now requires a daemon restart when changed
+
+* Wed Feb 24 2010 rrati <rrati at redhat> - 1.0-0.4
+- Fixed location of StartdPlugin for ExecuteNode
+
+* Tue Feb 23 2010 rrati <rrati at redhat> - 1.0-0.3
+- Added UID_DOMAIN and FILESYSTEM_DOMAIN params & features that use them
+
+* Fri Feb 19 2010 rrati <rrati at redhat> - 1.0-0.2
+- Removed default values for parameters that must be set when used
+
+* Wed Feb 11 2010 rrati <rrati at redhat> - 1.0-0.1
+- Initial package
diff --git a/sources b/sources
index e69de29..832822c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+55af66139852f6a0cb97041ea26402b8  condor-wallaby-base-db-1.18.tar.gz


More information about the scm-commits mailing list