arvados.git
7 years ago10218: Added calls to "df -i" to record free i-nodes. Combined stdout and stderr...
Lucas Di Pentima [Wed, 22 Mar 2017 19:07:37 +0000 (16:07 -0300)]
10218: Added calls to "df -i" to record free i-nodes. Combined stdout and stderr when running node info commands.

7 years ago10218: Ask for disk space on 2 specific filesystems (/ & /tmp) to avoid having the...
Lucas Di Pentima [Wed, 22 Mar 2017 18:51:13 +0000 (15:51 -0300)]
10218: Ask for disk space on 2 specific filesystems (/ & /tmp) to avoid having the df command to return an error on special cases.

7 years ago10218: Merge branch 'master' into 10218-record-node-info
Lucas Di Pentima [Wed, 22 Mar 2017 18:45:49 +0000 (15:45 -0300)]
10218: Merge branch 'master' into 10218-record-node-info

7 years ago10218: Get the container record directly from the API server, instead of Marshaling...
Lucas Di Pentima [Wed, 22 Mar 2017 18:01:48 +0000 (15:01 -0300)]
10218: Get the container record directly from the API server, instead of Marshaling runner.Container.

7 years agoMerge branch '7709-sdk-cli-active_support'
Tom Clegg [Wed, 22 Mar 2017 17:33:55 +0000 (13:33 -0400)]
Merge branch '7709-sdk-cli-active_support'

refs #7709

7 years agoFix broken link from crunch2 to crunch1 docs.
Tom Clegg [Wed, 22 Mar 2017 16:07:48 +0000 (12:07 -0400)]
Fix broken link from crunch2 to crunch1 docs.

refs #6520

7 years agoDo not let golang.org/x/tools/cmd/bundle get ahead of Ruby bundler.
Tom Clegg [Wed, 22 Mar 2017 16:04:43 +0000 (12:04 -0400)]
Do not let golang.org/x/tools/cmd/bundle get ahead of Ruby bundler.

refs https://dev.arvados.org/projects/arvados/wiki/Emacs_and_Go

No issue #

7 years ago8567: Add start_docker and kill_docker functions with wait loops.
Peter Amstutz [Wed, 22 Mar 2017 15:57:17 +0000 (11:57 -0400)]
8567: Add start_docker and kill_docker functions with wait loops.

7 years ago7709: arvados-cli allows activesupport>=4
Tom Clegg [Sun, 19 Mar 2017 01:12:45 +0000 (21:12 -0400)]
7709: arvados-cli allows activesupport>=4

7 years ago11170: Calling close method from an ensure block.
Lucas Di Pentima [Wed, 22 Mar 2017 14:18:55 +0000 (11:18 -0300)]
11170: Calling close method from an ensure block.

7 years ago11065: Defer audit log cleanup until after_commit.
Tom Clegg [Wed, 22 Mar 2017 14:18:43 +0000 (10:18 -0400)]
11065: Defer audit log cleanup until after_commit.

7 years ago11170: Updated tests to reflect the use of IO instead of File.
Lucas Di Pentima [Wed, 22 Mar 2017 13:21:17 +0000 (10:21 -0300)]
11170: Updated tests to reflect the use of IO instead of File.

7 years ago8567: Make sure /root/.cache/arvados/docker is tempdir volume mount as well.
Peter Amstutz [Tue, 21 Mar 2017 21:37:30 +0000 (17:37 -0400)]
8567: Make sure /root/.cache/arvados/docker is tempdir volume mount as well.

7 years ago8567: Use vfs Docker graph driver for maximum compatability. --dry-run reports
Peter Amstutz [Tue, 21 Mar 2017 18:02:09 +0000 (14:02 -0400)]
8567: Use vfs Docker graph driver for maximum compatability.  --dry-run reports
maximum image size.  Add --tempdir option.

7 years agoFix test broken by change of default behavior in arv-keepdocker. refs #8567
Peter Amstutz [Tue, 21 Mar 2017 15:41:15 +0000 (11:41 -0400)]
Fix test broken by change of default behavior in arv-keepdocker. refs #8567

7 years ago11065: Delete old audit logs.
Tom Clegg [Tue, 21 Mar 2017 15:39:20 +0000 (11:39 -0400)]
11065: Delete old audit logs.

7 years ago11170: Treat the squeue/scancel calls as files instead of treating them as processes...
Lucas Di Pentima [Mon, 20 Mar 2017 21:39:43 +0000 (18:39 -0300)]
11170: Treat the squeue/scancel calls as files instead of treating them as processes. Calling close when finished reading from them.

7 years ago10218: Merge branch 'master' into 10218-record-node-info
Lucas Di Pentima [Mon, 20 Mar 2017 19:07:40 +0000 (16:07 -0300)]
10218: Merge branch 'master' into 10218-record-node-info

7 years agoIf API server doesn't publish supported Docker image versions, make that an
Peter Amstutz [Mon, 20 Mar 2017 19:04:38 +0000 (15:04 -0400)]
If API server doesn't publish supported Docker image versions, make that an
error instead of a warning (can be overridden with --force-image-format)
refs #8567

7 years ago11170: Set up a thread to reap the status of squeue runs so that they don't become...
Lucas Di Pentima [Mon, 20 Mar 2017 18:56:55 +0000 (15:56 -0300)]
11170: Set up a thread to reap the status of squeue runs so that they don't become zombie processes.

7 years agoMerge branch '8567-docker-migrator' refs #8567
Peter Amstutz [Mon, 20 Mar 2017 18:34:17 +0000 (14:34 -0400)]
Merge branch '8567-docker-migrator' refs #8567

7 years ago8567: Bugfix check for existing repo+tag links.
Peter Amstutz [Mon, 20 Mar 2017 15:58:37 +0000 (11:58 -0400)]
8567: Bugfix check for existing repo+tag links.

7 years agocloses #11290
radhika [Mon, 20 Mar 2017 15:04:44 +0000 (11:04 -0400)]
closes #11290
Merge branch '11290-caret-font'

7 years ago8567: arv-keepdocker catches EPIPE so it doesn't print backtrace when piped to
Peter Amstutz [Mon, 20 Mar 2017 14:02:16 +0000 (10:02 -0400)]
8567: arv-keepdocker catches EPIPE so it doesn't print backtrace when piped to
other commands such as "head".

7 years ago8567: Add migrate19
Peter Amstutz [Mon, 20 Mar 2017 13:36:17 +0000 (09:36 -0400)]
8567: Add migrate19

7 years ago11290: Reverted "fa-caret-down" usage back to 'span class="caret"' with href added...
radhika [Mon, 20 Mar 2017 10:34:32 +0000 (06:34 -0400)]
11290: Reverted "fa-caret-down" usage back to 'span class="caret"' with href added to it. Working with Firefox and Chrome now.

7 years ago8567: Better command line UI
Peter Amstutz [Fri, 17 Mar 2017 21:54:11 +0000 (17:54 -0400)]
8567: Better command line UI

7 years agoMerge branch '11288-slurm-down-reason' closes #11288
Peter Amstutz [Fri, 17 Mar 2017 20:36:41 +0000 (16:36 -0400)]
Merge branch '11288-slurm-down-reason' closes #11288

7 years ago10218: Save the container record as a json file and also write it on the logs.
Lucas Di Pentima [Fri, 17 Mar 2017 20:29:56 +0000 (17:29 -0300)]
10218: Save the container record as a json file and also write it on the logs.

7 years ago11288: Slurm requires reason to put node in DOWN state.
Peter Amstutz [Fri, 17 Mar 2017 17:27:03 +0000 (13:27 -0400)]
11288: Slurm requires reason to put node in DOWN state.

7 years agoMerge branch '11014-hide-node-status'
Lucas Di Pentima [Fri, 17 Mar 2017 14:44:20 +0000 (11:44 -0300)]
Merge branch '11014-hide-node-status'
Closes #11014

7 years ago11014: When PipelineInstance API is off and also show_recent_collections_on_dashboard...
Lucas Di Pentima [Fri, 17 Mar 2017 14:16:05 +0000 (11:16 -0300)]
11014: When PipelineInstance API is off and also show_recent_collections_on_dashboard configuration is off, now the "Recent processes" panel will take full screen width.
Corrected test name.
Avoid calling PipelineInstance.api_exist?(:index) more than once.

7 years agoMerge branch '11254-nodemanager-no-actor' closes #11254
Peter Amstutz [Thu, 16 Mar 2017 20:52:11 +0000 (16:52 -0400)]
Merge branch '11254-nodemanager-no-actor' closes #11254

7 years ago11254: Refactor _node_states
Peter Amstutz [Thu, 16 Mar 2017 20:49:32 +0000 (16:49 -0400)]
11254: Refactor _node_states

7 years ago11254: Cloud nodes where "actor is None" are considered to be in shutdown. The
Peter Amstutz [Thu, 16 Mar 2017 20:11:00 +0000 (16:11 -0400)]
11254: Cloud nodes where "actor is None" are considered to be in shutdown.  The
only time it should be "None" is the period between a successful shutdown and
when the node disappears from the cloud node list.

7 years ago10218: Use a []string for the entire command instead of splitting it.
Lucas Di Pentima [Thu, 16 Mar 2017 19:16:34 +0000 (16:16 -0300)]
10218: Use a []string for the entire command instead of splitting it.

7 years ago11014: Check for PipelineIndex#index API to exist for rendering the compute node...
Lucas Di Pentima [Thu, 16 Mar 2017 18:18:23 +0000 (15:18 -0300)]
11014: Check for PipelineIndex#index API to exist for rendering the compute node status pane on the Dashboard.
Added related test.

7 years ago10218: Wait for container to be started (not just created) before trying to cancel it.
Tom Clegg [Thu, 16 Mar 2017 17:24:58 +0000 (13:24 -0400)]
10218: Wait for container to be started (not just created) before trying to cancel it.

7 years ago10218: Split multi-line command output so that each line is written to the logs indep...
Lucas Di Pentima [Thu, 16 Mar 2017 14:01:19 +0000 (11:01 -0300)]
10218: Split multi-line command output so that each line is written to the logs independently.

7 years ago10218: Logging node information (cpu, mem, disk) by storing command outputs on the...
Lucas Di Pentima [Wed, 15 Mar 2017 22:21:10 +0000 (19:21 -0300)]
10218: Logging node information (cpu, mem, disk) by storing command outputs on the log collection. Added relevant test.

7 years ago8567: Add check that admin token is used and ensure that migration links are
Peter Amstutz [Wed, 15 Mar 2017 15:03:20 +0000 (11:03 -0400)]
8567: Add check that admin token is used and ensure that migration links are
created owned by system user.  Also fix tests now that arv-keepdocker uses
logging instead of printing directly to sys.stderr.

7 years agocloses #11071
radhika [Tue, 14 Mar 2017 20:01:14 +0000 (16:01 -0400)]
closes #11071
Merge branch '11071-fts-perf-test'

7 years ago11071: formatting on the long if statement
radhika [Tue, 14 Mar 2017 20:00:17 +0000 (16:00 -0400)]
11071: formatting on the long if statement

7 years agoAdd missing documentation file. refs #6520
Peter Amstutz [Tue, 14 Mar 2017 19:35:29 +0000 (15:35 -0400)]
Add missing documentation file.  refs #6520

7 years agoMerge branch '8567-api-select-docker-fmt' refs #8567
Peter Amstutz [Tue, 14 Mar 2017 19:17:49 +0000 (15:17 -0400)]
Merge branch '8567-api-select-docker-fmt' refs #8567

7 years agoMerge branch '8567-cwl-docker-img' refs #8567
Peter Amstutz [Tue, 14 Mar 2017 19:17:34 +0000 (15:17 -0400)]
Merge branch '8567-cwl-docker-img' refs #8567

7 years agoMerge branch '6520-nodemanager-docs' closes #11123
Peter Amstutz [Tue, 14 Mar 2017 19:09:00 +0000 (15:09 -0400)]
Merge branch '6520-nodemanager-docs' closes #11123

7 years ago8567: Add note about updating API server configuration.
Peter Amstutz [Tue, 14 Mar 2017 16:44:35 +0000 (12:44 -0400)]
8567: Add note about updating API server configuration.

7 years ago8567: Add docker19 migration instructions to install guide.
Peter Amstutz [Tue, 14 Mar 2017 16:39:24 +0000 (12:39 -0400)]
8567: Add docker19 migration instructions to install guide.

7 years ago8567: Fix migrate links to use PDH instead of UUID.
Peter Amstutz [Thu, 9 Mar 2017 22:41:55 +0000 (17:41 -0500)]
8567: Fix migrate links to use PDH instead of UUID.

Better error reporting.

Migrate script cleans up /var/lib/docker inside container.

7 years ago8567: Add check for ARVADOS_API_HOST_INSECURE
Peter Amstutz [Tue, 7 Mar 2017 15:02:39 +0000 (10:02 -0500)]
8567: Add check for ARVADOS_API_HOST_INSECURE

7 years ago8567: Rename docker19-migrate to migrate-docker19 for consistency with
Peter Amstutz [Tue, 7 Mar 2017 14:26:17 +0000 (09:26 -0500)]
8567: Rename docker19-migrate to migrate-docker19 for consistency with
arv-migrate-docker19.  Add docstrict to migrate19() function.

7 years ago8567: Move out of tools/ into sdk/python and docker/docker19-migrate.
Peter Amstutz [Mon, 6 Mar 2017 19:52:55 +0000 (14:52 -0500)]
8567: Move out of tools/ into sdk/python and docker/docker19-migrate.

7 years ago8567: Add status reporting to migrate script.
Peter Amstutz [Mon, 6 Mar 2017 19:31:17 +0000 (14:31 -0500)]
8567: Add status reporting to migrate script.

7 years ago8567: Creates migration links.
Peter Amstutz [Mon, 6 Mar 2017 15:39:57 +0000 (10:39 -0500)]
8567: Creates migration links.

7 years ago8567: Docker image migration WIP.
Peter Amstutz [Mon, 6 Mar 2017 15:22:52 +0000 (10:22 -0500)]
8567: Docker image migration WIP.

7 years ago8567: Fix tests now that container_image provides docker repo+tag and not PDH.
Peter Amstutz [Tue, 14 Mar 2017 16:25:09 +0000 (12:25 -0400)]
8567: Fix tests now that container_image provides docker repo+tag and not PDH.

7 years ago8567: If a search_term looks like a PDH, always treat it as one. Also use
Peter Amstutz [Tue, 14 Mar 2017 16:03:33 +0000 (12:03 -0400)]
8567: If a search_term looks like a PDH, always treat it as one.  Also use
correct optional parameter syntax.

7 years ago6520: Add page with sample ping script. Improve instructions on creating
Peter Amstutz [Tue, 14 Mar 2017 15:38:46 +0000 (11:38 -0400)]
6520: Add page with sample ping script.  Improve instructions on creating
compute node a little bit.

7 years ago6520: Add node_mem_scaling to documentation.
Peter Amstutz [Tue, 14 Mar 2017 15:06:43 +0000 (11:06 -0400)]
6520: Add node_mem_scaling to documentation.

7 years ago6520: Add information about setting up SLURM to crunchv2 documentation.
Peter Amstutz [Mon, 20 Feb 2017 21:13:29 +0000 (16:13 -0500)]
6520: Add information about setting up SLURM to crunchv2 documentation.

7 years ago6520: Node manager docs WIP
Peter Amstutz [Thu, 16 Feb 2017 22:20:19 +0000 (17:20 -0500)]
6520: Node manager docs WIP

7 years ago8567: Use Docker image repo+tag name instead of PDH so that API server can select...
Peter Amstutz [Fri, 10 Mar 2017 19:38:16 +0000 (14:38 -0500)]
8567: Use Docker image repo+tag name instead of PDH so that API server can select correct image format.

7 years ago11071: test count=none in groups#contents method.
radhika [Mon, 13 Mar 2017 22:05:26 +0000 (18:05 -0400)]
11071: test count=none in groups#contents method.

7 years ago8567: Tests default to image format v1 to avoid breaking all the tests that
Peter Amstutz [Mon, 13 Mar 2017 21:37:31 +0000 (17:37 -0400)]
8567: Tests default to image format v1 to avoid breaking all the tests that
uses the :docker_image collection.

7 years ago8567: Adjust job container resolve test now that images are filtered based on
Peter Amstutz [Mon, 13 Mar 2017 21:31:20 +0000 (17:31 -0400)]
8567: Adjust job container resolve test now that images are filtered based on
support version.

7 years ago8567: Refactor code that queries migration links into get_compatible_images.
Peter Amstutz [Mon, 13 Mar 2017 20:40:26 +0000 (16:40 -0400)]
8567: Refactor code that queries migration links into get_compatible_images.

7 years ago8567: Add & tweak tests for selecting compatible Docker image format.
Peter Amstutz [Fri, 10 Mar 2017 19:06:22 +0000 (14:06 -0500)]
8567: Add & tweak tests for selecting compatible Docker image format.

7 years ago8567: find_all_for_docker_image() returns only Docker images compatible with Rails...
Peter Amstutz [Fri, 10 Mar 2017 18:51:49 +0000 (13:51 -0500)]
8567: find_all_for_docker_image() returns only Docker images compatible with Rails.configuration.docker_image_formats.  Follows migration links.

7 years agoBugfix: python Collection class sets _portable_data_hash in _populate_from_api_server
Peter Amstutz [Thu, 9 Mar 2017 22:44:26 +0000 (17:44 -0500)]
Bugfix: python Collection class sets _portable_data_hash in _populate_from_api_server
refs #10956

7 years agoMerge branch '5036-arv-mount-type'
Tom Clegg [Thu, 9 Mar 2017 20:28:36 +0000 (15:28 -0500)]
Merge branch '5036-arv-mount-type'

refs #5036

7 years ago5036: Add "--subtype foo" flag to set mounted filesystem type to "fuse.foo".
Tom Clegg [Thu, 9 Mar 2017 19:53:51 +0000 (14:53 -0500)]
5036: Add "--subtype foo" flag to set mounted filesystem type to "fuse.foo".

7 years agoMerge branch '11226-discovery-doc-cache' closes #11226
Peter Amstutz [Thu, 9 Mar 2017 19:44:26 +0000 (14:44 -0500)]
Merge branch '11226-discovery-doc-cache' closes #11226

7 years ago11226: Disable google api client discovery doc caching, use only httplib2 caching.
Peter Amstutz [Thu, 9 Mar 2017 18:49:15 +0000 (13:49 -0500)]
11226: Disable google api client discovery doc caching, use only httplib2 caching.

Google API client has its own caching mechanism.  The problem is, by default
this goes to /tmp/google-api-python-client-discovery-doc.cache This is a
problem on a multi-user system.  Arvados already provides for discovery doc
caching via httplib2.

7 years agoAdd ability to use "arvbox start test" to re-run tests without tearing down &
Peter Amstutz [Wed, 8 Mar 2017 20:33:50 +0000 (15:33 -0500)]
Add ability to use "arvbox start test" to re-run tests without tearing down &
restarting whole container.  no issue #

7 years agoArvbox now uses Go websockets server instead of Puma. no issue #
Peter Amstutz [Wed, 8 Mar 2017 20:33:00 +0000 (15:33 -0500)]
Arvbox now uses Go websockets server instead of Puma. no issue #

7 years ago11221: Always restart systemd services, even after a few startup failures.
Tom Clegg [Tue, 7 Mar 2017 21:15:48 +0000 (16:15 -0500)]
11221: Always restart systemd services, even after a few startup failures.

7 years agoMerge branch '3115-keep-disk-create-surprise'
Tom Clegg [Tue, 7 Mar 2017 20:39:36 +0000 (15:39 -0500)]
Merge branch '3115-keep-disk-create-surprise'

closes #3115

7 years ago3115: Create keep_disks implicitly only in #ping action, not #show.
Tom Clegg [Tue, 7 Mar 2017 20:32:59 +0000 (15:32 -0500)]
3115: Create keep_disks implicitly only in #ping action, not #show.

7 years agoMerge branch '11139-nodemanager-mem-scale-factor'
Lucas Di Pentima [Tue, 7 Mar 2017 18:25:44 +0000 (15:25 -0300)]
Merge branch '11139-nodemanager-mem-scale-factor'
Closes #11139

7 years ago11139: Merge branch 'master' into 11139-nodemanager-mem-scale-factor
Lucas Di Pentima [Tue, 7 Mar 2017 17:54:22 +0000 (14:54 -0300)]
11139: Merge branch 'master' into 11139-nodemanager-mem-scale-factor

7 years ago11139: Added new test to check for non-default values. Updated example config files.
Lucas Di Pentima [Tue, 7 Mar 2017 17:52:59 +0000 (14:52 -0300)]
11139: Added new test to check for non-default values. Updated example config files.

7 years agoMerge branch '11166-log-name-collision'
Tom Clegg [Tue, 7 Mar 2017 15:11:38 +0000 (10:11 -0500)]
Merge branch '11166-log-name-collision'

closes #11166

7 years ago11139: Added default config parameter 'node_mem_scaling' to be applied to node's...
Lucas Di Pentima [Mon, 6 Mar 2017 22:04:35 +0000 (19:04 -0300)]
11139: Added default config parameter 'node_mem_scaling' to be applied to node's ram sticker values. Its default is 95%.
Added test checking the default config and that the value is actually applied to the server calculations.

7 years ago11166: Use ensure_unique_name to avoid collisions when saving logs and output.
Tom Clegg [Mon, 6 Mar 2017 19:59:56 +0000 (14:59 -0500)]
11166: Use ensure_unique_name to avoid collisions when saving logs and output.

7 years agoMerge branch '11138-docker-load-fail'
Tom Clegg [Mon, 6 Mar 2017 15:31:40 +0000 (10:31 -0500)]
Merge branch '11138-docker-load-fail'

closes #11138

7 years agoAdd missing install step: add keep-balance token to keepstore configs.
Tom Clegg [Fri, 3 Mar 2017 22:05:00 +0000 (17:05 -0500)]
Add missing install step: add keep-balance token to keepstore configs.

No issue #

7 years agoRemove obsolete GOMAXPROCS advice.
Tom Clegg [Fri, 3 Mar 2017 21:53:14 +0000 (16:53 -0500)]
Remove obsolete GOMAXPROCS advice.

No issue #

7 years agoMerge branch '11168-serialize-json'
Tom Clegg [Fri, 3 Mar 2017 21:46:50 +0000 (16:46 -0500)]
Merge branch '11168-serialize-json'

closes #11168

7 years ago11138: Show actual image ID when checking whether docker image is loaded.
Tom Clegg [Fri, 3 Mar 2017 21:41:05 +0000 (16:41 -0500)]
11138: Show actual image ID when checking whether docker image is loaded.

7 years ago11168: Double-decode serialized fields if database was mangled by downgraded API...
Tom Clegg [Fri, 3 Mar 2017 21:18:10 +0000 (16:18 -0500)]
11168: Double-decode serialized fields if database was mangled by downgraded API server.

7 years ago11138: Test for docker image after loading, in case docker-load erroneously proclaime...
Tom Clegg [Fri, 3 Mar 2017 05:52:53 +0000 (00:52 -0500)]
11138: Test for docker image after loading, in case docker-load erroneously proclaimed success.

7 years ago11168: Always deep-sort before comparing in where_serialized.
Tom Clegg [Fri, 3 Mar 2017 05:26:20 +0000 (00:26 -0500)]
11168: Always deep-sort before comparing in where_serialized.

7 years ago11168: Remove unused import.
Tom Clegg [Fri, 3 Mar 2017 05:25:57 +0000 (00:25 -0500)]
11168: Remove unused import.

7 years ago11168: Revert serialization change in order to avoid breaking job reuse.
Tom Clegg [Fri, 3 Mar 2017 05:17:43 +0000 (00:17 -0500)]
11168: Revert serialization change in order to avoid breaking job reuse.

7 years agoMerge branch 'master' into 11071-fts-perf-test
radhika [Thu, 2 Mar 2017 23:12:03 +0000 (18:12 -0500)]
Merge branch 'master' into 11071-fts-perf-test

7 years ago11017: Use count='none' for full text search on workbench.
radhika [Thu, 2 Mar 2017 22:53:12 +0000 (17:53 -0500)]
11017: Use count='none' for full text search on workbench.
Update groups.load_searchable_objects which is used by contents method
to work with multiple class types when count='none' is used.

7 years ago11168: Add missing require.
Tom Clegg [Wed, 1 Mar 2017 23:07:14 +0000 (18:07 -0500)]
11168: Add missing require.

7 years ago11168: Prohibit down-migration to YAML-only codebase.
Tom Clegg [Wed, 1 Mar 2017 22:59:33 +0000 (17:59 -0500)]
11168: Prohibit down-migration to YAML-only codebase.

7 years ago11168: Change db serialize from YAML to JSON.
Tom Clegg [Wed, 1 Mar 2017 21:09:05 +0000 (16:09 -0500)]
11168: Change db serialize from YAML to JSON.