arvados.git
10 years ago4027: API server considers arvados_sdk_version for Job reuse.
Brett Smith [Fri, 14 Nov 2014 18:57:33 +0000 (13:57 -0500)]
4027: API server considers arvados_sdk_version for Job reuse.

* Extend "in git" and "not in git" filters to the arvados_sdk_version
  column.
* When no filters are specified, if the submitted job specifies an
  arvados_sdk_version constraint, require reuse candidates to meet it.
* Document all this.

10 years agoBe a bit smarter about handling the dynamic dns resolver records for
Ward Vandewege [Mon, 17 Nov 2014 22:09:54 +0000 (17:09 -0500)]
Be a bit smarter about handling the dynamic dns resolver records for
compute nodes on api server startup.

refs #4461

10 years agocloses #4024
radhika [Mon, 17 Nov 2014 17:35:22 +0000 (12:35 -0500)]
closes #4024
Merge branch '4024-pipeline-instances-scroll'

10 years agoMerge branch '4024-pipeline-instances-scroll' of git.curoverse.com:arvados into 4024...
radhika [Mon, 17 Nov 2014 17:02:52 +0000 (12:02 -0500)]
Merge branch '4024-pipeline-instances-scroll' of git.curoverse.com:arvados into 4024-pipeline-instances-scroll

10 years ago4024: Make items_available, result_limit, and result_offset work for empty result...
Tom Clegg [Mon, 17 Nov 2014 16:46:30 +0000 (11:46 -0500)]
4024: Make items_available, result_limit, and result_offset work for empty result sets.

10 years agoMerge branch '3824-task-work' closes #3824
Tom Clegg [Mon, 17 Nov 2014 16:05:14 +0000 (11:05 -0500)]
Merge branch '3824-task-work' closes #3824

10 years ago3824: Check whether there is anything to install before trying to lock $destdir.
Tom Clegg [Mon, 17 Nov 2014 15:55:59 +0000 (10:55 -0500)]
3824: Check whether there is anything to install before trying to lock $destdir.

10 years agoMerge branch '4535-configure-api-host-url' closes #4535
Peter Amstutz [Mon, 17 Nov 2014 15:51:17 +0000 (10:51 -0500)]
Merge branch '4535-configure-api-host-url' closes #4535

10 years agoMerge branch 'master' into 4024-pipeline-instances-scroll
radhika [Mon, 17 Nov 2014 15:05:36 +0000 (10:05 -0500)]
Merge branch 'master' into 4024-pipeline-instances-scroll

10 years agoMerge branch '4388-workbench-update' closes #4388
Tom Clegg [Mon, 17 Nov 2014 14:32:44 +0000 (09:32 -0500)]
Merge branch '4388-workbench-update' closes #4388

10 years ago4024: update test assert
radhika [Mon, 17 Nov 2014 02:28:47 +0000 (21:28 -0500)]
4024: update test assert

10 years ago4024: add test assertion to check no error in page.
radhika [Mon, 17 Nov 2014 01:58:34 +0000 (20:58 -0500)]
4024: add test assertion to check no error in page.

10 years agoMerge branch 'master' into 4024-pipeline-instances-scroll
radhika [Sun, 16 Nov 2014 21:18:56 +0000 (16:18 -0500)]
Merge branch 'master' into 4024-pipeline-instances-scroll

10 years agoMerge branch '4024-pipeline-instances-scroll' of git.curoverse.com:arvados into 4024...
radhika [Sun, 16 Nov 2014 21:18:45 +0000 (16:18 -0500)]
Merge branch '4024-pipeline-instances-scroll' of git.curoverse.com:arvados into 4024-pipeline-instances-scroll

10 years agoMake our dynamic dns update system for compute nodes more generic.
Ward Vandewege [Sun, 16 Nov 2014 18:54:47 +0000 (13:54 -0500)]
Make our dynamic dns update system for compute nodes more generic.

refs #4461

10 years agoFix sdk/go/keepclient test race condition
Ward Vandewege [Sun, 16 Nov 2014 13:25:27 +0000 (08:25 -0500)]
Fix sdk/go/keepclient test race condition

This closes #4395

10 years ago3824: Run build_script (and create *_WORK) inside the container.
Tom Clegg [Sun, 16 Nov 2014 09:16:20 +0000 (04:16 -0500)]
3824: Run build_script (and create *_WORK) inside the container.

10 years ago3400: Do not fetch API results just for the sake of looking up resource_class.
Tom Clegg [Sun, 16 Nov 2014 04:48:32 +0000 (23:48 -0500)]
3400: Do not fetch API results just for the sake of looking up resource_class.

10 years ago4024: @limit override must happen before find_objects_for_index.
Tom Clegg [Sun, 16 Nov 2014 04:47:21 +0000 (23:47 -0500)]
4024: @limit override must happen before find_objects_for_index.

10 years ago3400: Do not fetch_multiple_pages in #index actions.
Tom Clegg [Sun, 16 Nov 2014 04:46:09 +0000 (23:46 -0500)]
3400: Do not fetch_multiple_pages in #index actions.

10 years ago4024: Merge branch '4388-workbench-update' into 4024-pipeline-instances-scroll
Tom Clegg [Sun, 16 Nov 2014 02:38:54 +0000 (21:38 -0500)]
4024: Merge branch '4388-workbench-update' into 4024-pipeline-instances-scroll

10 years ago4024: Merge branch 'master' into 4024-pipeline-instances-scroll
Tom Clegg [Sun, 16 Nov 2014 02:18:47 +0000 (21:18 -0500)]
4024: Merge branch 'master' into 4024-pipeline-instances-scroll

10 years ago4388: Fix typo
Tom Clegg [Sun, 16 Nov 2014 01:55:30 +0000 (20:55 -0500)]
4388: Fix typo

10 years ago4388: Update bundle
Tom Clegg [Sun, 16 Nov 2014 01:52:39 +0000 (20:52 -0500)]
4388: Update bundle

10 years ago4388: Fix javascript errors.
Tom Clegg [Sat, 15 Nov 2014 00:36:31 +0000 (19:36 -0500)]
4388: Fix javascript errors.

10 years agoRelax activesupport dependency to accommodate 4.x. refs #4388
Tom Clegg [Fri, 14 Nov 2014 23:07:20 +0000 (18:07 -0500)]
Relax activesupport dependency to accommodate 4.x. refs #4388

10 years ago4535: Change default to false because ~ indicates "must be filled in".
Peter Amstutz [Fri, 14 Nov 2014 19:38:45 +0000 (14:38 -0500)]
4535: Change default to false because ~ indicates "must be filled in".

10 years ago4535: Add default_url_options to application controller that consults
Peter Amstutz [Fri, 14 Nov 2014 19:33:55 +0000 (14:33 -0500)]
4535: Add default_url_options to application controller that consults
Rails.configuration.  Added entry with documentation to
application.yml.default.

10 years agoMerge branch 'master' into 4024-pipeline-instances-scroll
radhika [Fri, 14 Nov 2014 19:07:17 +0000 (14:07 -0500)]
Merge branch 'master' into 4024-pipeline-instances-scroll

10 years ago4024: Use filterable-control input values (if any) when first loading dynamic content.
Tom Clegg [Fri, 14 Nov 2014 02:47:29 +0000 (21:47 -0500)]
4024: Use filterable-control input values (if any) when first loading dynamic content.

10 years agocloses #3177
radhika [Fri, 14 Nov 2014 02:29:17 +0000 (21:29 -0500)]
closes #3177
Merge branch '3177-collection-choose-files'

10 years ago3177: use no left padding when collection files preview panel is used in file chooser...
radhika [Fri, 14 Nov 2014 02:12:41 +0000 (21:12 -0500)]
3177: use no left padding when collection files preview panel is used in file chooser dialog.

10 years agoMerge branch 'master' into 3177-collection-choose-files
radhika [Fri, 14 Nov 2014 01:45:50 +0000 (20:45 -0500)]
Merge branch 'master' into 3177-collection-choose-files

10 years ago4024: Add test for double-load bug.
Tom Clegg [Thu, 13 Nov 2014 22:27:51 +0000 (17:27 -0500)]
4024: Add test for double-load bug.

10 years ago4024: Remove unused /pipeline_instances/?search=x support.
Tom Clegg [Thu, 13 Nov 2014 21:21:44 +0000 (16:21 -0500)]
4024: Remove unused /pipeline_instances/?search=x support.

10 years agoMerge branch '2853-rendezvous' closes #2853
Tom Clegg [Thu, 13 Nov 2014 14:47:54 +0000 (09:47 -0500)]
Merge branch '2853-rendezvous' closes #2853

10 years ago2853: Merge branch 'master' into 2853-rendezvous
Tom Clegg [Thu, 13 Nov 2014 14:27:46 +0000 (09:27 -0500)]
2853: Merge branch 'master' into 2853-rendezvous

10 years agoMerge branch '4027-api-sdk-version-wip'
Brett Smith [Thu, 13 Nov 2014 13:56:33 +0000 (08:56 -0500)]
Merge branch '4027-api-sdk-version-wip'

Refs #4027.  Closes #4489.

10 years ago4027: Add arvados_sdk_version runtime constraint to API server.
Brett Smith [Tue, 11 Nov 2014 20:33:40 +0000 (15:33 -0500)]
4027: Add arvados_sdk_version runtime constraint to API server.

Crunch will use this information to provide a specific SDK version in
the runtime environment.

10 years ago3177: update test to select row in preview panel
radhika [Thu, 13 Nov 2014 02:49:59 +0000 (21:49 -0500)]
3177: update test to select row in preview panel

10 years agoMerge branch 'master' into 3177-collection-choose-files
radhika [Thu, 13 Nov 2014 02:19:35 +0000 (21:19 -0500)]
Merge branch 'master' into 3177-collection-choose-files

10 years ago3177: file selection
radhika [Thu, 13 Nov 2014 02:19:01 +0000 (21:19 -0500)]
3177: file selection

10 years ago2853: Use mock from KeepClientServiceTestCase for rendezvous tests
Tom Clegg [Wed, 12 Nov 2014 23:10:17 +0000 (18:10 -0500)]
2853: Use mock from KeepClientServiceTestCase for rendezvous tests
instead of intruding on KeepClient's private instance variables.

10 years agoUpdate arv-tag --help text in arv subcommands documentation.
Ward Vandewege [Wed, 12 Nov 2014 22:22:31 +0000 (17:22 -0500)]
Update arv-tag --help text in arv subcommands documentation.

refs #4486

10 years agoMake arv-tag print usage when --help is given. Also, fix typo in usage lines.
Ward Vandewege [Wed, 12 Nov 2014 22:20:31 +0000 (17:20 -0500)]
Make arv-tag print usage when --help is given. Also, fix typo in usage lines.

No issue #

10 years agoRemove some redundant lines from sdk/bin/arv
Ward Vandewege [Wed, 12 Nov 2014 22:19:39 +0000 (17:19 -0500)]
Remove some redundant lines from sdk/bin/arv

No issue #

10 years ago2853: Avoid using reserved word "hash" as a variable name.
Tom Clegg [Wed, 12 Nov 2014 21:54:36 +0000 (16:54 -0500)]
2853: Avoid using reserved word "hash" as a variable name.

10 years ago2853: Fix reference to reference set.
Tom Clegg [Wed, 12 Nov 2014 21:53:39 +0000 (16:53 -0500)]
2853: Fix reference to reference set.

10 years ago2853: Use Md5String() in getWeight().
Tom Clegg [Wed, 12 Nov 2014 21:53:00 +0000 (16:53 -0500)]
2853: Use Md5String() in getWeight().

10 years ago2853: Remove redundant test case.
Tom Clegg [Wed, 12 Nov 2014 21:52:21 +0000 (16:52 -0500)]
2853: Remove redundant test case.

10 years agoMerge branch '3609-run-command-bugfix'
Tim Pierce [Wed, 12 Nov 2014 21:35:31 +0000 (16:35 -0500)]
Merge branch '3609-run-command-bugfix'

Refs #3609.

10 years ago3609: fix "NameError: name 'rcode' is not defined"
Tim Pierce [Wed, 12 Nov 2014 21:07:15 +0000 (16:07 -0500)]
3609: fix "NameError: name 'rcode' is not defined"

If run-command raises an exception in the main 'try' loop before any
subprocesses have run, rcode will not be defined and "not any([status !=
0 for status in rcode.values()])" will raise a confusing "NameError:
name 'rcode' is not defined" exception.

Solution is to define rcode before the try/except block and to make sure
'success' is False if rcode is completely empty.

10 years agoMerge branch 'master' into 3177-collection-choose-files
radhika [Wed, 12 Nov 2014 20:47:27 +0000 (15:47 -0500)]
Merge branch 'master' into 3177-collection-choose-files

Conflicts:
apps/workbench/app/views/collections/_choose_rows.html.erb

10 years ago3177: in file chooser mode, allow row selection
radhika [Wed, 12 Nov 2014 20:35:23 +0000 (15:35 -0500)]
3177: in file chooser mode, allow row selection

10 years ago2853: Merge branch 'master' into 2853-rendezvous
Tom Clegg [Wed, 12 Nov 2014 18:59:59 +0000 (13:59 -0500)]
2853: Merge branch 'master' into 2853-rendezvous

Conflicts:
sdk/python/arvados/keep.py

10 years agoMerge branch '4380-node-manager-computenode-reorg-wip'
Brett Smith [Wed, 12 Nov 2014 18:59:14 +0000 (13:59 -0500)]
Merge branch '4380-node-manager-computenode-reorg-wip'

Refs #4380.  Closes #4496.

10 years ago4380: Reorganize arvnodeman.computenode.
Brett Smith [Tue, 11 Nov 2014 22:23:14 +0000 (17:23 -0500)]
4380: Reorganize arvnodeman.computenode.

This makes the hierarchy a little richer:

* arvnodeman.computenode.driver has all the cloud driver wrappers.
* arvnodeman.computenode.dispatch will be just like that, except it
  will consider local dispatch concerns.  For example, I'm going to
  add a SLURM submodule here to take care of draining.
* arvnodeman.computenode still has utility functions and
  ShutdownTimer.

10 years agoMerge branch '4434-collation' closes #4434
Tom Clegg [Wed, 12 Nov 2014 18:42:51 +0000 (13:42 -0500)]
Merge branch '4434-collation' closes #4434

10 years agoMerge branch '3400-workbench-all-items' closes #3400
Peter Amstutz [Wed, 12 Nov 2014 18:42:13 +0000 (13:42 -0500)]
Merge branch '3400-workbench-all-items' closes #3400

10 years agoMerge branch 'master' into 3400-workbench-all-items
Peter Amstutz [Wed, 12 Nov 2014 18:14:10 +0000 (13:14 -0500)]
Merge branch 'master' into 3400-workbench-all-items

10 years ago3400: test limit between server maxpagesize and 2x server maxpagesize.
Tom Clegg [Fri, 7 Nov 2014 03:52:44 +0000 (22:52 -0500)]
3400: test limit between server maxpagesize and 2x server maxpagesize.

Conflicts:
apps/workbench/test/unit/arvados_resource_list_test.rb

10 years agoMerge branch 'master' into 3177-collection-choose-files
radhika [Wed, 12 Nov 2014 17:39:08 +0000 (12:39 -0500)]
Merge branch 'master' into 3177-collection-choose-files

10 years agoBugfix bad exception name in PySDK util.is_hex.
Brett Smith [Wed, 12 Nov 2014 17:08:13 +0000 (12:08 -0500)]
Bugfix bad exception name in PySDK util.is_hex.

No issue #.

10 years agoMerge branch 'master' into 4024-pipeline-instances-scroll
radhika [Wed, 12 Nov 2014 16:53:01 +0000 (11:53 -0500)]
Merge branch 'master' into 4024-pipeline-instances-scroll

10 years ago4024: move the search box to the top
radhika [Wed, 12 Nov 2014 16:52:33 +0000 (11:52 -0500)]
4024: move the search box to the top

10 years agoMerge branch '4024-pipeline-instances-scroll' of git.curoverse.com:arvados into 4024...
radhika [Wed, 12 Nov 2014 16:43:23 +0000 (11:43 -0500)]
Merge branch '4024-pipeline-instances-scroll' of git.curoverse.com:arvados into 4024-pipeline-instances-scroll

10 years ago3400: Stub out obsolete #links_for and remove result_links and related test.
Peter Amstutz [Wed, 12 Nov 2014 16:39:41 +0000 (11:39 -0500)]
3400: Stub out obsolete #links_for and remove result_links and related test.
Set @result_limit and @result_offset to nil unless @fetch_multiple_pages ==
false.  Add test for limit > default page size.

10 years agoMerge branch '3857-python-sdk-timeout-bugfix'
Tim Pierce [Wed, 12 Nov 2014 16:17:49 +0000 (11:17 -0500)]
Merge branch '3857-python-sdk-timeout-bugfix'

Fixes #3857.

10 years ago3857: fix python-requests dependency
Tim Pierce [Wed, 12 Nov 2014 16:13:36 +0000 (11:13 -0500)]
3857: fix python-requests dependency

Multiple timeout support in python-requests is only supported in
versions 2.4.0 or later.

10 years agoMerge branch '3603-pysdk-file-api-wip'
Brett Smith [Wed, 12 Nov 2014 14:57:44 +0000 (09:57 -0500)]
Merge branch '3603-pysdk-file-api-wip'

Refs #3603.  Closes #4316.

10 years ago3603: PySDK Collection objects support file-like APIs.
Brett Smith [Wed, 12 Nov 2014 14:42:17 +0000 (09:42 -0500)]
3603: PySDK Collection objects support file-like APIs.

This commit adds an open() method to CollectionReader and
CollectionWriter.  They mimic the built-in open(), returning objects
that implement as much as the Python file API as I can reasonably
manage.

There are a couple of backwards-incompatible changes to
StreamFileReader here:

* seek() now defaults to SEEK_CUR rather than SEEK_SET behavior.
* readlines() returns a list, and no longer supports decompression.

These changes bring the object closer to a file-like object.  We
reviewed our existing Python code, including known Crunch scripts from
users.  Nobody was using seek(), and nobody was obviously relying on
the decompression behavior of readlines().  So we believe this is
reasonably safe.

(Contrast name(), which lots of things are using, so we provide a
backward compatibility shim for it.)

10 years ago3603: Clean up PySDK imports.
Brett Smith [Wed, 12 Nov 2014 14:38:26 +0000 (09:38 -0500)]
3603: Clean up PySDK imports.

Sort; remove unused imports.

10 years ago3603: Fix context methods for PySDK Collection objects.
Brett Smith [Fri, 24 Oct 2014 15:23:09 +0000 (11:23 -0400)]
3603: Fix context methods for PySDK Collection objects.

10 years agoMerge branch 'master' into 3177-collection-choose-files
radhika [Wed, 12 Nov 2014 14:02:44 +0000 (09:02 -0500)]
Merge branch 'master' into 3177-collection-choose-files

10 years ago4024: Fix "compare pipelines" button.
Tom Clegg [Wed, 12 Nov 2014 06:15:35 +0000 (01:15 -0500)]
4024: Fix "compare pipelines" button.

10 years agoFix broken doc link.
Ward Vandewege [Wed, 12 Nov 2014 02:23:03 +0000 (21:23 -0500)]
Fix broken doc link.

refs #4486

10 years agoMerge branch '4486-document-arv'
Ward Vandewege [Wed, 12 Nov 2014 01:36:07 +0000 (20:36 -0500)]
Merge branch '4486-document-arv'

refs #4486

10 years agoRemove trailing whitespace.
Ward Vandewege [Wed, 12 Nov 2014 01:35:08 +0000 (20:35 -0500)]
Remove trailing whitespace.

refs #4486

10 years agoMerge branch 'master' into 4486-document-arv
Ward Vandewege [Wed, 12 Nov 2014 01:34:04 +0000 (20:34 -0500)]
Merge branch 'master' into 4486-document-arv

refs #4486

10 years agoAdd TCPKeepAlive and ServerAliveInterval ssh options to the .ssh/config
Ward Vandewege [Tue, 11 Nov 2014 22:21:24 +0000 (17:21 -0500)]
Add TCPKeepAlive and ServerAliveInterval ssh options to the .ssh/config
snippet that Workbench suggests.

no issue #

10 years agoAdd some basic documentation for the arv subcommands.
Ward Vandewege [Tue, 11 Nov 2014 21:53:02 +0000 (16:53 -0500)]
Add some basic documentation for the arv subcommands.

refs #4486

10 years ago2853: Remove shuffledServiceRoots() wrapper.
Tom Clegg [Tue, 11 Nov 2014 21:42:39 +0000 (16:42 -0500)]
2853: Remove shuffledServiceRoots() wrapper.

10 years agoMerge branch '4294-node-manager-min-nodes'
Tim Pierce [Tue, 11 Nov 2014 21:32:09 +0000 (16:32 -0500)]
Merge branch '4294-node-manager-min-nodes'

Fixes #4294.

10 years ago2853: Add comment.
Tom Clegg [Tue, 11 Nov 2014 21:30:58 +0000 (16:30 -0500)]
2853: Add comment.

10 years agoMerge branch '3857-python-sdk-timeouts'
Tim Pierce [Tue, 11 Nov 2014 21:30:04 +0000 (16:30 -0500)]
Merge branch '3857-python-sdk-timeouts'

Fixes #3857.

10 years ago3857: fixed comment
Tim Pierce [Tue, 11 Nov 2014 21:29:35 +0000 (16:29 -0500)]
3857: fixed comment

10 years ago2853: Use the same keep_service UUIDs so tests behave reliably.
Tom Clegg [Tue, 11 Nov 2014 21:20:12 +0000 (16:20 -0500)]
2853: Use the same keep_service UUIDs so tests behave reliably.

10 years ago4294: additional unit tests
Tim Pierce [Tue, 11 Nov 2014 20:59:23 +0000 (15:59 -0500)]
4294: additional unit tests

test_server_calc_returns_min_nodes_for_one_job
* Ensures that the @ServerCalculator@ still returns a wishlist with
_min_nodes_ when there is a job in the queue.

test_server_calc_more_jobs_than_min_nodes
* Tests that when the job queue has between _min_nodes_ and _max_nodes_ in
it, @ServerCalculator@ returns a wishlist exactly as long as the job
queue.

10 years ago4294: code review feedback
Tim Pierce [Tue, 11 Nov 2014 20:39:55 +0000 (15:39 -0500)]
4294: code review feedback

* Added min_nodes to sample config files
* Renamed idle_nodes to needed_nodes

10 years ago3857: fixed import order. d'oh
Tim Pierce [Tue, 11 Nov 2014 20:23:15 +0000 (15:23 -0500)]
3857: fixed import order. d'oh

10 years ago3857: code review feedback
Tim Pierce [Tue, 11 Nov 2014 16:04:19 +0000 (11:04 -0500)]
3857: code review feedback

* Set default timeouts to (20, 300) for proxies and (2, 300) for all
  else.
* KeepService:
** Removed unused 'timeout' argument to __init__()
** Trimmed unnecessary exceptions in last_status()
* Tests:
** test_collections.py: changed mock_api_call return value back to
   fake_httplib2_response
** Flattened test layers to eliminate KeepClientRetryGetTestMixin and
   KeepClientRetryPutTestMixin
** Moved proxy timeout tests to
   KeepClientServiceTestCase.test_proxy_get_request and
   .test_proxy_put_request
* Removed excess blank lines in docstrings

10 years ago2853: Update tests to survive ServiceRoots being a map[string]string.
Tom Clegg [Tue, 11 Nov 2014 20:02:07 +0000 (15:02 -0500)]
2853: Update tests to survive ServiceRoots being a map[string]string.

10 years ago2853: Add tests for reference set and some edge cases.
Tom Clegg [Tue, 11 Nov 2014 19:31:49 +0000 (14:31 -0500)]
2853: Add tests for reference set and some edge cases.

10 years ago2853: Add "reference set" test to check probe order agreement between implementations.
Tom Clegg [Tue, 11 Nov 2014 18:57:15 +0000 (13:57 -0500)]
2853: Add "reference set" test to check probe order agreement between implementations.

10 years ago2853: Fix instance ID in test fixture hostnames. Clean up brittle tests.
Tom Clegg [Tue, 11 Nov 2014 17:44:02 +0000 (12:44 -0500)]
2853: Fix instance ID in test fixture hostnames. Clean up brittle tests.

10 years ago2853: Use rendezvous hashing to select probe order in Python library.
Tom Clegg [Tue, 11 Nov 2014 17:11:08 +0000 (12:11 -0500)]
2853: Use rendezvous hashing to select probe order in Python library.

10 years ago2853: Use rendezvous hashing to select probe order.
Tom Clegg [Tue, 11 Nov 2014 10:14:21 +0000 (05:14 -0500)]
2853: Use rendezvous hashing to select probe order.

10 years ago4434: use select! instead of &= to preserve duplicates.
Tom Clegg [Mon, 10 Nov 2014 21:50:15 +0000 (16:50 -0500)]
4434: use select! instead of &= to preserve duplicates.

10 years ago4294: added min_nodes config parameter
Tim Pierce [Fri, 7 Nov 2014 14:37:24 +0000 (09:37 -0500)]
4294: added min_nodes config parameter

Added min_nodes configuration setting.  The job queue will return a
wishlist with at least min_nodes elements in it, and the node manager
daemon will avoid shutting down a node if it would bring the total below
min_nodes.

* arvnodeman.config sets default min_nodes to 0.
* NodeManagerDaemonActor:
** _nodes_wanted returns at least enough to keep the node count above
   min_nodes
** _nodes_excess will not allow the node count to drop below min_nodes
* jobqueue.ServerCalculator.servers_for_queue returns a list with at least
  min_nodes elements
* added test cases:
** NodeManagerDaemonActorTestCase.test_shutdown_declined_below_min_nodes
** ServerCalculatorTestCase.test_server_calc_returns_at_least_min_nodes

10 years agoExpand websocket config comments. refs #4233
Tom Clegg [Mon, 10 Nov 2014 18:18:20 +0000 (13:18 -0500)]
Expand websocket config comments. refs #4233